This paper presents the application of two model-based predictive control (MPC) algorithms on the cooling system of an office building. The two strategies discussed are a simple MPC, and an adaptive MPC algorithm connected to a model predictor. The cooling method used represents the air-conditioning unit of an HVAC system. The temperature of the building’s three rooms is controlled with fan coil units, based on the reference temperature and with different constraints applied. Furthermore, the building model is affected by dynamically changing interior and exterior heat sources, which we introduced into the controller as disturbances.