Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.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_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow",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.309/2.309, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001094/0.001094, allocations: 176.9 kB / 498.1 MB, free: 5.77 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.506/1.506, allocations: 223.1 MB / 0.7948 GB, free: 17.88 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.0009766/0.0009768, allocations: 92.33 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000363/0.0003631, allocations: 6.938 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.296, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1961/0.4922, allocations: 154.6 MB / 1.374 GB, free: 7.289 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.4925, allocations: 83.94 kB / 1.374 GB, free: 7.207 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.04948/0.542, allocations: 19.11 MB / 1.393 GB, free: 4.062 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.164e-06/0.542, allocations: 4 kB / 1.393 GB, free: 4.059 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001102/0.5421, allocations: 36 kB / 1.393 GB, free: 4.023 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.003755/0.5459, allocations: 1.53 MB / 1.394 GB, free: 2.43 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.546, allocations: 12.03 kB / 1.394 GB, free: 2.418 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000556/0.5465, allocations: 236 kB / 1.395 GB, free: 2.176 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000531/0.5471, allocations: 182.2 kB / 1.395 GB, free: 1.996 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.5483, allocations: 0.6765 MB / 1.395 GB, free: 1.277 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.5484, allocations: 123.1 kB / 1.395 GB, free: 1.156 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.5486, allocations: 160 kB / 1.396 GB, free: 1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/0.5511, allocations: 1.322 MB / 1.397 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.5512, allocations: 0 / 1.397 GB, free: 15.66 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.5513, allocations: 60 kB / 1.397 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/0.5513, allocations: 36 kB / 1.397 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00237/0.5537, allocations: 1.191 MB / 1.398 GB, free: 14.37 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006813/0.5605, allocations: 3.956 MB / 1.402 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/0.5627, allocations: 1.111 MB / 1.403 GB, free: 9.156 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.602e-05/0.5628, allocations: 16.62 kB / 1.403 GB, free: 9.141 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008861/0.5637, allocations: 424.3 kB / 1.404 GB, free: 8.715 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=73): time 3.597e-06/0.5637, allocations: 0 / 1.404 GB, free: 8.715 MB / 0.9011 GB Notification: Performance of matching and sorting (n=73): time 0.002451/0.5662, allocations: 1.079 MB / 1.405 GB, free: 7.629 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.244e-05/0.5662, allocations: 68 kB / 1.405 GB, free: 7.551 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.5674, allocations: 0.8475 MB / 1.405 GB, free: 6.684 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.848e-05/0.5675, allocations: 49.69 kB / 1.406 GB, free: 6.629 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005823/0.5681, allocations: 0.6354 MB / 1.406 GB, free: 5.984 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/0.5683, allocations: 244.6 kB / 1.406 GB, free: 5.742 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.362e-05/0.5684, allocations: 20 kB / 1.406 GB, free: 5.723 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.5685, allocations: 334 kB / 1.407 GB, free: 5.391 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008316/0.5694, allocations: 381.8 kB / 1.407 GB, free: 5.016 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009018/0.5703, allocations: 0.5009 MB / 1.408 GB, free: 4.48 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009086/0.5712, allocations: 448.5 kB / 1.408 GB, free: 4.039 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.5712, allocations: 0 / 1.408 GB, free: 4.039 MB / 0.9011 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002184/0.5734, allocations: 1.091 MB / 1.409 GB, free: 2.93 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 5.221e-05/0.5735, allocations: 34.8 kB / 1.409 GB, free: 2.891 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.5735, allocations: 4 kB / 1.409 GB, free: 2.887 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.5735, allocations: 4 kB / 1.409 GB, free: 2.883 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008302/0.5743, allocations: 199.7 kB / 1.409 GB, free: 2.688 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.5744, allocations: 7.984 kB / 1.409 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009834/0.5754, allocations: 214.7 kB / 1.41 GB, free: 2.469 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-05/0.5755, allocations: 31.98 kB / 1.41 GB, free: 2.438 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,zon3.occSen.y,zon2.occSen.y,zon1.occSen.y,$PRE.zon1.hys.y,zon1.hys.y,zon1.nOcc,$PRE.zon2.hys.y,zon2.hys.y,zon2.nOcc,$PRE.zon3.hys.y,zon3.hys.y,zon3.nOcc,$PRE.winSta1.y,winSta1.y,ahu1.yReqOutAir,ahu1.and1.u2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * 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.000636/0.5761, allocations: 289.7 kB / 1.41 GB, free: 2.145 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.5763, allocations: 106.6 kB / 1.41 GB, free: 2.039 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001828/0.5781, allocations: 0.8627 MB / 1.411 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.5781, allocations: 12 kB / 1.411 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.5781, allocations: 0 / 1.411 GB, free: 1.156 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.5782, allocations: 3.984 kB / 1.411 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004076/0.5822, allocations: 2.387 MB / 1.413 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.5823, allocations: 4 kB / 1.413 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006935/0.583, allocations: 164.5 kB / 1.413 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.515e-05/0.583, allocations: 12 kB / 1.413 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.998e-05/0.5831, allocations: 19.98 kB / 1.413 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-05/0.5831, allocations: 8 kB / 1.413 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.5831, allocations: 11.94 kB / 1.413 GB, free: 14.42 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/0.5851, allocations: 1.331 MB / 1.415 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000292/0.5854, allocations: 203.6 kB / 1.415 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.5856, allocations: 27.95 kB / 1.415 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000602/0.5862, allocations: 95.77 kB / 1.415 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/0.5864, allocations: 96.2 kB / 1.415 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.654e-05/0.5865, allocations: 27.98 kB / 1.415 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0009316/0.5874, allocations: 0.6492 MB / 1.416 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.9e-07/0.5874, allocations: 4 kB / 1.416 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0009778/0.5884, allocations: 275 kB / 1.416 GB, free: 11.49 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,zon1.hys.y,zon1.nOcc,zon2.hys.y,zon2.nOcc,zon3.hys.y,zon3.nOcc,winSta1.y) * Number of discrete states: 3 (zon3.hys.y,zon2.hys.y,zon1.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.003003/0.5914, allocations: 3.444 MB / 1.419 GB, free: 7.863 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002031/0.5935, allocations: 0.9186 MB / 1.42 GB, free: 6.938 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.5935, allocations: 0 / 1.42 GB, free: 6.938 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.5947, allocations: 0.5702 MB / 1.421 GB, free: 6.367 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008653/0.5956, allocations: 163.4 kB / 1.421 GB, free: 6.207 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005819/0.6014, allocations: 4.583 MB / 1.425 GB, free: 1.41 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008871/0.6024, allocations: 1.179 MB / 1.427 GB, free: 212 kB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.000631/0.603, allocations: 171.5 kB / 1.427 GB, free: 36 kB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.5257/1.129, allocations: 498.2 kB / 1.427 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of SimCode: time 1.272e-06/1.129, allocations: 1.688 kB / 1.427 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0449/1.174, allocations: 18.77 MB / 1.446 GB, free: 184 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/1.174, allocations: 243.6 kB / 1.446 GB, free: 183.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.626/3.8, allocations: 4.188 kB / 1.446 GB, free: 183.7 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_OutdoorAirFlow_Validation_OutdoorAirFlow.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.OutdoorAirFlow.Validation.OutdoorAirFlow_res.mat does not exist to compare? outputFormat=mat