Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.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.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCHWLeaWSE.y|TCHWEntWSE.y|TCHWLeaSet.y|TWetBub.y|TAppTow.y|cooModCon.y",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCHWLeaWSE.y|TCHWEntWSE.y|TCHWLeaSet.y|TWetBub.y|TAppTow.y|cooModCon.y",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") [: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.787/1.787, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.0009983/0.0009985, allocations: 189.2 kB / 487 MB, free: 5.406 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.143/1.143, allocations: 221.3 MB / 0.7819 GB, free: 1.383 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.0008274/0.0008275, allocations: 99.91 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.061e-06/6.081e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2133, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5468/0.7602, allocations: 152.5 MB / 1.354 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.7604, allocations: 88.98 kB / 1.354 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01684/0.7772, allocations: 7.037 MB / 1.361 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.803e-05/0.7773, allocations: 12 kB / 1.361 GB, free: 14.9 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.0008079/0.7781, allocations: 0.6517 MB / 1.362 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.7781, allocations: 9.031 kB / 1.362 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.881e-05/0.7782, allocations: 56.09 kB / 1.362 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.7786, allocations: 337.8 kB / 1.362 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.7786, allocations: 20.52 kB / 1.362 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.926e-05/0.7787, allocations: 40.3 kB / 1.362 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005696/0.7793, allocations: 373.5 kB / 1.363 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006131/0.7799, allocations: 444.5 kB / 1.363 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.7799, allocations: 0 / 1.363 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/0.78, allocations: 3.984 kB / 1.363 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/0.78, allocations: 20.94 kB / 1.363 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.7815, allocations: 1.307 MB / 1.364 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/0.7819, allocations: 330.6 kB / 1.365 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.7821, allocations: 179.4 kB / 1.365 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.934e-05/0.7821, allocations: 8.438 kB / 1.365 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002582/0.7824, allocations: 217.5 kB / 1.365 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=52): time 1.593e-06/0.7824, allocations: 4 kB / 1.365 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=52): time 0.0004496/0.7829, allocations: 307.4 kB / 1.365 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.102e-05/0.7829, allocations: 66.16 kB / 1.365 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.783, allocations: 218.5 kB / 1.366 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.587e-05/0.7831, allocations: 43.64 kB / 1.366 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.62e-05/0.7832, allocations: 176 kB / 1.366 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.952e-05/0.7832, allocations: 124.3 kB / 1.366 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.021e-05/0.7833, allocations: 0 / 1.366 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.061e-05/0.7833, allocations: 345 kB / 1.366 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.7835, allocations: 157 kB / 1.366 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.7838, allocations: 230.5 kB / 1.367 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.784, allocations: 149.7 kB / 1.367 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.784, allocations: 0 / 1.367 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0005603/0.7846, allocations: 455.1 kB / 1.367 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.7846, allocations: 4 kB / 1.367 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.7846, allocations: 0 / 1.367 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.7846, allocations: 8 kB / 1.367 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002651/0.7849, allocations: 73.2 kB / 1.367 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.7849, allocations: 7.938 kB / 1.367 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003429/0.7853, allocations: 83.91 kB / 1.367 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/0.7853, allocations: 23.81 kB / 1.367 GB, free: 9.883 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,$PRE.cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.newActive,$PRE.cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,$PRE.cooModCon.freCoo.localActive,cooModCon.freCoo.localActive,$PRE.cooModCon.freCoo.newActive,cooModCon.freCoo.newActive,$PRE.cooModCon.freCoo.oldActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,$PRE.cooModCon.fulMecCoo.localActive,cooModCon.fulMecCoo.localActive,$PRE.cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.newActive,$PRE.cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.enableFire,cooModCon.con3.fire,$PRE.cooModCon.con3.t_start,cooModCon.con3.t_start,cooModCon.con4.enableFire,cooModCon.con4.fire,$PRE.cooModCon.con4.t_start,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,$PRE.TCHWLeaWSE.T_start,TCHWLeaWSE.T_start,$PRE.TCHWLeaWSE.count,TCHWLeaWSE.count,cooModCon.con3.condition,cooModCon.swi.expr[1],cooModCon.swi.expr[2],cooModCon.swi.expr[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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.0001017/0.7854, allocations: 161.9 kB / 1.367 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.747e-05/0.7855, allocations: 31.62 kB / 1.367 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006062/0.7861, allocations: 387.8 kB / 1.368 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.7861, allocations: 4 kB / 1.368 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.7861, allocations: 8 kB / 1.368 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.7861, allocations: 0 / 1.368 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.7872, allocations: 0.9566 MB / 1.369 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.7872, allocations: 0 / 1.369 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.7874, allocations: 47.22 kB / 1.369 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.7874, allocations: 4 kB / 1.369 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.7875, allocations: 3.438 kB / 1.369 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.7875, allocations: 8 kB / 1.369 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.7875, allocations: 0 / 1.369 GB, free: 8.578 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004872/0.788, allocations: 460.1 kB / 1.369 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.496e-05/0.788, allocations: 104.7 kB / 1.369 GB, free: 8.078 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.058e-05/0.7881, allocations: 4 kB / 1.369 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.7884, allocations: 55.7 kB / 1.369 GB, free: 8.023 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/0.7885, allocations: 65.27 kB / 1.37 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.7885, allocations: 27.61 kB / 1.37 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.109e-05/0.7886, allocations: 137.9 kB / 1.37 GB, free: 7.836 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003183/0.7889, allocations: 83.83 kB / 1.37 GB, free: 7.754 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 45 (cooModCon.con3.enableFire,cooModCon.con4.enableFire,cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,cooModCon.parMecCoo.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.fire,cooModCon.con3.t_start,cooModCon.con4.fire,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,TCHWLeaWSE.T_start,TCHWLeaWSE.count) * Number of discrete states: 5 (TCHWLeaWSE.count,cooModCon.parMecCoo.newActive,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0001375/0.7891, allocations: 135.4 kB / 1.37 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004954/0.7896, allocations: 438.8 kB / 1.37 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7896, allocations: 4.875 kB / 1.37 GB, free: 7.305 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002306/0.7898, allocations: 211 kB / 1.371 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.7901, allocations: 38.64 kB / 1.371 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008345/0.7909, allocations: 0.497 MB / 1.371 GB, free: 6.699 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004429/0.7914, allocations: 0.8776 MB / 1.372 GB, free: 21.8 MB / 0.823 GB Notification: Performance of SimCode: time 2.71e-07/0.7914, allocations: 3.938 kB / 1.372 GB, free: 21.8 MB / 0.823 GB Notification: Performance of Templates: time 0.00724/0.7986, allocations: 4.992 MB / 1.377 GB, free: 16.86 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode.csv","../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches