Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.716/1.716, allocations: 390.4 MB / 397.7 MB, free: 11.32 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.0008711/0.0008711, allocations: 185.2 kB / 490.8 MB, free: 1.953 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.071/1.071, allocations: 221.4 MB / 0.7863 GB, free: 13.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007763/0.0007763, allocations: 95.23 kB / 0.9264 GB, free: 14.3 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.971e-06/5.991e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1689, allocations: 143 MB / 1.212 GB, free: 40.15 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.33/2.499, allocations: 1.733 GB / 2.945 GB, free: 138.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/2.499, allocations: 99.88 kB / 2.945 GB, free: 138.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1211/2.621, allocations: 65.91 MB / 3.01 GB, free: 72.14 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.423e-05/2.621, allocations: 31.94 kB / 3.01 GB, free: 72.11 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.001675/2.622, allocations: 1.392 MB / 3.011 GB, free: 70.65 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 2.759e-05/2.622, allocations: 8.031 kB / 3.011 GB, free: 70.64 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008174/2.623, allocations: 234.1 kB / 3.011 GB, free: 70.41 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008874/2.624, allocations: 0.7563 MB / 3.012 GB, free: 69.61 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.078e-05/2.624, allocations: 43.98 kB / 3.012 GB, free: 69.57 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000104/2.624, allocations: 76 kB / 3.012 GB, free: 69.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001534/2.626, allocations: 1.304 MB / 3.013 GB, free: 68.19 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/2.627, allocations: 1.065 MB / 3.014 GB, free: 67.06 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/2.627, allocations: 3.906 kB / 3.014 GB, free: 67.05 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.091e-05/2.627, allocations: 7.922 kB / 3.014 GB, free: 67.05 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.123e-05/2.627, allocations: 46.27 kB / 3.014 GB, free: 67 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003776/2.631, allocations: 3.31 MB / 3.018 GB, free: 63.62 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/2.632, allocations: 0.9224 MB / 3.018 GB, free: 62.69 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004331/2.633, allocations: 385.7 kB / 3.019 GB, free: 62.31 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.322e-05/2.633, allocations: 45.02 kB / 3.019 GB, free: 62.27 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005834/2.633, allocations: 0.5339 MB / 3.019 GB, free: 61.71 MB / 1.151 GB Notification: Performance of pre-optimization done (n=118): time 2.003e-06/2.633, allocations: 0 / 3.019 GB, free: 61.71 MB / 1.151 GB Notification: Performance of matching and sorting (n=118): time 0.001584/2.635, allocations: 0.874 MB / 3.02 GB, free: 60.83 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/2.635, allocations: 252.3 kB / 3.021 GB, free: 60.53 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000516/2.635, allocations: 0.5969 MB / 3.021 GB, free: 59.93 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.469e-05/2.636, allocations: 37.7 kB / 3.021 GB, free: 59.88 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/2.636, allocations: 380.6 kB / 3.021 GB, free: 59.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/2.636, allocations: 331.2 kB / 3.022 GB, free: 59.18 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/2.636, allocations: 4 kB / 3.022 GB, free: 59.17 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.974e-05/2.636, allocations: 394.7 kB / 3.022 GB, free: 58.78 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000415/2.636, allocations: 322.6 kB / 3.022 GB, free: 58.46 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004843/2.637, allocations: 490.3 kB / 3.023 GB, free: 57.93 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004723/2.637, allocations: 374.3 kB / 3.023 GB, free: 57.57 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/2.637, allocations: 0 / 3.023 GB, free: 57.57 MB / 1.151 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001625/2.639, allocations: 0.9979 MB / 3.024 GB, free: 56.56 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.857e-06/2.639, allocations: 4 kB / 3.024 GB, free: 56.55 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/2.639, allocations: 7.938 kB / 3.024 GB, free: 56.55 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005571/2.64, allocations: 84.88 kB / 3.024 GB, free: 56.46 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006564/2.64, allocations: 191.6 kB / 3.025 GB, free: 56.27 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/2.642, allocations: 1.469 MB / 3.026 GB, free: 54.69 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006189/2.642, allocations: 119.3 kB / 3.026 GB, free: 54.57 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-05/2.642, allocations: 51.97 kB / 3.026 GB, free: 54.52 MB / 1.151 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.000164/2.643, allocations: 152.8 kB / 3.026 GB, free: 54.37 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/2.643, allocations: 90.88 kB / 3.026 GB, free: 54.28 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/2.645, allocations: 1.208 MB / 3.028 GB, free: 53.05 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/2.645, allocations: 16 kB / 3.028 GB, free: 53.04 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/2.645, allocations: 0 / 3.028 GB, free: 53.04 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/2.645, allocations: 7.969 kB / 3.028 GB, free: 53.03 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002987/2.648, allocations: 2.335 MB / 3.03 GB, free: 50.64 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/2.648, allocations: 0 / 3.03 GB, free: 50.64 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006051/2.648, allocations: 179.7 kB / 3.03 GB, free: 50.47 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004612/2.649, allocations: 84.78 kB / 3.03 GB, free: 50.38 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.595e-05/2.649, allocations: 23.97 kB / 3.03 GB, free: 50.36 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001269/2.65, allocations: 1.477 MB / 3.032 GB, free: 48.76 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/2.65, allocations: 64 / 3.032 GB, free: 48.76 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001558/2.652, allocations: 1.096 MB / 3.033 GB, free: 47.65 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003168/2.652, allocations: 327.4 kB / 3.033 GB, free: 47.31 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/2.652, allocations: 7.984 kB / 3.033 GB, free: 47.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006635/2.653, allocations: 99.81 kB / 3.033 GB, free: 47.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/2.653, allocations: 109.1 kB / 3.033 GB, free: 47.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.96e-05/2.653, allocations: 47.98 kB / 3.033 GB, free: 47.05 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003428/2.654, allocations: 443.1 kB / 3.034 GB, free: 46.62 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0007912/2.654, allocations: 391.1 kB / 3.034 GB, free: 46.23 MB / 1.151 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.001234/2.656, allocations: 1.086 MB / 3.035 GB, free: 45.25 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001214/2.657, allocations: 0.9846 MB / 3.036 GB, free: 44.26 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/2.657, allocations: 8 kB / 3.036 GB, free: 44.25 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006972/2.658, allocations: 0.6157 MB / 3.037 GB, free: 43.63 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008593/2.658, allocations: 235 kB / 3.037 GB, free: 43.41 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003257/2.662, allocations: 1.729 MB / 3.039 GB, free: 41.64 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007141/2.662, allocations: 1.283 MB / 3.04 GB, free: 40.33 MB / 1.151 GB Notification: Performance of SimCode: time 2.61e-07/2.662, allocations: 4 kB / 3.04 GB, free: 40.32 MB / 1.151 GB Notification: Performance of Templates: time 0.02357/2.686, allocations: 20.64 MB / 3.06 GB, free: 19.84 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.sim & ./Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode.csv","../files/Buildings_latest_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches