Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.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.CoolingModeNonIntegrated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCHWSup.y|TCHWSupSet.y|TWetBub.y|chiNumOn.y|cooModCon.y",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TCHWSup.y|TCHWSupSet.y|TWetBub.y|chiNumOn.y|cooModCon.y",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated") [: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.796/1.796, allocations: 387.2 MB / 394.5 MB, free: 13.72 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.0009835/0.0009835, allocations: 185.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.13/1.13, allocations: 221.3 MB / 0.7819 GB, free: 1.48 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.0008022/0.0008022, allocations: 90.08 kB / 0.9213 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.232e-06/6.242e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.194, allocations: 142.3 MB / 1.205 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5528/0.7469, allocations: 156.7 MB / 1.358 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.7472, allocations: 94.14 kB / 1.358 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02335/0.7705, allocations: 9.655 MB / 1.368 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.562e-05/0.7706, allocations: 8 kB / 1.368 GB, free: 9.844 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009134/0.7715, allocations: 0.7029 MB / 1.368 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.7716, allocations: 9.031 kB / 1.368 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.908e-05/0.7717, allocations: 51.44 kB / 1.369 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004843/0.7722, allocations: 379 kB / 1.369 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.7722, allocations: 19.8 kB / 1.369 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.174e-05/0.7723, allocations: 27.94 kB / 1.369 GB, free: 8.672 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004362/0.7727, allocations: 252.9 kB / 1.369 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004792/0.7732, allocations: 334.9 kB / 1.369 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.7732, allocations: 3.906 kB / 1.369 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.7733, allocations: 0 / 1.369 GB, free: 8.25 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.476e-05/0.7733, allocations: 15.91 kB / 1.37 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.7746, allocations: 1.054 MB / 1.371 GB, free: 7.402 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003806/0.775, allocations: 266 kB / 1.371 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.7752, allocations: 130.3 kB / 1.371 GB, free: 7.133 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.491e-05/0.7752, allocations: 7.594 kB / 1.371 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002422/0.7755, allocations: 190.5 kB / 1.371 GB, free: 6.977 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=39): time 1.743e-06/0.7755, allocations: 0 / 1.371 GB, free: 6.977 MB / 0.8073 GB Notification: Performance of matching and sorting (n=39): time 0.0004665/0.7759, allocations: 276.5 kB / 1.371 GB, free: 6.762 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.776, allocations: 114.8 kB / 1.371 GB, free: 6.625 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.7763, allocations: 337.3 kB / 1.372 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.339e-05/0.7763, allocations: 41.44 kB / 1.372 GB, free: 6.316 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/0.7764, allocations: 166.8 kB / 1.372 GB, free: 6.172 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.069e-05/0.7765, allocations: 92.5 kB / 1.372 GB, free: 6.098 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.981e-05/0.7765, allocations: 0 / 1.372 GB, free: 6.098 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.939e-05/0.7766, allocations: 355.2 kB / 1.372 GB, free: 5.758 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001798/0.7768, allocations: 118 kB / 1.373 GB, free: 5.691 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.777, allocations: 211.3 kB / 1.373 GB, free: 5.512 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.7772, allocations: 130.3 kB / 1.373 GB, free: 5.426 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.7772, allocations: 3.906 kB / 1.373 GB, free: 5.422 MB / 0.8073 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005033/0.7777, allocations: 375 kB / 1.373 GB, free: 5.129 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.7777, allocations: 4 kB / 1.373 GB, free: 5.125 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.7777, allocations: 4 kB / 1.373 GB, free: 5.121 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.7777, allocations: 4 kB / 1.373 GB, free: 5.117 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.778, allocations: 67.52 kB / 1.373 GB, free: 5.055 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.7781, allocations: 7.938 kB / 1.373 GB, free: 5.047 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.7784, allocations: 63.73 kB / 1.373 GB, free: 4.984 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/0.7784, allocations: 15.44 kB / 1.373 GB, free: 4.973 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$whenCondition4,$PRE.chiNumOn.combiTimeTable.nextTimeEvent,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$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.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,$PRE.chiNumOn.combiTimeTable.nextTimeEventScaled,chiNumOn.combiTimeTable.nextTimeEventScaled,cooModCon.swi.expr[1],cooModCon.swi.expr[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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.0001062/0.7785, allocations: 145.3 kB / 1.374 GB, free: 4.832 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.706e-05/0.7786, allocations: 35.53 kB / 1.374 GB, free: 4.797 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005128/0.7791, allocations: 321 kB / 1.374 GB, free: 4.555 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.7791, allocations: 8 kB / 1.374 GB, free: 4.547 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.7791, allocations: 3.938 kB / 1.374 GB, free: 4.543 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.7791, allocations: 0 / 1.374 GB, free: 4.543 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009615/0.7801, allocations: 0.8393 MB / 1.375 GB, free: 3.855 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.7801, allocations: 4 kB / 1.375 GB, free: 3.852 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.7803, allocations: 47.41 kB / 1.375 GB, free: 3.809 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.7803, allocations: 4 kB / 1.375 GB, free: 3.805 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.7803, allocations: 7.984 kB / 1.375 GB, free: 3.797 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.7803, allocations: 4 kB / 1.375 GB, free: 3.793 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.7803, allocations: 0 / 1.375 GB, free: 3.793 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004287/0.7808, allocations: 393.6 kB / 1.375 GB, free: 3.461 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.517e-05/0.7809, allocations: 123.4 kB / 1.375 GB, free: 3.324 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.549e-05/0.7809, allocations: 7.359 kB / 1.375 GB, free: 3.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.7812, allocations: 39.97 kB / 1.375 GB, free: 3.281 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.7813, allocations: 53.91 kB / 1.375 GB, free: 3.238 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.69e-05/0.7814, allocations: 19.36 kB / 1.375 GB, free: 3.223 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001812/0.7816, allocations: 246.2 kB / 1.376 GB, free: 3.035 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003977/0.782, allocations: 107.1 kB / 1.376 GB, free: 2.934 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: 30 (cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,$cse2,$cse3,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,TCHWSup.T_start,TCHWSup.count,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,chiNumOn.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (chiNumOn.combiTimeTable.nextTimeEvent,TCHWSup.count,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,chiNumOn.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0006706/0.7826, allocations: 366.3 kB / 1.376 GB, free: 2.672 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004826/0.7831, allocations: 348.4 kB / 1.376 GB, free: 2.422 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7831, allocations: 0 / 1.376 GB, free: 2.422 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.7834, allocations: 165.3 kB / 1.377 GB, free: 2.309 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.7837, allocations: 60.69 kB / 1.377 GB, free: 2.262 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009315/0.7847, allocations: 0.5053 MB / 1.377 GB, free: 1.809 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003469/0.785, allocations: 0.8662 MB / 1.378 GB, free: 0.9141 MB / 0.8073 GB Notification: Performance of SimCode: time 2.2e-07/0.785, allocations: 0 / 1.378 GB, free: 0.9141 MB / 0.8073 GB Notification: Performance of Templates: time 0.009559/0.7946, allocations: 5.633 MB / 1.383 GB, free: 11.38 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated.csv","../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches