Colibri provides a platform for smart building energy management. Semantics about the building, the building automation systems, other energy-consuming or energy-producing devices, and the environment are used to elaborate optimization strategies. Basically, simulation for the behaviour of the building automation system is performed. Simulation is done by designing individual components and their interconnection is then simulated using MATLAB Simulink. A Java-based connector is implemented in this project so as to link the simulation to the Colibri platform. This component(connector) should be able to read values from and write values to the running MATLAB Simulink simulation. These data exchanges are then sent to Colibri semantic core.