I placed the model files in the ~/.gazebo/models directory and changed the code in the .world file to:
<include>

Its working fine now. However I still don't know how to provide a reference to models which are not in the ~/.gazeo/models directory.