Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.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.DXCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooModCon.TSupSet|cooModCon.TRet|cooModCon.TOutDryBul|cooModCon.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode") translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooModCon.TSupSet|cooModCon.TRet|cooModCon.TOutDryBul|cooModCon.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.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.391/1.391, allocations: 249.4 MB / 256.7 MB, free: 6.984 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.001148/0.001148, allocations: 184.4 kB / 316 MB, free: 3.508 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.658/1.658, allocations: 205.2 MB / 0.5667 GB, free: 15.59 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.001076/0.001076, allocations: 82.36 kB / 0.671 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.015e-06/8.035e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2624, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.849/5.112, allocations: 2.193 GB / 3.077 GB, free: 211.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/5.112, allocations: 99.92 kB / 3.078 GB, free: 211.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.136/5.248, allocations: 64.4 MB / 3.14 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001223/5.248, allocations: 35.94 kB / 3.14 GB, free: 146.5 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.002437/5.251, allocations: 1.348 MB / 3.142 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/5.251, allocations: 8.031 kB / 3.142 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000965/5.252, allocations: 234.1 kB / 3.142 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/5.253, allocations: 0.7524 MB / 3.143 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.412e-05/5.253, allocations: 47.98 kB / 3.143 GB, free: 144 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/5.253, allocations: 71.91 kB / 3.143 GB, free: 144 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001832/5.255, allocations: 1.308 MB / 3.144 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/5.256, allocations: 1.06 MB / 3.145 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/5.256, allocations: 3.938 kB / 3.145 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.386e-05/5.257, allocations: 4 kB / 3.145 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-05/5.257, allocations: 46.23 kB / 3.145 GB, free: 141.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00543/5.262, allocations: 3.271 MB / 3.148 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/5.263, allocations: 0.9271 MB / 3.149 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005104/5.264, allocations: 392.3 kB / 3.15 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/5.264, allocations: 36.94 kB / 3.15 GB, free: 136.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007685/5.265, allocations: 0.5339 MB / 3.15 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=118): time 4.809e-06/5.265, allocations: 4 kB / 3.15 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=118): time 0.002112/5.267, allocations: 0.8702 MB / 3.151 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.857e-05/5.267, allocations: 248.3 kB / 3.151 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008173/5.268, allocations: 0.5968 MB / 3.152 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/5.268, allocations: 41.7 kB / 3.152 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/5.268, allocations: 368.7 kB / 3.152 GB, free: 134 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/5.269, allocations: 327.2 kB / 3.153 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/5.269, allocations: 0 / 3.153 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001101/5.269, allocations: 406.7 kB / 3.153 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004515/5.269, allocations: 318.6 kB / 3.153 GB, free: 133 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000548/5.27, allocations: 498.2 kB / 3.154 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005817/5.27, allocations: 366.3 kB / 3.154 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/5.27, allocations: 0 / 3.154 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001853/5.272, allocations: 0.9979 MB / 3.155 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/5.272, allocations: 8 kB / 3.155 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/5.272, allocations: 3.984 kB / 3.155 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006404/5.273, allocations: 92.86 kB / 3.155 GB, free: 131 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007415/5.274, allocations: 187.6 kB / 3.155 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/5.275, allocations: 1.457 MB / 3.157 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008384/5.276, allocations: 119.2 kB / 3.157 GB, free: 129.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.274e-05/5.276, allocations: 47.97 kB / 3.157 GB, free: 129.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 66 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition6,$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.con3.condition,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.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,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 (144): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002436/5.277, allocations: 164.9 kB / 3.157 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/5.277, allocations: 94.88 kB / 3.157 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002483/5.279, allocations: 1.201 MB / 3.158 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/5.279, allocations: 12 kB / 3.158 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/5.279, allocations: 4 kB / 3.158 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/5.279, allocations: 7.969 kB / 3.158 GB, free: 127.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003614/5.283, allocations: 2.327 MB / 3.161 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/5.283, allocations: 7.938 kB / 3.161 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006808/5.284, allocations: 175.7 kB / 3.161 GB, free: 125 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005224/5.284, allocations: 92.77 kB / 3.161 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.674e-05/5.284, allocations: 19.98 kB / 3.161 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/5.286, allocations: 1.476 MB / 3.162 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/5.286, allocations: 4.031 kB / 3.162 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001996/5.288, allocations: 1.084 MB / 3.163 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000495/5.288, allocations: 327.5 kB / 3.164 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001521/5.288, allocations: 4 kB / 3.164 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007576/5.289, allocations: 99.91 kB / 3.164 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000226/5.289, allocations: 113 kB / 3.164 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.204e-05/5.29, allocations: 43.98 kB / 3.164 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0005434/5.29, allocations: 443.1 kB / 3.164 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001337/5.291, allocations: 363.1 kB / 3.165 GB, free: 120.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 47 (cooModCon.con3.enableFire,cooModCon.con4.enableFire,cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,cooModCon.parMecCoo.localActive,$cse18,$cse19,$cse20,$cse21,$cse22,$cse23,$whenCondition6,$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.con3.condition,cooModCon.con4.fire,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 6 (cooModCon.parMecCoo.newActive,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 125 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002078/5.294, allocations: 1.044 MB / 3.166 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001849/5.295, allocations: 0.9997 MB / 3.167 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/5.295, allocations: 0 / 3.167 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009699/5.296, allocations: 0.6162 MB / 3.167 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/5.298, allocations: 235.2 kB / 3.168 GB, free: 117.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004995/5.303, allocations: 1.725 MB / 3.169 GB, free: 116.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001195/5.304, allocations: 1.27 MB / 3.171 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.473e-06/5.304, allocations: 0 / 3.171 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.03308/5.337, allocations: 20.33 MB / 3.19 GB, free: 94.64 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode.csv","../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches