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.42/2.42, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001776/0.001776, allocations: 179 kB / 498.1 MB, free: 5.727 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.759/1.759, allocations: 223.2 MB / 0.7948 GB, free: 17.85 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.00109/0.00109, allocations: 94.83 kB / 0.9346 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000524/0.0005246, allocations: 7.562 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3937, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.461/4.855, allocations: 1.733 GB / 2.956 GB, free: 250.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/4.855, allocations: 113.8 kB / 2.956 GB, free: 250.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1427/4.998, allocations: 65.83 MB / 3.021 GB, free: 195 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.377e-06/4.998, allocations: 0 / 3.021 GB, free: 195 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001451/4.998, allocations: 32 kB / 3.021 GB, free: 195 MB / 1.167 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.00388/5.002, allocations: 1.466 MB / 3.022 GB, free: 193.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/5.002, allocations: 12.03 kB / 3.022 GB, free: 193.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/5.004, allocations: 225.9 kB / 3.022 GB, free: 193.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001934/5.006, allocations: 0.7585 MB / 3.023 GB, free: 192.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/5.006, allocations: 101 kB / 3.023 GB, free: 192.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000388/5.006, allocations: 115.8 kB / 3.023 GB, free: 192.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0033/5.009, allocations: 1.266 MB / 3.025 GB, free: 191.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.489e-05/5.01, allocations: 3.938 kB / 3.025 GB, free: 191.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001885/5.01, allocations: 48.25 kB / 3.025 GB, free: 191.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-05/5.01, allocations: 46.03 kB / 3.025 GB, free: 191.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002427/5.012, allocations: 1.427 MB / 3.026 GB, free: 190.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006315/5.019, allocations: 3.519 MB / 3.029 GB, free: 187.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/5.02, allocations: 1.061 MB / 3.031 GB, free: 187.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/5.02, allocations: 40.95 kB / 3.031 GB, free: 187 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/5.021, allocations: 0.5985 MB / 3.031 GB, free: 186.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=118): time 4.137e-06/5.021, allocations: 0 / 3.031 GB, free: 186.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=118): time 0.003623/5.025, allocations: 1.506 MB / 3.033 GB, free: 185.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.723e-05/5.025, allocations: 251.1 kB / 3.033 GB, free: 185.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/5.026, allocations: 0.6921 MB / 3.034 GB, free: 184.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001528/5.027, allocations: 60.2 kB / 3.034 GB, free: 184.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004197/5.027, allocations: 464.5 kB / 3.034 GB, free: 184.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002747/5.027, allocations: 352.8 kB / 3.034 GB, free: 183.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.682e-05/5.027, allocations: 23.62 kB / 3.034 GB, free: 183.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001435/5.027, allocations: 406.1 kB / 3.035 GB, free: 183.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006562/5.028, allocations: 368.5 kB / 3.035 GB, free: 183.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007446/5.029, allocations: 0.5331 MB / 3.036 GB, free: 182.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007752/5.03, allocations: 408.5 kB / 3.036 GB, free: 182.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/5.03, allocations: 0 / 3.036 GB, free: 182.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002353/5.032, allocations: 1.128 MB / 3.037 GB, free: 181.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/5.032, allocations: 7.938 kB / 3.037 GB, free: 181.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/5.032, allocations: 4 kB / 3.037 GB, free: 181.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006226/5.033, allocations: 88.75 kB / 3.037 GB, free: 181.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007073/5.033, allocations: 189.6 kB / 3.037 GB, free: 181.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/5.035, allocations: 1.536 MB / 3.039 GB, free: 180 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009869/5.036, allocations: 145.8 kB / 3.039 GB, free: 179.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/5.036, allocations: 47.72 kB / 3.039 GB, free: 179.9 MB / 1.167 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 () * Number of clocked 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.0007796/5.037, allocations: 372.2 kB / 3.039 GB, free: 179.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003018/5.038, allocations: 98.78 kB / 3.04 GB, free: 179.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002683/5.04, allocations: 1.344 MB / 3.041 GB, free: 178.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/5.04, allocations: 16 kB / 3.041 GB, free: 178 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/5.04, allocations: 0 / 3.041 GB, free: 178 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/5.04, allocations: 7.969 kB / 3.041 GB, free: 178 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004352/5.045, allocations: 2.63 MB / 3.043 GB, free: 175.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/5.045, allocations: 0 / 3.043 GB, free: 175.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006536/5.045, allocations: 179.7 kB / 3.044 GB, free: 175.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005041/5.046, allocations: 92.7 kB / 3.044 GB, free: 175.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.53e-05/5.046, allocations: 31.98 kB / 3.044 GB, free: 175 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001522/5.047, allocations: 1.567 MB / 3.045 GB, free: 173.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/5.047, allocations: 0 / 3.045 GB, free: 173.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002305/5.05, allocations: 1.239 MB / 3.046 GB, free: 172.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006367/5.05, allocations: 331.5 kB / 3.047 GB, free: 171.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002165/5.051, allocations: 23.98 kB / 3.047 GB, free: 171.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008167/5.052, allocations: 111.9 kB / 3.047 GB, free: 171.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002267/5.052, allocations: 117.1 kB / 3.047 GB, free: 171.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.794e-05/5.052, allocations: 43.98 kB / 3.047 GB, free: 171.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0007753/5.053, allocations: 0.5263 MB / 3.048 GB, free: 170.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.21e-07/5.053, allocations: 0 / 3.048 GB, free: 170.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001614/5.054, allocations: 435.1 kB / 3.048 GB, free: 170.5 MB / 1.167 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) * Number of clocked states: 0 () * 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.002515/5.057, allocations: 1.108 MB / 3.049 GB, free: 169.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00213/5.059, allocations: 1.107 MB / 3.05 GB, free: 168.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/5.059, allocations: 0 / 3.05 GB, free: 168.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001107/5.06, allocations: 0.678 MB / 3.051 GB, free: 167.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/5.062, allocations: 273.5 kB / 3.051 GB, free: 167.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005037/5.067, allocations: 2.672 MB / 3.054 GB, free: 164.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006758/5.067, allocations: 1.147 MB / 3.055 GB, free: 163.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001176/5.068, allocations: 304.7 kB / 3.055 GB, free: 163.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003913/5.069, allocations: 127.4 kB / 3.055 GB, free: 163.2 MB / 1.167 GB Notification: Performance of SimCode: time 2.314e-06/5.069, allocations: 4 kB / 3.055 GB, free: 163.2 MB / 1.167 GB Notification: Performance of Templates: time 0.03511/5.104, allocations: 23.66 MB / 3.078 GB, free: 139.7 MB / 1.167 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