In this case study, the energy performance of a secondary school building from the 1960s in Gävle, Sweden, was modelled in the building energy simulation (BES) tool IDA ICE version 4.8 prior to major renovation planning. The objectives of the study were to validate the BES model during both occupied and unoccupied periods, investigate how to model airing and varying occupancy behaviour, and finally investigate energy use to identify potential energy-efficiency measures. The BES model was validated by using field measurements and evidence-based input. Thermal bridges, infiltration, mechanical ventilation, domestic hot water circulation losses, and space heating power were calculated and measured. A backcasting method was developed to model heat losses due to airing, opening windows and doors, and other occupancy behaviour through regression analysis between daily heat power and outdoor temperature. Validation results show good agreement: 3.4% discrepancy between space heating measurements and simulations during an unoccupied week. Corresponding monthly discrepancy varied between 5.5% and 10.6% during three months with occupants. Annual simulation indicates that the best potential renovation measures are changing to efficient windows, improved envelope airtightness, new controls of the HVAC system, and increased external wall thermal insulation.