{ "id": "single-software-execution--cli--openstudio--task-20--ubuntu", "snapshot": "OpenStudio-1.11.0", "instruction": "Organize /home/user/Desktop/init.osm in the opened OpenStudio application using its CLI/API automation interface, and save the updated model as /home/user/Desktop/result.osm. Before starting the work, use `/usr/local/openstudioapplication-1.11.0-rc2/bin/openstudio` for OpenStudio CLI or API automation when working on `init.osm`. Do not directly create, rewrite, patch, copy, or post-process OSM text outside the OpenStudio environment. The current model is a two-story campus mixed-use building whose flat roof, south horizontal shading, and regular bay rhythm define the architectural order. The school wants it to become a comprehensive energy-retrofit prototype. Preserve the stacked floors and long-facade rhythm, organize office, learning, laboratory, and support spaces, and add south daylight control, roof photovoltaics, water use, exterior lighting, envelope constructions, and key energy reporting. The added systems should support the overall retrofit goal rather than read as isolated objects. Deliver only the updated OpenStudio model file; object handles, serialization order, and automatically generated metadata may vary naturally. The completed model must meet the following exact specification (SI units; geometry coordinates and lengths are metres; areas are square metres; names are exact): {\"building\":\"CLI Campus Capstone\",\"stories\":[{\"name\":\"01_CAMPUS\",\"z\":0},{\"name\":\"02_CAMPUS\",\"z\":3.6}],\"spaces\":[{\"name\":\"T20-L1-WEST\",\"zone\":\"T20-L1-WEST Zone\",\"x0\":0,\"y0\":0,\"x1\":6,\"y1\":18,\"z0\":0,\"h\":3.6,\"story\":\"01_CAMPUS\",\"space_type\":\"TASK20 Office Type\",\"heat\":20,\"cool\":25,\"ideal\":true},{\"name\":\"T20-L1-CENTER-SOUTH\",\"zone\":\"T20-L1-CENTER-SOUTH Zone\",\"x0\":6,\"y0\":0,\"x1\":12,\"y1\":18,\"z0\":0,\"h\":3.6,\"story\":\"01_CAMPUS\",\"space_type\":\"TASK20 Learning Type\",\"heat\":20,\"cool\":25,\"ideal\":true},{\"name\":\"T20-L1-CENTER-NORTH\",\"zone\":\"T20-L1-CENTER-NORTH Zone\",\"x0\":12,\"y0\":0,\"x1\":18,\"y1\":18,\"z0\":0,\"h\":3.6,\"story\":\"01_CAMPUS\",\"space_type\":\"TASK20 Office Type\",\"heat\":20,\"cool\":25,\"ideal\":true},{\"name\":\"T20-L1-EAST-SOUTH\",\"zone\":\"T20-L1-EAST-SOUTH Zone\",\"x0\":18,\"y0\":0,\"x1\":24,\"y1\":18,\"z0\":0,\"h\":3.6,\"story\":\"01_CAMPUS\",\"space_type\":\"TASK20 Lab Type\",\"heat\":20,\"cool\":25,\"ideal\":true},{\"name\":\"T20-L1-EAST-NORTH\",\"zone\":\"T20-L1-EAST-NORTH Zone\",\"x0\":24,\"y0\":0,\"x1\":30,\"y1\":18,\"z0\":0,\"h\":3.6,\"story\":\"01_CAMPUS\",\"space_type\":\"TASK20 Support Type\",\"heat\":16,\"cool\":30,\"ideal\":true},{\"name\":\"T20-L2-WEST\",\"zone\":\"T20-L2-WEST Zone\",\"x0\":0,\"y0\":0,\"x1\":6,\"y1\":18,\"z0\":3.6,\"h\":3.6,\"story\":\"02_CAMPUS\",\"space_type\":\"TASK20 Office Type\",\"heat\":20,\"cool\":25,\"ideal\":true},{\"name\":\"T20-L2-CENTER-SOUTH\",\"zone\":\"T20-L2-CENTER-SOUTH Zone\",\"x0\":6,\"y0\":0,\"x1\":12,\"y1\":18,\"z0\":3.6,\"h\":3.6,\"story\":\"02_CAMPUS\",\"space_type\":\"TASK20 Learning Type\",\"heat\":20,\"cool\":25,\"ideal\":true},{\"name\":\"T20-L2-CENTER-NORTH\",\"zone\":\"T20-L2-CENTER-NORTH Zone\",\"x0\":12,\"y0\":0,\"x1\":18,\"y1\":18,\"z0\":3.6,\"h\":3.6,\"story\":\"02_CAMPUS\",\"space_type\":\"TASK20 Office Type\",\"heat\":20,\"cool\":25,\"ideal\":true},{\"name\":\"T20-L2-EAST-SOUTH\",\"zone\":\"T20-L2-EAST-SOUTH Zone\",\"x0\":18,\"y0\":0,\"x1\":24,\"y1\":18,\"z0\":3.6,\"h\":3.6,\"story\":\"02_CAMPUS\",\"space_type\":\"TASK20 Lab Type\",\"heat\":20,\"cool\":25,\"ideal\":true},{\"name\":\"T20-L2-EAST-NORTH\",\"zone\":\"T20-L2-EAST-NORTH Zone\",\"x0\":24,\"y0\":0,\"x1\":30,\"y1\":18,\"z0\":3.6,\"h\":3.6,\"story\":\"02_CAMPUS\",\"space_type\":\"TASK20 Support Type\",\"heat\":16,\"cool\":30,\"ideal\":true}],\"ruleset_schedules\":{\"TASK20 Occupancy Ruleset\":{\"default\":[[6,0.04],[8,0.78],[12,0.58],[13,0.86],[19,0.1],[24,0.04]],\"rules\":[{\"name\":\"TASK20 Occupancy Saturday\",\"days\":[\"Saturday\"],\"values\":[[8,0.04],[12,0.35],[17,0.18],[24,0.04]]},{\"name\":\"TASK20 Occupancy Sunday\",\"days\":[\"Sunday\"],\"values\":[[24,0.02]]}]}},\"constant_schedules\":{\"TASK20 Lighting Schedule\":0.82,\"TASK20 Equipment Schedule\":0.88,\"TASK20 OA Schedule\":1,\"TASK20 Infiltration Schedule\":1,\"TASK20 Water Flow Schedule\":0.42,\"TASK20 Water Target Temp\":44,\"TASK20 Exterior Lighting Schedule\":0.6},\"space_types\":{\"TASK20 Office Type\":{\"people\":0.045,\"people_schedule\":\"TASK20 Occupancy Ruleset\",\"lights\":7.8,\"lights_schedule\":\"TASK20 Lighting Schedule\",\"equipment\":9,\"equipment_schedule\":\"TASK20 Equipment Schedule\"},\"TASK20 Learning Type\":{\"people\":0.055,\"people_schedule\":\"TASK20 Occupancy Ruleset\",\"lights\":9.5,\"lights_schedule\":\"TASK20 Lighting Schedule\",\"equipment\":7,\"equipment_schedule\":\"TASK20 Equipment Schedule\"},\"TASK20 Lab Type\":{\"people\":0.03,\"people_schedule\":\"TASK20 Occupancy Ruleset\",\"lights\":10.5,\"lights_schedule\":\"TASK20 Lighting Schedule\",\"equipment\":20,\"equipment_schedule\":\"TASK20 Equipment Schedule\"},\"TASK20 Support Type\":{\"people\":0.006,\"people_schedule\":\"TASK20 Occupancy Ruleset\",\"lights\":4,\"lights_schedule\":\"TASK20 Lighting Schedule\",\"equipment\":2.5,\"equipment_schedule\":\"TASK20 Equipment Schedule\"}},\"windows\":[{\"space\":\"T20-L1-WEST\",\"wall\":\"south\",\"start\":1,\"end\":5,\"sill\":0.9,\"head\":2.7,\"name\":\"T20-L1-WEST South FixedWindow\"},{\"space\":\"T20-L1-WEST\",\"wall\":\"north\",\"start\":1,\"end\":5,\"sill\":1,\"head\":2.5,\"name\":\"T20-L1-WEST North FixedWindow\"},{\"space\":\"T20-L1-CENTER-SOUTH\",\"wall\":\"south\",\"start\":7,\"end\":11,\"sill\":0.9,\"head\":2.7,\"name\":\"T20-L1-CENTER-SOUTH South FixedWindow\"},{\"space\":\"T20-L1-CENTER-SOUTH\",\"wall\":\"north\",\"start\":7,\"end\":11,\"sill\":1,\"head\":2.5,\"name\":\"T20-L1-CENTER-SOUTH North FixedWindow\"},{\"space\":\"T20-L1-CENTER-NORTH\",\"wall\":\"south\",\"start\":13,\"end\":17,\"sill\":0.9,\"head\":2.7,\"name\":\"T20-L1-CENTER-NORTH South FixedWindow\"},{\"space\":\"T20-L1-CENTER-NORTH\",\"wall\":\"north\",\"start\":13,\"end\":17,\"sill\":1,\"head\":2.5,\"name\":\"T20-L1-CENTER-NORTH North FixedWindow\"},{\"space\":\"T20-L1-EAST-SOUTH\",\"wall\":\"south\",\"start\":19,\"end\":23,\"sill\":0.9,\"head\":2.7,\"name\":\"T20-L1-EAST-SOUTH South FixedWindow\"},{\"space\":\"T20-L1-EAST-SOUTH\",\"wall\":\"north\",\"start\":19,\"end\":23,\"sill\":1,\"head\":2.5,\"name\":\"T20-L1-EAST-SOUTH North FixedWindow\"},{\"space\":\"T20-L1-EAST-NORTH\",\"wall\":\"south\",\"start\":25,\"end\":29,\"sill\":0.9,\"head\":2.7,\"name\":\"T20-L1-EAST-NORTH South FixedWindow\"},{\"space\":\"T20-L1-EAST-NORTH\",\"wall\":\"north\",\"start\":25,\"end\":29,\"sill\":1,\"head\":2.5,\"name\":\"T20-L1-EAST-NORTH North FixedWindow\"},{\"space\":\"T20-L1-WEST\",\"wall\":\"west\",\"start\":4,\"end\":14,\"sill\":1,\"head\":2.5,\"name\":\"T20-L1-WEST West FixedWindow\"},{\"space\":\"T20-L1-EAST-NORTH\",\"wall\":\"east\",\"start\":4,\"end\":14,\"sill\":1,\"head\":2.5,\"name\":\"T20-L1-EAST-NORTH East FixedWindow\"},{\"space\":\"T20-L2-WEST\",\"wall\":\"south\",\"start\":1,\"end\":5,\"sill\":0.9,\"head\":2.7,\"name\":\"T20-L2-WEST South FixedWindow\"},{\"space\":\"T20-L2-WEST\",\"wall\":\"north\",\"start\":1,\"end\":5,\"sill\":1,\"head\":2.5,\"name\":\"T20-L2-WEST North FixedWindow\"},{\"space\":\"T20-L2-CENTER-SOUTH\",\"wall\":\"south\",\"start\":7,\"end\":11,\"sill\":0.9,\"head\":2.7,\"name\":\"T20-L2-CENTER-SOUTH South FixedWindow\"},{\"space\":\"T20-L2-CENTER-SOUTH\",\"wall\":\"north\",\"start\":7,\"end\":11,\"sill\":1,\"head\":2.5,\"name\":\"T20-L2-CENTER-SOUTH North FixedWindow\"},{\"space\":\"T20-L2-CENTER-NORTH\",\"wall\":\"south\",\"start\":13,\"end\":17,\"sill\":0.9,\"head\":2.7,\"name\":\"T20-L2-CENTER-NORTH South FixedWindow\"},{\"space\":\"T20-L2-CENTER-NORTH\",\"wall\":\"north\",\"start\":13,\"end\":17,\"sill\":1,\"head\":2.5,\"name\":\"T20-L2-CENTER-NORTH North FixedWindow\"},{\"space\":\"T20-L2-EAST-SOUTH\",\"wall\":\"south\",\"start\":19,\"end\":23,\"sill\":0.9,\"head\":2.7,\"name\":\"T20-L2-EAST-SOUTH South FixedWindow\"},{\"space\":\"T20-L2-EAST-SOUTH\",\"wall\":\"north\",\"start\":19,\"end\":23,\"sill\":1,\"head\":2.5,\"name\":\"T20-L2-EAST-SOUTH North FixedWindow\"},{\"space\":\"T20-L2-EAST-NORTH\",\"wall\":\"south\",\"start\":25,\"end\":29,\"sill\":0.9,\"head\":2.7,\"name\":\"T20-L2-EAST-NORTH South FixedWindow\"},{\"space\":\"T20-L2-EAST-NORTH\",\"wall\":\"north\",\"start\":25,\"end\":29,\"sill\":1,\"head\":2.5,\"name\":\"T20-L2-EAST-NORTH North FixedWindow\"},{\"space\":\"T20-L2-WEST\",\"wall\":\"west\",\"start\":4,\"end\":14,\"sill\":1,\"head\":2.5,\"name\":\"T20-L2-WEST West FixedWindow\"},{\"space\":\"T20-L2-EAST-NORTH\",\"wall\":\"east\",\"start\":4,\"end\":14,\"sill\":1,\"head\":2.5,\"name\":\"T20-L2-EAST-NORTH East FixedWindow\"}],\"shading\":[{\"name\":\"TASK20 South Level 1 Overhang\",\"x0\":1,\"x1\":29,\"y0\":-1,\"y1\":0,\"z\":3},{\"name\":\"TASK20 South Level 2 Overhang\",\"x0\":1,\"x1\":29,\"y0\":-1,\"y1\":0,\"z\":6.6}],\"infiltration\":{\"all\":{\"flow_per_exterior_area\":0.00021,\"schedule\":\"TASK20 Infiltration Schedule\"}},\"outdoor_air\":{\"all\":{\"per_person\":0.009,\"per_floor_area\":0.0007,\"schedule\":\"TASK20 OA Schedule\"}},\"daylighting\":[{\"space\":\"T20-L1-CENTER-SOUTH\",\"point\":[9,4.5,0.8],\"setpoint\":500,\"map_origin\":[6.5,0.5,0.8],\"map_lengths\":[5,17],\"map_grid\":[6,12]},{\"space\":\"T20-L1-EAST-SOUTH\",\"point\":[21,4.5,0.8],\"setpoint\":500,\"map_origin\":[18.5,0.5,0.8],\"map_lengths\":[5,17],\"map_grid\":[6,12]},{\"space\":\"T20-L2-CENTER-SOUTH\",\"point\":[9,4.5,4.4],\"setpoint\":450,\"map_origin\":[6.5,0.5,4.4],\"map_lengths\":[5,17],\"map_grid\":[6,12]},{\"space\":\"T20-L2-EAST-SOUTH\",\"point\":[21,4.5,4.4],\"setpoint\":450,\"map_origin\":[18.5,0.5,4.4],\"map_lengths\":[5,17],\"map_grid\":[6,12]}],\"water_use\":[{\"name\":\"TASK20 Support Water Use\",\"space\":\"T20-L1-EAST-NORTH\",\"peak_flow\":0.00016,\"flow_schedule\":\"TASK20 Water Flow Schedule\",\"target_temp_schedule\":\"TASK20 Water Target Temp\",\"end_use\":\"Support Sinks\"}],\"exterior_lights\":[{\"name\":\"TASK20 Campus Exterior Lights\",\"design_level\":900,\"schedule\":\"TASK20 Exterior Lighting Schedule\",\"control\":\"ScheduleNameOnly\"}],\"pv\":{\"distribution\":\"TASK20 Campus PV Load Center\",\"operation\":\"Baseload\",\"bus\":\"DirectCurrentWithInverter\",\"inverter\":{\"name\":\"TASK20 PVWatts Inverter\",\"dc_to_ac\":1.2,\"efficiency\":0.96},\"generators\":[{\"name\":\"TASK20 Upper Roof PVWatts\",\"surface_space\":\"T20-L2-CENTER-NORTH\",\"surface\":\"roof\",\"capacity\":30000,\"module\":\"Premium\",\"array\":\"FixedOpenRack\",\"losses\":0.1,\"azimuth\":180}]},\"output_variables\":[{\"name\":\"TASK20 Zone Air Temp Output\",\"variable\":\"Zone Mean Air Temperature\",\"key\":\"*\",\"frequency\":\"Hourly\"}],\"output_meters\":[{\"name\":\"Electricity:Facility\",\"frequency\":\"Monthly\"},{\"name\":\"NaturalGas:Facility\",\"frequency\":\"Monthly\"},{\"name\":\"WaterSystems:Water\",\"frequency\":\"Monthly\"}],\"constructions\":{\"wall\":{\"name\":\"TASK20 Campus Wall Construction\",\"layers\":[{\"name\":\"TASK20 Campus Board\",\"thickness\":0.013,\"conductivity\":0.16,\"density\":800,\"specific_heat\":1090},{\"name\":\"TASK20 Campus Insulation\",\"thickness\":0.14,\"conductivity\":0.037,\"density\":34,\"specific_heat\":840}]},\"roof\":{\"name\":\"TASK20 Campus Roof Construction\",\"layers\":[{\"name\":\"TASK20 Campus Roof Deck\",\"thickness\":0.018,\"conductivity\":0.2,\"density\":900,\"specific_heat\":1200},{\"name\":\"TASK20 Campus Roof Insulation\",\"thickness\":0.18,\"conductivity\":0.032,\"density\":32,\"specific_heat\":1400}]},\"floor\":{\"name\":\"TASK20 Campus Slab Construction\",\"layers\":[{\"name\":\"TASK20 Campus Concrete\",\"thickness\":0.16,\"conductivity\":1.45,\"density\":2250,\"specific_heat\":880}]},\"window\":{\"name\":\"TASK20 Campus Glazing Construction\",\"u_factor\":1.35,\"shgc\":0.28,\"vt\":0.5}},\"metrics\":{\"bbox\":[30,18,7.2],\"floor_area\":1080,\"exterior_wall_area\":691.2,\"surface_count\":60,\"space_count\":10,\"zone_count\":10,\"story_count\":2,\"window_count\":24,\"window_area\":192,\"shading_count\":2,\"shading_area\":56,\"paired_surface_count\":26,\"ground_floor_count\":5}}. Each daylighting control and illuminance map must be assigned to the named space's thermal zone as the primary control/map with a nonzero controlled fraction. Assign the named wall, roof, floor, and glazing constructions to the corresponding actual exterior surfaces and windows; creating unassigned construction objects is not sufficient. Attach each PVWatts generator to its specified roof surface, include every generator in the named load center's generator list, and connect the named inverter to that load center. In OpenStudio surface-attached PVWatts mode, array tilt is inherited from the supporting planar surface and is not an independent required field.", "source": "OpenStudio CLI / SDK automation interface", "config": [ { "type": "upload_file", "parameters": { "files": [ { "local_path": "task-20/init_file/init.osm", "path": "/home/user/Desktop/init.osm" } ] } }, { "type": "launch", "parameters": { "command": [ "OpenStudioApp", "/home/user/Desktop/init.osm" ] } } ], "trajectory": "trajectories/", "related_apps": [ "openstudio" ], "artifact_paths": [ "/home/user/Desktop/result.osm" ], "evaluator": { "postconfig": [ { "type": "upload_file", "parameters": { "files": [ { "local_path": "task-20/eval.py", "path": "/home/user/Desktop/eval.py" } ] } } ], "func": "exact_match", "result": { "type": "vm_command_line", "command": "python3 /home/user/Desktop/eval.py", "shell": "true" }, "expected": { "type": "rule", "rules": { "expected": "True\n" } } }, "proxy": false, "fixed_ip": false, "possibility_of_env_change": "low" }