Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.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: translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTSupSet.uZonTemResReq|conTSupSet.u1SupFan|conTSupSet.uOpeMod|conTSupSet.maxSupTemRes.y|conTSupSet.TOut|conTSupSet.TAirSupSet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTSupSet.uZonTemResReq|conTSupSet.u1SupFan|conTSupSet.uOpeMod|conTSupSet.maxSupTemRes.y|conTSupSet.TOut|conTSupSet.TAirSupSet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.72/1.72, allocations: 390.4 MB / 397.7 MB, free: 11.21 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.0009146/0.0009146, allocations: 190.6 kB / 490.8 MB, free: 1.887 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.066/1.066, allocations: 221.3 MB / 0.7863 GB, free: 13.61 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.0008002/0.0008003, allocations: 88.72 kB / 0.9264 GB, free: 14.13 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.182e-06/6.182e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1662, allocations: 143 MB / 1.212 GB, free: 39.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4562/0.6225, allocations: 153.6 MB / 1.362 GB, free: 17.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.6228, allocations: 81.23 kB / 1.362 GB, free: 17.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02584/0.6486, allocations: 11.42 MB / 1.373 GB, free: 16.86 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.874e-05/0.6487, allocations: 13.66 kB / 1.373 GB, free: 16.86 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001291/0.65, allocations: 0.8996 MB / 1.374 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.65, allocations: 8.875 kB / 1.374 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.6502, allocations: 88.11 kB / 1.374 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005358/0.6507, allocations: 472.6 kB / 1.374 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.98e-05/0.6507, allocations: 27.78 kB / 1.374 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.751e-05/0.6508, allocations: 53.14 kB / 1.374 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007114/0.6516, allocations: 430.8 kB / 1.375 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007746/0.6523, allocations: 481 kB / 1.375 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.6524, allocations: 3.906 kB / 1.375 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/0.6524, allocations: 2.906 kB / 1.375 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.6524, allocations: 20.17 kB / 1.375 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002546/0.655, allocations: 1.788 MB / 1.377 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007966/0.6558, allocations: 469.8 kB / 1.378 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002483/0.6561, allocations: 187.1 kB / 1.378 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.449e-05/0.6561, allocations: 11.27 kB / 1.378 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003955/0.6565, allocations: 312 kB / 1.378 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=57): time 1.683e-06/0.6565, allocations: 0 / 1.378 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of matching and sorting (n=57): time 0.0006672/0.6572, allocations: 424.9 kB / 1.378 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.6572, allocations: 145.2 kB / 1.379 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003503/0.6576, allocations: 353 kB / 1.379 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/0.6576, allocations: 33.05 kB / 1.379 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.6578, allocations: 261.8 kB / 1.379 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.196e-05/0.6579, allocations: 143.5 kB / 1.379 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.6579, allocations: 2.531 kB / 1.379 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.658, allocations: 357.7 kB / 1.38 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/0.6583, allocations: 167.8 kB / 1.38 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003006/0.6586, allocations: 276.2 kB / 1.38 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005217/0.6591, allocations: 209.6 kB / 1.38 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.6591, allocations: 4.906 kB / 1.38 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009446/0.6601, allocations: 0.5309 MB / 1.381 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.6601, allocations: 4.844 kB / 1.381 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.6601, allocations: 4.219 kB / 1.381 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.6601, allocations: 10.62 kB / 1.381 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.6605, allocations: 96.22 kB / 1.381 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.6606, allocations: 29 kB / 1.381 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000492/0.6611, allocations: 112.2 kB / 1.381 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.186e-05/0.6611, allocations: 26.42 kB / 1.381 GB, free: 30.03 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.conTSupSet.maxSupTemRes.tim.u,$PRE.conTSupSet.maxSupTemRes.sampler.firstTrigger,conTSupSet.maxSupTemRes.sampler.firstTrigger,$whenCondition6,$whenCondition7,$whenCondition1,$PRE.conTSupSet.maxSupTemRes.tim.t_next,$whenCondition4,conTSupSet.maxSupTemRes.uniDel.sampleTrigger,$whenCondition5,conTSupSet.maxSupTemRes.sampler.sampleTrigger,conTSupSet.maxSupTemRes.tim.t_next,conTSupSet.maxSupTemRes.lesThr1.y,conTSupSet.maxSupTemRes.greThr2.y,$whenCondition2,$whenCondition3,conTSupSet.uOpeMod,conTSupSet.uZonTemResReq,conTSupSet.maxSupTemRes.tim.u,conTSupSet.maxSupTemRes.tim.y,conTSupSet.maxSupTemRes.greThr.y,conTSupSet.maxSupTemRes.netRes.u2,$PRE.conTSupSet.maxSupTemRes.uniDel.y,conTSupSet.maxSupTemRes.uniDel.y,conTSupSet.maxSupTemRes.sampler.y,conTSupSet.and1.u1,conTSupSet.and1.u2,conTSupSet.and1.y,conTSupSet.and2.u1,conTSupSet.and2.u2,conTSupSet.and2.y,conTSupSet.intEqu.y,$PRE.supFanSta.y,supFanSta.y,conTSupSet.maxSupTemRes.greThr1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.0001226/0.6613, allocations: 138.2 kB / 1.381 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.676e-05/0.6613, allocations: 55.58 kB / 1.381 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006711/0.662, allocations: 447.7 kB / 1.382 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-06/0.662, allocations: 6.031 kB / 1.382 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.662, allocations: 1.156 kB / 1.382 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.662, allocations: 4.828 kB / 1.382 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.6634, allocations: 1.355 MB / 1.383 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.6635, allocations: 1.031 kB / 1.383 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003238/0.6638, allocations: 73.7 kB / 1.383 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.6638, allocations: 2.938 kB / 1.383 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.267e-05/0.6638, allocations: 14.95 kB / 1.383 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.6638, allocations: 7.031 kB / 1.383 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6639, allocations: 8.875 kB / 1.383 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006203/0.6645, allocations: 0.5567 MB / 1.384 GB, free: 28.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.177e-05/0.6645, allocations: 132.5 kB / 1.384 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.094e-05/0.6646, allocations: 3.5 kB / 1.384 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.665, allocations: 58.56 kB / 1.384 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.6651, allocations: 55.11 kB / 1.384 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.88e-05/0.6652, allocations: 21.52 kB / 1.384 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002229/0.6654, allocations: 251.6 kB / 1.384 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004068/0.6658, allocations: 138.6 kB / 1.384 GB, free: 28.49 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 29 (conTSupSet.maxSupTemRes.tim.u,conTSupSet.maxSupTemRes.sampler.sampleTrigger,conTSupSet.maxSupTemRes.uniDel.sampleTrigger,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,conTSupSet.uOpeMod,conTSupSet.uZonTemResReq,conTSupSet.maxSupTemRes.tim.y,conTSupSet.maxSupTemRes.tim.t_next,conTSupSet.maxSupTemRes.greThr.y,conTSupSet.maxSupTemRes.netRes.u2,conTSupSet.maxSupTemRes.uniDel.y,conTSupSet.maxSupTemRes.sampler.y,conTSupSet.maxSupTemRes.sampler.firstTrigger,conTSupSet.and1.u1,conTSupSet.and1.u2,conTSupSet.and1.y,conTSupSet.and2.u1,conTSupSet.and2.u2,conTSupSet.and2.y,conTSupSet.intEqu.y,supFanSta.y,conTSupSet.maxSupTemRes.lesThr1.y,conTSupSet.maxSupTemRes.greThr2.y) * Number of discrete states: 2 (conTSupSet.maxSupTemRes.tim.t_next,conTSupSet.maxSupTemRes.uniDel.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0001508/0.666, allocations: 136.3 kB / 1.384 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006211/0.6666, allocations: 471.6 kB / 1.385 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6666, allocations: 1.344 kB / 1.385 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003341/0.6669, allocations: 257.8 kB / 1.385 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.6673, allocations: 55.42 kB / 1.385 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.6685, allocations: 0.7247 MB / 1.386 GB, free: 27.98 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005197/0.6691, allocations: 0.9608 MB / 1.387 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of SimCode: time 7.82e-07/0.6691, allocations: 4 kB / 1.387 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of Templates: time 0.009313/0.6784, allocations: 5.984 MB / 1.393 GB, free: 24.28 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_SupplyTemperature.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches