Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_ASHRAE62_1_Validation_Setpoints",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_ASHRAE62_1_Validation_Setpoints",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.368/2.368, allocations: 390.3 MB / 402.8 MB, free: 6.676 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 161 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 221.3 MB / 0.7915 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008933/0.0008934, allocations: 95.89 kB / 0.9317 GB, free: 5.777 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.228e-05/3.231e-05, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3343, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.078/1.412, allocations: 153.9 MB / 1.369 GB, free: 288 kB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/1.413, allocations: 71.08 kB / 1.369 GB, free: 248 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07385/1.487, allocations: 28.32 MB / 1.397 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.633e-06/1.487, allocations: 0 / 1.397 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001533/1.487, allocations: 51.98 kB / 1.397 GB, free: 8.129 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 528 * Number of variables: 528 Notification: Performance of Generate backend data structure: time 0.004095/1.491, allocations: 1.896 MB / 1.399 GB, free: 6.301 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/1.491, allocations: 12.03 kB / 1.399 GB, free: 6.289 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004887/1.491, allocations: 283.8 kB / 1.399 GB, free: 6.129 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005283/1.492, allocations: 257 kB / 1.399 GB, free: 5.875 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002186/1.494, allocations: 1.069 MB / 1.4 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/1.494, allocations: 175 kB / 1.4 GB, free: 4.863 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002711/1.495, allocations: 211.6 kB / 1.401 GB, free: 4.723 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003305/1.498, allocations: 1.784 MB / 1.402 GB, free: 3.508 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.371e-05/1.498, allocations: 0 / 1.402 GB, free: 3.508 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001526/1.498, allocations: 87.94 kB / 1.403 GB, free: 3.488 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.416e-05/1.498, allocations: 51.95 kB / 1.403 GB, free: 3.438 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002534/1.501, allocations: 1.32 MB / 1.404 GB, free: 2.59 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01025/1.511, allocations: 5.077 MB / 1.409 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002817/1.514, allocations: 1.355 MB / 1.41 GB, free: 13.78 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007489/1.515, allocations: 411.4 kB / 1.411 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.527e-05/1.515, allocations: 16.98 kB / 1.411 GB, free: 13.53 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001059/1.516, allocations: 0.6175 MB / 1.411 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=120): time 4.218e-06/1.516, allocations: 0 / 1.411 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of matching and sorting (n=120): time 0.00202/1.518, allocations: 0.9077 MB / 1.412 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001849/1.518, allocations: 274 kB / 1.412 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002099/1.52, allocations: 1.253 MB / 1.414 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002186/1.52, allocations: 61.7 kB / 1.414 GB, free: 10.89 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009648/1.521, allocations: 0.8465 MB / 1.414 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004074/1.522, allocations: 370.7 kB / 1.415 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.368e-05/1.522, allocations: 28 kB / 1.415 GB, free: 9.645 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002106/1.522, allocations: 349.9 kB / 1.415 GB, free: 9.297 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008153/1.523, allocations: 410.5 kB / 1.416 GB, free: 8.895 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009362/1.524, allocations: 0.5704 MB / 1.416 GB, free: 8.273 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008212/1.525, allocations: 448.3 kB / 1.417 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/1.525, allocations: 0 / 1.417 GB, free: 7.828 MB / 0.8698 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002398/1.527, allocations: 1.233 MB / 1.418 GB, free: 6.574 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.694e-05/1.527, allocations: 76.73 kB / 1.418 GB, free: 6.488 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/1.527, allocations: 7.891 kB / 1.418 GB, free: 6.48 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.819e-05/1.527, allocations: 8 kB / 1.418 GB, free: 6.473 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009901/1.528, allocations: 223.8 kB / 1.418 GB, free: 6.254 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/1.528, allocations: 4 kB / 1.418 GB, free: 6.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/1.53, allocations: 302.2 kB / 1.418 GB, free: 5.953 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/1.53, allocations: 47.98 kB / 1.418 GB, free: 5.906 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noSenZon.notOccMod.y,noSenZon.modAreBreAir.u2,$PRE.noSenZon.cooSup.greHys.y,noSenZon.cooSup.greHys.y,winSenZon.notOccMod.y,winSenZon.modAreBreAir.u2,$PRE.winSenZon.cooSup.greHys.y,winSenZon.cooSup.greHys.y,occSenZon.notOccMod.y,occSenZon.modAreBreAir.u2,$PRE.occSenZon.cooSup.greHys.y,occSenZon.cooSup.greHys.y,co2SenZon.notOccMod.y,co2SenZon.modAreBreAir.u2,$PRE.co2SenZon.cooSup.greHys.y,co2SenZon.cooSup.greHys.y,co2SenZonParFan.notOccMod.y,co2SenZonParFan.modAreBreAir.u2,$PRE.co2SenZonParFan.cooSup.greHys.y,co2SenZonParFan.cooSup.greHys.y,co2SenZonParFan.uZonSta,co2SenZonParFan.inCooSta.y,co2SenSZVAV.notOccMod.y,co2SenSZVAV.modAreBreAir.u2,$PRE.co2SenSZVAV.cooSup.greHys.y,co2SenSZVAV.cooSup.greHys.y,booToInt.u,booToInt.y,$PRE.winSta.y,winSta.y,$PRE.occSta.y,occSta.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003527/1.53, allocations: 197.3 kB / 1.419 GB, free: 5.707 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003087/1.531, allocations: 173.8 kB / 1.419 GB, free: 5.535 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002346/1.533, allocations: 1.027 MB / 1.42 GB, free: 4.488 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/1.533, allocations: 19.89 kB / 1.42 GB, free: 4.469 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.004e-06/1.533, allocations: 4 kB / 1.42 GB, free: 4.465 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/1.533, allocations: 11.97 kB / 1.42 GB, free: 4.453 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00489/1.538, allocations: 2.87 MB / 1.423 GB, free: 1.473 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.968e-06/1.538, allocations: 4.062 kB / 1.423 GB, free: 1.469 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008431/1.539, allocations: 211.6 kB / 1.423 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.731e-05/1.539, allocations: 8 kB / 1.423 GB, free: 1.254 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.384e-05/1.539, allocations: 31.98 kB / 1.423 GB, free: 1.223 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.216e-05/1.539, allocations: 15.89 kB / 1.423 GB, free: 1.207 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.888e-06/1.539, allocations: 11.94 kB / 1.423 GB, free: 1.195 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/1.541, allocations: 1.465 MB / 1.424 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004241/1.542, allocations: 266.7 kB / 1.424 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/1.542, allocations: 43.98 kB / 1.425 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008312/1.543, allocations: 131.9 kB / 1.425 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000337/1.543, allocations: 176.4 kB / 1.425 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.56e-05/1.543, allocations: 39.98 kB / 1.425 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001427/1.545, allocations: 0.9186 MB / 1.426 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/1.545, allocations: 0 / 1.426 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001176/1.546, allocations: 351 kB / 1.426 GB, free: 13.62 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noSenZon.notOccMod.y,noSenZon.modAreBreAir.u2,noSenZon.cooSup.greHys.y,winSenZon.notOccMod.y,winSenZon.modAreBreAir.u2,winSenZon.cooSup.greHys.y,occSenZon.notOccMod.y,occSenZon.modAreBreAir.u2,occSenZon.cooSup.greHys.y,co2SenZon.notOccMod.y,co2SenZon.modAreBreAir.u2,co2SenZon.cooSup.greHys.y,co2SenZonParFan.notOccMod.y,co2SenZonParFan.modAreBreAir.u2,co2SenZonParFan.cooSup.greHys.y,co2SenZonParFan.uZonSta,co2SenZonParFan.inCooSta.y,co2SenSZVAV.notOccMod.y,co2SenSZVAV.modAreBreAir.u2,co2SenSZVAV.cooSup.greHys.y,booToInt.u,booToInt.y,winSta.y,occSta.y) * Number of discrete states: 6 (co2SenSZVAV.cooSup.greHys.y,co2SenZonParFan.cooSup.greHys.y,co2SenZon.cooSup.greHys.y,occSenZon.cooSup.greHys.y,winSenZon.cooSup.greHys.y,noSenZon.cooSup.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003002/1.549, allocations: 3.201 MB / 1.429 GB, free: 10.28 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002338/1.551, allocations: 1.107 MB / 1.43 GB, free: 9.152 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/1.551, allocations: 0 / 1.43 GB, free: 9.152 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001138/1.552, allocations: 0.5522 MB / 1.431 GB, free: 8.602 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/1.553, allocations: 153.5 kB / 1.431 GB, free: 8.453 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005135/1.559, allocations: 2.319 MB / 1.433 GB, free: 6.031 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/1.56, allocations: 1.357 MB / 1.435 GB, free: 4.645 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0007082/1.56, allocations: 175.3 kB / 1.435 GB, free: 4.469 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/1.561, allocations: 0.7414 MB / 1.435 GB, free: 3.727 MB / 0.8855 GB Notification: Performance of SimCode: time 1.332e-06/1.561, allocations: 0 / 1.435 GB, free: 3.727 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05976/1.621, allocations: 26.72 MB / 1.462 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/1.621, allocations: 191.6 kB / 1.462 GB, free: 9.125 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.949/4.57, allocations: 4.062 kB / 1.462 GB, free: 9.121 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_ASHRAE62_1_Validation_Setpoints_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_ASHRAE62_1_Validation_Setpoints.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints_res.mat does not exist to compare? outputFormat=mat