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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.198/2.198, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001103/0.001103, allocations: 172.9 kB / 487.4 MB, free: 5.02 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.805/1.805, allocations: 221.5 MB / 0.7824 GB, free: 0.9336 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.001194/0.001194, allocations: 97.42 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.661e-05/1.664e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3814/0.3814, allocations: 142.3 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.01/5.391, allocations: 1.733 GB / 2.939 GB, free: 135.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/5.392, allocations: 93.62 kB / 2.939 GB, free: 135.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1354/5.527, allocations: 64.58 MB / 3.002 GB, free: 77 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.705e-06/5.527, allocations: 0 / 3.002 GB, free: 77 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001513/5.527, allocations: 32 kB / 3.002 GB, free: 76.97 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.003505/5.531, allocations: 1.341 MB / 3.003 GB, free: 75.56 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/5.531, allocations: 12.03 kB / 3.003 GB, free: 75.55 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/5.532, allocations: 222.1 kB / 3.003 GB, free: 75.33 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/5.534, allocations: 0.7524 MB / 3.004 GB, free: 74.53 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-05/5.534, allocations: 51.95 kB / 3.004 GB, free: 74.48 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002148/5.534, allocations: 79.92 kB / 3.004 GB, free: 74.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001879/5.536, allocations: 1.301 MB / 3.006 GB, free: 73.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/5.537, allocations: 1.061 MB / 3.007 GB, free: 71.97 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/5.537, allocations: 0 / 3.007 GB, free: 71.97 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/5.538, allocations: 4 kB / 3.007 GB, free: 71.97 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.673e-05/5.538, allocations: 46.27 kB / 3.007 GB, free: 71.92 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004767/5.542, allocations: 3.298 MB / 3.01 GB, free: 68.56 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/5.544, allocations: 0.9409 MB / 3.011 GB, free: 67.61 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004326/5.544, allocations: 385.2 kB / 3.011 GB, free: 67.23 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/5.544, allocations: 33.34 kB / 3.011 GB, free: 67.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006972/5.545, allocations: 0.5577 MB / 3.012 GB, free: 66.62 MB / 1.151 GB Notification: Performance of pre-optimization done (n=118): time 3.246e-06/5.545, allocations: 0 / 3.012 GB, free: 66.62 MB / 1.151 GB Notification: Performance of matching and sorting (n=118): time 0.001762/5.547, allocations: 0.9105 MB / 3.013 GB, free: 65.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/5.547, allocations: 260.6 kB / 3.013 GB, free: 65.39 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006907/5.547, allocations: 0.5852 MB / 3.013 GB, free: 64.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.6e-05/5.547, allocations: 45.7 kB / 3.013 GB, free: 64.75 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002725/5.548, allocations: 472.7 kB / 3.014 GB, free: 64.28 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/5.548, allocations: 327.2 kB / 3.014 GB, free: 63.95 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.56e-05/5.548, allocations: 4 kB / 3.014 GB, free: 63.95 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001099/5.548, allocations: 398.7 kB / 3.015 GB, free: 63.55 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004247/5.549, allocations: 318.6 kB / 3.015 GB, free: 63.24 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005009/5.549, allocations: 490.2 kB / 3.015 GB, free: 62.71 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004941/5.55, allocations: 354.3 kB / 3.016 GB, free: 62.37 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/5.55, allocations: 0 / 3.016 GB, free: 62.37 MB / 1.151 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001668/5.551, allocations: 0.9966 MB / 3.017 GB, free: 61.36 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/5.551, allocations: 4 kB / 3.017 GB, free: 61.36 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/5.551, allocations: 4 kB / 3.017 GB, free: 61.35 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005695/5.552, allocations: 88.81 kB / 3.017 GB, free: 61.26 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006716/5.553, allocations: 183.7 kB / 3.017 GB, free: 61.08 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/5.554, allocations: 1.458 MB / 3.018 GB, free: 59.51 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007212/5.555, allocations: 115.3 kB / 3.018 GB, free: 59.39 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.129e-05/5.555, allocations: 43.98 kB / 3.019 GB, free: 59.35 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.0002276/5.555, allocations: 164.9 kB / 3.019 GB, free: 59.19 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/5.555, allocations: 94.86 kB / 3.019 GB, free: 59.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/5.557, allocations: 1.207 MB / 3.02 GB, free: 57.87 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/5.557, allocations: 16 kB / 3.02 GB, free: 57.86 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/5.557, allocations: 0 / 3.02 GB, free: 57.86 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/5.557, allocations: 7.969 kB / 3.02 GB, free: 57.85 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003273/5.561, allocations: 2.347 MB / 3.022 GB, free: 55.45 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/5.561, allocations: 0 / 3.022 GB, free: 55.45 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005949/5.561, allocations: 175.7 kB / 3.022 GB, free: 55.28 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004509/5.562, allocations: 84.78 kB / 3.023 GB, free: 55.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-05/5.562, allocations: 19.97 kB / 3.023 GB, free: 55.18 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/5.563, allocations: 1.477 MB / 3.024 GB, free: 53.58 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/5.563, allocations: 0 / 3.024 GB, free: 53.58 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001779/5.565, allocations: 1.114 MB / 3.025 GB, free: 52.45 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004131/5.565, allocations: 323.5 kB / 3.025 GB, free: 52.11 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/5.566, allocations: 11.98 kB / 3.025 GB, free: 52.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006598/5.566, allocations: 95.91 kB / 3.025 GB, free: 52 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/5.566, allocations: 117.1 kB / 3.026 GB, free: 51.89 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.406e-05/5.567, allocations: 47.97 kB / 3.026 GB, free: 51.84 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004291/5.567, allocations: 447.1 kB / 3.026 GB, free: 51.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/5.567, allocations: 0 / 3.026 GB, free: 51.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001093/5.568, allocations: 391 kB / 3.026 GB, free: 51.02 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.001548/5.57, allocations: 1.113 MB / 3.028 GB, free: 50.01 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001391/5.571, allocations: 0.988 MB / 3.028 GB, free: 49.02 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/5.571, allocations: 4 kB / 3.028 GB, free: 49.01 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007313/5.572, allocations: 0.608 MB / 3.029 GB, free: 48.39 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/5.573, allocations: 248.1 kB / 3.029 GB, free: 48.16 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/5.576, allocations: 1.669 MB / 3.031 GB, free: 46.46 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/5.577, allocations: 1.147 MB / 3.032 GB, free: 45.28 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008864/5.578, allocations: 300.3 kB / 3.032 GB, free: 44.98 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/5.578, allocations: 127.3 kB / 3.032 GB, free: 44.86 MB / 1.151 GB Notification: Performance of SimCode: time 4.1e-07/5.578, allocations: 0 / 3.032 GB, free: 44.86 MB / 1.151 GB Notification: Performance of Templates: time 0.02525/5.603, allocations: 18.7 MB / 3.051 GB, free: 26.3 MB / 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