To run the simulation. Either launch cooja with the simulation All.csc or create a new simulation with a mote compiled with root.c and one or severeal motes compiled either with lamp.c, barometer.c, door_lock.c or movement_detector.c.
Use the filter Root|Lamp|Barometer|Lock|Detector|Protocol
to see the relevant logs in cooja.