Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.438/2.438, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001164/0.001164, allocations: 177.1 kB / 498.1 MB, free: 5.727 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.2 MB / 0.7948 GB, free: 17.93 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.0008666/0.0008667, allocations: 99.94 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005044/0.0005046, allocations: 6.688 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.272, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1827/0.4548, allocations: 153.1 MB / 1.372 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/0.4551, allocations: 71.95 kB / 1.373 GB, free: 8.758 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.07012/0.5252, allocations: 28.23 MB / 1.4 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.284e-06/0.5253, allocations: 0 / 1.4 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001915/0.5255, allocations: 51.98 kB / 1.4 GB, free: 12.44 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.004552/0.53, allocations: 2.041 MB / 1.402 GB, free: 10.32 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.5301, allocations: 12.02 kB / 1.402 GB, free: 10.31 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005447/0.5306, allocations: 291.6 kB / 1.402 GB, free: 10.01 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005436/0.5312, allocations: 253 kB / 1.403 GB, free: 9.762 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/0.5333, allocations: 1.064 MB / 1.404 GB, free: 8.637 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.5335, allocations: 176.1 kB / 1.404 GB, free: 8.461 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002993/0.5338, allocations: 212 kB / 1.404 GB, free: 8.254 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003427/0.5372, allocations: 1.876 MB / 1.406 GB, free: 6.305 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/0.5373, allocations: 0 / 1.406 GB, free: 6.305 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.5374, allocations: 95.98 kB / 1.406 GB, free: 6.211 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.906e-05/0.5375, allocations: 51.95 kB / 1.406 GB, free: 6.16 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0031/0.5406, allocations: 1.48 MB / 1.408 GB, free: 4.664 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009667/0.5503, allocations: 5.053 MB / 1.412 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003145/0.5534, allocations: 1.439 MB / 1.414 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.138e-05/0.5536, allocations: 16.98 kB / 1.414 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001407/0.555, allocations: 0.6941 MB / 1.415 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=120): time 3.737e-06/0.555, allocations: 0 / 1.415 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of matching and sorting (n=120): time 0.003189/0.5582, allocations: 1.459 MB / 1.416 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/0.5584, allocations: 274 kB / 1.416 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002098/0.5605, allocations: 1.278 MB / 1.417 GB, free: 10.22 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001614/0.5606, allocations: 57.7 kB / 1.418 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008479/0.5615, allocations: 0.8466 MB / 1.418 GB, free: 9.301 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003475/0.5619, allocations: 366.7 kB / 1.419 GB, free: 8.938 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.562, allocations: 28 kB / 1.419 GB, free: 8.91 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.5622, allocations: 353.9 kB / 1.419 GB, free: 8.559 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/0.5633, allocations: 482.4 kB / 1.42 GB, free: 8.086 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/0.5645, allocations: 0.6483 MB / 1.42 GB, free: 7.391 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.5656, allocations: 0.5211 MB / 1.421 GB, free: 6.859 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.5656, allocations: 0 / 1.421 GB, free: 6.859 MB / 0.9167 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002902/0.5685, allocations: 1.389 MB / 1.422 GB, free: 5.449 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 7.19e-05/0.5686, allocations: 72.48 kB / 1.422 GB, free: 5.367 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.5686, allocations: 0 / 1.422 GB, free: 5.367 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.5687, allocations: 8 kB / 1.422 GB, free: 5.359 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009304/0.5696, allocations: 227.7 kB / 1.422 GB, free: 5.137 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.015e-05/0.5696, allocations: 11.89 kB / 1.422 GB, free: 5.125 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.5711, allocations: 310.2 kB / 1.423 GB, free: 4.82 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.5713, allocations: 43.98 kB / 1.423 GB, free: 4.777 MB / 0.9167 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 () * Number of clocked 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.0009648/0.5722, allocations: 351 kB / 1.423 GB, free: 4.426 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003567/0.5726, allocations: 169.8 kB / 1.423 GB, free: 4.258 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002802/0.5754, allocations: 1.187 MB / 1.424 GB, free: 3.059 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/0.5754, allocations: 19.98 kB / 1.424 GB, free: 3.039 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.5755, allocations: 0 / 1.424 GB, free: 3.039 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.293e-05/0.5755, allocations: 7.938 kB / 1.424 GB, free: 3.031 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.607/1.182, allocations: 3.018 MB / 1.427 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/1.183, allocations: 7.125 kB / 1.427 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/1.184, allocations: 211 kB / 1.428 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-05/1.184, allocations: 8.156 kB / 1.428 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.711e-05/1.184, allocations: 27.89 kB / 1.428 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.911e-05/1.184, allocations: 14 kB / 1.428 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/1.184, allocations: 4.688 kB / 1.428 GB, free: 179.7 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002621/1.186, allocations: 1.613 MB / 1.429 GB, free: 179.1 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004102/1.187, allocations: 277.7 kB / 1.429 GB, free: 179 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/1.187, allocations: 37.14 kB / 1.429 GB, free: 179 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008053/1.188, allocations: 136.2 kB / 1.43 GB, free: 179 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003919/1.188, allocations: 169.2 kB / 1.43 GB, free: 179 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.993e-05/1.188, allocations: 40.3 kB / 1.43 GB, free: 179 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001559/1.19, allocations: 0.9391 MB / 1.431 GB, free: 178.9 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.482e-06/1.19, allocations: 2.562 kB / 1.431 GB, free: 178.9 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001134/1.191, allocations: 356.4 kB / 1.431 GB, free: 178.9 MB / 0.9167 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) * Number of clocked states: 0 () * 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.003532/1.195, allocations: 3.341 MB / 1.434 GB, free: 176.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003095/1.198, allocations: 1.26 MB / 1.436 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.198, allocations: 0.9688 kB / 1.436 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001556/1.199, allocations: 0.6357 MB / 1.436 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/1.2, allocations: 147.5 kB / 1.436 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006426/1.207, allocations: 5.179 MB / 1.441 GB, free: 173 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/1.208, allocations: 1.353 MB / 1.443 GB, free: 172.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0007661/1.209, allocations: 174.1 kB / 1.443 GB, free: 172.3 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009476/1.21, allocations: 0.7336 MB / 1.444 GB, free: 172.3 MB / 0.9167 GB Notification: Performance of SimCode: time 1.152e-06/1.21, allocations: 0 / 1.444 GB, free: 172.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05565/1.265, allocations: 26.17 MB / 1.469 GB, free: 170.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/1.266, allocations: 229.4 kB / 1.469 GB, free: 170.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.978/4.244, allocations: 0 / 1.469 GB, free: 170.5 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_ASHRAE62_1_Validation_Setpoints_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_VentilationZones_ASHRAE62_1_Validation_Setpoints.fmu > Buildings_9_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_9_Buildings.Controls.OBC.ASHRAE.G36.VentilationZones.ASHRAE62_1.Validation.Setpoints_res.mat does not exist to compare? outputFormat=mat