This report presents a simulation framework based on the ISO 13790 5R1C lumped capacitance building model for the evaluation of the energy savings potential of occupancy prediction algorithms. We show the derivation of the model parameters and introduce a new methodology to prepare weather data for simulating the energy consumption of a heating system when predictively controlling the thermostat.