Open up Settings panel of Sim 4 and select Other. From there, just uncheck the Online Access option and you'll play the game offline.