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.Validation.SupplyTemperature.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: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTSupSet.uZonTemResReq|conTSupSet.uSupFan|conTSupSet.uOpeMod|conTSupSet.maxSupTemRes.y|conTSupSet.TOut|conTSupSet.TSupSet",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTSupSet.uZonTemResReq|conTSupSet.uSupFan|conTSupSet.uOpeMod|conTSupSet.maxSupTemRes.y|conTSupSet.TOut|conTSupSet.TSupSet",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.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 9.1.1-maint.9.1.x/package.mo): time 1.766/1.766, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.0009324/0.0009325, allocations: 188.5 kB / 487 MB, free: 5.367 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.131/1.131, allocations: 221.3 MB / 0.7819 GB, free: 1.391 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009036/0.0009036, allocations: 91.83 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.452e-06/6.482e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1858, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4959/0.6817, allocations: 153 MB / 1.355 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001891/0.6819, allocations: 79.62 kB / 1.355 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02746/0.7094, allocations: 11.68 MB / 1.366 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.082e-05/0.7095, allocations: 16 kB / 1.366 GB, free: 10.94 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001206/0.7107, allocations: 0.9084 MB / 1.367 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.7107, allocations: 8.031 kB / 1.367 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.7109, allocations: 87.05 kB / 1.367 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004971/0.7114, allocations: 474.8 kB / 1.368 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/0.7114, allocations: 27.06 kB / 1.368 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.668e-05/0.7115, allocations: 48 kB / 1.368 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006826/0.7122, allocations: 425.9 kB / 1.368 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007077/0.7129, allocations: 479.9 kB / 1.369 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.7129, allocations: 0 / 1.369 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.443e-05/0.713, allocations: 0 / 1.369 GB, free: 8.898 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.713, allocations: 19.91 kB / 1.369 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002258/0.7152, allocations: 1.796 MB / 1.37 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007503/0.716, allocations: 456.4 kB / 1.371 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.7162, allocations: 170.5 kB / 1.371 GB, free: 7.176 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.7163, allocations: 19.55 kB / 1.371 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003343/0.7166, allocations: 295.3 kB / 1.371 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=55): time 2.144e-06/0.7166, allocations: 0 / 1.371 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of matching and sorting (n=55): time 0.0005991/0.7172, allocations: 423.2 kB / 1.372 GB, free: 6.625 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.7173, allocations: 144.9 kB / 1.372 GB, free: 6.453 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.7176, allocations: 360.5 kB / 1.372 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.155e-05/0.7176, allocations: 33.2 kB / 1.372 GB, free: 6.145 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.53e-05/0.7177, allocations: 254.9 kB / 1.372 GB, free: 5.918 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.119e-05/0.7178, allocations: 146.3 kB / 1.373 GB, free: 5.797 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.7178, allocations: 0 / 1.373 GB, free: 5.797 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.8e-05/0.7179, allocations: 360.2 kB / 1.373 GB, free: 5.457 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.7182, allocations: 168.3 kB / 1.373 GB, free: 5.359 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002736/0.7184, allocations: 284 kB / 1.373 GB, free: 5.121 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004805/0.7189, allocations: 211.1 kB / 1.374 GB, free: 4.98 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.7189, allocations: 0 / 1.374 GB, free: 4.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008939/0.7198, allocations: 0.5337 MB / 1.374 GB, free: 4.566 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001322/0.72, allocations: 1.136 MB / 1.375 GB, free: 3.367 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.72, allocations: 8 kB / 1.375 GB, free: 3.359 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.72, allocations: 4 kB / 1.375 GB, free: 3.355 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004125/0.7204, allocations: 111.5 kB / 1.375 GB, free: 3.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.7204, allocations: 4 kB / 1.375 GB, free: 3.246 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000551/0.721, allocations: 139.6 kB / 1.375 GB, free: 3.109 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.85e-05/0.7211, allocations: 30.36 kB / 1.375 GB, free: 3.086 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.579e-06/0.7211, allocations: 4 kB / 1.375 GB, free: 3.082 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008274/0.7219, allocations: 468.3 kB / 1.376 GB, free: 2.754 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.7219, allocations: 4 kB / 1.376 GB, free: 2.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.431e-06/0.7219, allocations: 8 kB / 1.376 GB, free: 2.742 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.7223, allocations: 95 kB / 1.376 GB, free: 2.652 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.7223, allocations: 7.984 kB / 1.376 GB, free: 2.645 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004912/0.7228, allocations: 119.7 kB / 1.376 GB, free: 2.527 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.28e-05/0.7229, allocations: 30.98 kB / 1.376 GB, free: 2.504 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 34 ($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.and2.u1,conTSupSet.and2.u2,conTSupSet.and2.y,conTSupSet.and1.u1,conTSupSet.and1.u2,conTSupSet.and1.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 (69): * Single equations (assignments): 68 * 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.0001032/0.723, allocations: 140.7 kB / 1.376 GB, free: 2.367 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.817e-05/0.723, allocations: 59.33 kB / 1.376 GB, free: 2.309 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006041/0.7236, allocations: 429.1 kB / 1.377 GB, free: 2.012 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.7237, allocations: 4 kB / 1.377 GB, free: 2.008 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.7237, allocations: 4 kB / 1.377 GB, free: 2.004 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.7237, allocations: 7.922 kB / 1.377 GB, free: 1.996 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.7249, allocations: 1.332 MB / 1.378 GB, free: 0.9688 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.7249, allocations: 0 / 1.378 GB, free: 0.9688 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/0.7252, allocations: 83.25 kB / 1.378 GB, free: 0.8906 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.7253, allocations: 3.938 kB / 1.378 GB, free: 0.8867 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/0.7253, allocations: 11.92 kB / 1.378 GB, free: 0.8789 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.7253, allocations: 4 kB / 1.378 GB, free: 0.875 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.7253, allocations: 0 / 1.378 GB, free: 0.875 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005337/0.7258, allocations: 0.5558 MB / 1.379 GB, free: 412 kB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-05/0.7259, allocations: 124 kB / 1.379 GB, free: 272 kB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.315e-05/0.726, allocations: 15.11 kB / 1.379 GB, free: 260 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/0.7263, allocations: 63.88 kB / 1.379 GB, free: 196 kB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.7265, allocations: 61.27 kB / 1.379 GB, free: 148 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/0.7265, allocations: 19.8 kB / 1.379 GB, free: 132 kB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0002069/0.7267, allocations: 257.4 kB / 1.379 GB, free: 15.93 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006455/0.7274, allocations: 230.6 kB / 1.379 GB, free: 15.71 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 28 (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.and2.u1,conTSupSet.and2.u2,conTSupSet.and2.y,conTSupSet.and1.u1,conTSupSet.and1.u2,conTSupSet.and1.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 (56): * Single equations (assignments): 50 * 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.0001659/0.7275, allocations: 144.9 kB / 1.38 GB, free: 15.57 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.7286, allocations: 0.7654 MB / 1.38 GB, free: 15.03 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7286, allocations: 0 / 1.38 GB, free: 15.03 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000328/0.7289, allocations: 248.1 kB / 1.381 GB, free: 14.87 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.7293, allocations: 56.58 kB / 1.381 GB, free: 14.83 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.7307, allocations: 0.7406 MB / 1.381 GB, free: 14.17 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005675/0.7313, allocations: 0.9577 MB / 1.382 GB, free: 13.19 MB / 0.823 GB Notification: Performance of SimCode: time 1.522e-06/0.7313, allocations: 0 / 1.382 GB, free: 13.19 MB / 0.823 GB Notification: Performance of Templates: time 0.0137/0.745, allocations: 8.848 MB / 1.391 GB, free: 4.469 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_SupplyTemperature.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplyTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches