Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.DXCooled.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.DXCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooModCon.TSupSet|cooModCon.TRet|cooModCon.TOutDryBul|cooModCon.y",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.802/1.802, allocations: 387.2 MB / 394.5 MB, free: 13.71 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: 189.2 kB / 487 MB, free: 5.395 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.156/1.156, allocations: 221.3 MB / 0.7819 GB, free: 1.375 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.0008541/0.000854, allocations: 96.61 kB / 0.9213 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.833e-06/6.853e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1827, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.568/2.751, allocations: 1.733 GB / 2.938 GB, free: 101.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/2.751, allocations: 95.03 kB / 2.938 GB, free: 101.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 0.1262/2.877, allocations: 65.92 MB / 3.002 GB, free: 39.78 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.614e-05/2.877, allocations: 39.94 kB / 3.002 GB, free: 39.74 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.001812/2.879, allocations: 1.375 MB / 3.004 GB, free: 38.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/2.879, allocations: 12.03 kB / 3.004 GB, free: 38.29 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008409/2.88, allocations: 230.1 kB / 3.004 GB, free: 38.06 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009354/2.881, allocations: 0.768 MB / 3.005 GB, free: 37.25 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.158e-05/2.881, allocations: 40 kB / 3.005 GB, free: 37.21 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/2.881, allocations: 72 kB / 3.005 GB, free: 37.14 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001549/2.883, allocations: 1.316 MB / 3.006 GB, free: 35.82 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/2.884, allocations: 1.069 MB / 3.007 GB, free: 34.69 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/2.884, allocations: 0 / 3.007 GB, free: 34.69 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-05/2.884, allocations: 0 / 3.007 GB, free: 34.69 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.419e-05/2.884, allocations: 42.28 kB / 3.007 GB, free: 34.64 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003907/2.888, allocations: 3.317 MB / 3.01 GB, free: 31.26 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/2.889, allocations: 0.9155 MB / 3.011 GB, free: 30.34 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004349/2.89, allocations: 389.7 kB / 3.012 GB, free: 29.95 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.811e-05/2.89, allocations: 40.89 kB / 3.012 GB, free: 29.91 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005971/2.89, allocations: 0.53 MB / 3.012 GB, free: 29.36 MB / 1.151 GB Notification: Performance of pre-optimization done (n=118): time 2.094e-06/2.89, allocations: 0 / 3.012 GB, free: 29.36 MB / 1.151 GB Notification: Performance of matching and sorting (n=118): time 0.001602/2.892, allocations: 0.878 MB / 3.013 GB, free: 28.48 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/2.892, allocations: 244.3 kB / 3.013 GB, free: 28.18 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005384/2.893, allocations: 0.5969 MB / 3.014 GB, free: 27.58 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.67e-05/2.893, allocations: 41.69 kB / 3.014 GB, free: 27.54 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/2.893, allocations: 376.7 kB / 3.014 GB, free: 27.16 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/2.893, allocations: 343.1 kB / 3.015 GB, free: 26.82 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/2.893, allocations: 0 / 3.015 GB, free: 26.82 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.754e-05/2.893, allocations: 394.7 kB / 3.015 GB, free: 26.43 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004207/2.894, allocations: 322.5 kB / 3.015 GB, free: 26.11 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000493/2.894, allocations: 498.2 kB / 3.016 GB, free: 25.57 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004739/2.894, allocations: 366.3 kB / 3.016 GB, free: 25.22 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/2.895, allocations: 0 / 3.016 GB, free: 25.22 MB / 1.151 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001664/2.896, allocations: 1.002 MB / 3.017 GB, free: 24.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/2.896, allocations: 4 kB / 3.017 GB, free: 24.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/2.896, allocations: 4.078 kB / 3.017 GB, free: 24.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005667/2.897, allocations: 88.86 kB / 3.017 GB, free: 24.11 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006677/2.897, allocations: 183.7 kB / 3.017 GB, free: 23.93 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/2.899, allocations: 1.461 MB / 3.019 GB, free: 22.35 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006414/2.9, allocations: 123.3 kB / 3.019 GB, free: 22.23 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.531e-05/2.9, allocations: 47.98 kB / 3.019 GB, free: 22.18 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.0001742/2.9, allocations: 164.9 kB / 3.019 GB, free: 22.02 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/2.9, allocations: 94.88 kB / 3.019 GB, free: 21.92 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002164/2.902, allocations: 1.201 MB / 3.02 GB, free: 20.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/2.902, allocations: 12 kB / 3.02 GB, free: 20.69 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/2.902, allocations: 3.984 kB / 3.02 GB, free: 20.69 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/2.902, allocations: 3.984 kB / 3.02 GB, free: 20.68 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003062/2.905, allocations: 2.335 MB / 3.023 GB, free: 18.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/2.905, allocations: 0 / 3.023 GB, free: 18.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006069/2.906, allocations: 179.7 kB / 3.023 GB, free: 18.13 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004681/2.906, allocations: 88.77 kB / 3.023 GB, free: 18.04 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-05/2.906, allocations: 15.98 kB / 3.023 GB, free: 18.02 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001309/2.908, allocations: 1.48 MB / 3.024 GB, free: 16.42 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/2.908, allocations: 0 / 3.024 GB, free: 16.42 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001586/2.909, allocations: 1.092 MB / 3.026 GB, free: 15.31 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003273/2.91, allocations: 323.7 kB / 3.026 GB, free: 14.97 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/2.91, allocations: 11.89 kB / 3.026 GB, free: 14.96 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006878/2.911, allocations: 104 kB / 3.026 GB, free: 14.86 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/2.911, allocations: 105.1 kB / 3.026 GB, free: 14.76 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.105e-05/2.911, allocations: 51.91 kB / 3.026 GB, free: 14.71 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.000368/2.911, allocations: 447.1 kB / 3.027 GB, free: 14.27 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009411/2.912, allocations: 387.1 kB / 3.027 GB, free: 13.89 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.001325/2.913, allocations: 1.093 MB / 3.028 GB, free: 12.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001246/2.915, allocations: 0.9882 MB / 3.029 GB, free: 11.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/2.915, allocations: 3.984 kB / 3.029 GB, free: 11.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007164/2.915, allocations: 0.6196 MB / 3.03 GB, free: 11.27 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009397/2.916, allocations: 239.6 kB / 3.03 GB, free: 11.05 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003389/2.92, allocations: 1.737 MB / 3.031 GB, free: 9.273 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007702/2.921, allocations: 1.274 MB / 3.033 GB, free: 7.969 MB / 1.151 GB Notification: Performance of SimCode: time 2.71e-07/2.921, allocations: 0 / 3.033 GB, free: 7.969 MB / 1.151 GB Notification: Performance of Templates: time 0.3386/3.259, allocations: 20.63 MB / 3.053 GB, free: 0.5048 GB / 1.151 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.sim & ./Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode.csv","../files/Buildings_9_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches