Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.444/1.444, allocations: 249.4 MB / 256.7 MB, free: 6.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001237/0.001237, allocations: 181.2 kB / 316 MB, free: 3.551 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.2 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 95.27 kB / 0.671 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.985e-06/8.096e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2051, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.631/0.8362, allocations: 136.1 MB / 1.017 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.8365, allocations: 97.11 kB / 1.018 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01877/0.8553, allocations: 6.946 MB / 1.024 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001081/0.8555, allocations: 11.98 kB / 1.024 GB, free: 12.94 MB / 0.6511 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.00122/0.8567, allocations: 0.6623 MB / 1.025 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.431e-05/0.8568, allocations: 11.97 kB / 1.025 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.8569, allocations: 51.44 kB / 1.025 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005682/0.8575, allocations: 329.6 kB / 1.025 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.702e-05/0.8576, allocations: 19.25 kB / 1.025 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.192e-05/0.8577, allocations: 32 kB / 1.025 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007529/0.8584, allocations: 389.2 kB / 1.026 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007803/0.8592, allocations: 447.2 kB / 1.026 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.8592, allocations: 0 / 1.026 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/0.8593, allocations: 0 / 1.026 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.481e-05/0.8593, allocations: 20.81 kB / 1.026 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/0.8615, allocations: 1.302 MB / 1.027 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000577/0.8621, allocations: 333.5 kB / 1.028 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/0.8624, allocations: 176.5 kB / 1.028 GB, free: 9.906 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.766e-05/0.8625, allocations: 8.375 kB / 1.028 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004131/0.8629, allocations: 219.3 kB / 1.028 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=52): time 2.595e-06/0.863, allocations: 0 / 1.028 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.0007023/0.8637, allocations: 315.9 kB / 1.028 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.8637, allocations: 66.58 kB / 1.029 GB, free: 9.41 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/0.864, allocations: 219.9 kB / 1.029 GB, free: 9.227 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.863e-05/0.864, allocations: 36.77 kB / 1.029 GB, free: 9.191 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.8642, allocations: 187.4 kB / 1.029 GB, free: 9.023 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/0.8644, allocations: 123.6 kB / 1.029 GB, free: 8.918 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.8644, allocations: 0 / 1.029 GB, free: 8.918 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.8645, allocations: 348 kB / 1.029 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/0.8648, allocations: 150 kB / 1.03 GB, free: 8.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.8652, allocations: 232.4 kB / 1.03 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.8654, allocations: 152.9 kB / 1.03 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.8654, allocations: 0 / 1.03 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0007504/0.8662, allocations: 447.6 kB / 1.03 GB, free: 7.887 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.8662, allocations: 12.03 kB / 1.03 GB, free: 7.875 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.8663, allocations: 0 / 1.03 GB, free: 7.875 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/0.8663, allocations: 4 kB / 1.03 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.8666, allocations: 75.27 kB / 1.03 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.8667, allocations: 4 kB / 1.03 GB, free: 7.797 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004087/0.8671, allocations: 79.78 kB / 1.031 GB, free: 7.719 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-05/0.8671, allocations: 30.89 kB / 1.031 GB, free: 7.695 MB / 0.6511 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.0001817/0.8673, allocations: 160 kB / 1.031 GB, free: 7.539 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.053e-05/0.8674, allocations: 31.62 kB / 1.031 GB, free: 7.508 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007526/0.8682, allocations: 387.6 kB / 1.031 GB, free: 7.227 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.8682, allocations: 4 kB / 1.031 GB, free: 7.223 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.8682, allocations: 4 kB / 1.031 GB, free: 7.219 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.8682, allocations: 3.984 kB / 1.031 GB, free: 7.215 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.8698, allocations: 0.9516 MB / 1.032 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.8698, allocations: 4 kB / 1.032 GB, free: 6.434 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.87, allocations: 47.16 kB / 1.032 GB, free: 6.391 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.87, allocations: 0 / 1.032 GB, free: 6.391 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/0.8701, allocations: 19.27 kB / 1.032 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.8701, allocations: 0 / 1.032 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/0.8701, allocations: 4 kB / 1.032 GB, free: 6.371 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006743/0.8708, allocations: 455.2 kB / 1.033 GB, free: 5.996 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.138e-05/0.8709, allocations: 104.7 kB / 1.033 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.098e-05/0.8709, allocations: 3.938 kB / 1.033 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003159/0.8713, allocations: 55.94 kB / 1.033 GB, free: 5.82 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.8715, allocations: 76.75 kB / 1.033 GB, free: 5.758 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-05/0.8715, allocations: 15.44 kB / 1.033 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001091/0.8716, allocations: 138.9 kB / 1.033 GB, free: 5.629 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003987/0.872, allocations: 83.03 kB / 1.033 GB, free: 5.551 MB / 0.6511 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.0002321/0.8723, allocations: 139.6 kB / 1.033 GB, free: 5.41 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000665/0.8729, allocations: 434.3 kB / 1.034 GB, free: 5.105 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.8729, allocations: 4.062 kB / 1.034 GB, free: 5.102 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003012/0.8733, allocations: 208.7 kB / 1.034 GB, free: 4.961 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.8736, allocations: 31.67 kB / 1.034 GB, free: 4.938 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.8748, allocations: 0.5042 MB / 1.034 GB, free: 4.496 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005452/0.8753, allocations: 0.8698 MB / 1.035 GB, free: 3.602 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/0.8753, allocations: 0 / 1.035 GB, free: 3.602 MB / 0.6511 GB Notification: Performance of Templates: time 0.009275/0.8846, allocations: 4.995 MB / 1.04 GB, free: 14.68 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode.csv","../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches