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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.519/2.519, allocations: 390.5 MB / 398 MB, free: 10.98 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.001359/0.001359, allocations: 191.3 kB / 491.2 MB, free: 1.613 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.968/1.968, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.001189/0.001189, allocations: 99.12 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.854e-05/1.867e-05, allocations: 0 / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3471, allocations: 143 MB / 1.212 GB, free: 39.59 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.136/5.483, allocations: 1.733 GB / 2.946 GB, free: 105.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/5.483, allocations: 100.9 kB / 2.946 GB, free: 105.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.136/5.619, allocations: 64.58 MB / 3.009 GB, free: 45.67 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.903e-06/5.619, allocations: 4 kB / 3.009 GB, free: 45.67 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001029/5.619, allocations: 32 kB / 3.009 GB, free: 45.64 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.002775/5.622, allocations: 1.342 MB / 3.01 GB, free: 44.23 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/5.622, allocations: 12.03 kB / 3.01 GB, free: 44.21 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/5.623, allocations: 222.2 kB / 3.011 GB, free: 44 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/5.625, allocations: 0.76 MB / 3.011 GB, free: 43.19 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.778e-05/5.625, allocations: 47.98 kB / 3.011 GB, free: 43.14 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/5.625, allocations: 72 kB / 3.011 GB, free: 43.07 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001922/5.627, allocations: 1.304 MB / 3.013 GB, free: 41.77 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/5.629, allocations: 1.057 MB / 3.014 GB, free: 40.64 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/5.629, allocations: 4 kB / 3.014 GB, free: 40.64 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.583e-05/5.629, allocations: 3.984 kB / 3.014 GB, free: 40.64 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.906e-05/5.629, allocations: 46.22 kB / 3.014 GB, free: 40.59 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004544/5.633, allocations: 3.295 MB / 3.017 GB, free: 37.23 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/5.635, allocations: 0.9434 MB / 3.018 GB, free: 36.28 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004311/5.635, allocations: 389.2 kB / 3.018 GB, free: 35.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/5.635, allocations: 41.33 kB / 3.018 GB, free: 35.86 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007149/5.636, allocations: 0.546 MB / 3.019 GB, free: 35.29 MB / 1.151 GB Notification: Performance of pre-optimization done (n=118): time 2.605e-06/5.636, allocations: 0 / 3.019 GB, free: 35.29 MB / 1.151 GB Notification: Performance of matching and sorting (n=118): time 0.001675/5.638, allocations: 0.9028 MB / 3.02 GB, free: 34.38 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/5.638, allocations: 252.6 kB / 3.02 GB, free: 34.07 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005813/5.638, allocations: 0.5891 MB / 3.021 GB, free: 33.48 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.408e-05/5.638, allocations: 41.7 kB / 3.021 GB, free: 33.43 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/5.639, allocations: 468.7 kB / 3.021 GB, free: 32.97 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/5.639, allocations: 335.2 kB / 3.021 GB, free: 32.64 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/5.639, allocations: 4 kB / 3.021 GB, free: 32.63 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000105/5.639, allocations: 398.7 kB / 3.022 GB, free: 32.23 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004118/5.639, allocations: 318.6 kB / 3.022 GB, free: 31.92 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005084/5.64, allocations: 490.2 kB / 3.022 GB, free: 31.39 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005247/5.64, allocations: 366.2 kB / 3.023 GB, free: 31.04 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/5.64, allocations: 0 / 3.023 GB, free: 31.04 MB / 1.151 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001626/5.642, allocations: 0.9926 MB / 3.024 GB, free: 30.04 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/5.642, allocations: 9.562 kB / 3.024 GB, free: 30.03 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/5.642, allocations: 4.078 kB / 3.024 GB, free: 30.02 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005393/5.643, allocations: 84.88 kB / 3.024 GB, free: 29.94 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006516/5.643, allocations: 187.7 kB / 3.024 GB, free: 29.75 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/5.645, allocations: 1.461 MB / 3.026 GB, free: 28.17 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006547/5.645, allocations: 107.4 kB / 3.026 GB, free: 28.07 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.001e-05/5.645, allocations: 47.98 kB / 3.026 GB, free: 28.02 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.0002099/5.646, allocations: 169.7 kB / 3.026 GB, free: 27.85 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/5.646, allocations: 94.88 kB / 3.026 GB, free: 27.76 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00211/5.648, allocations: 1.199 MB / 3.027 GB, free: 26.54 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/5.648, allocations: 12 kB / 3.027 GB, free: 26.53 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/5.648, allocations: 4 kB / 3.027 GB, free: 26.52 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/5.648, allocations: 7.938 kB / 3.027 GB, free: 26.52 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003177/5.651, allocations: 2.349 MB / 3.029 GB, free: 24.12 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/5.651, allocations: 0 / 3.029 GB, free: 24.12 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006298/5.652, allocations: 175.7 kB / 3.03 GB, free: 23.95 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004549/5.652, allocations: 88.75 kB / 3.03 GB, free: 23.86 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.717e-05/5.652, allocations: 15.98 kB / 3.03 GB, free: 23.84 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/5.654, allocations: 1.488 MB / 3.031 GB, free: 22.23 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/5.654, allocations: 0 / 3.031 GB, free: 22.23 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00166/5.655, allocations: 1.118 MB / 3.032 GB, free: 21.09 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003762/5.656, allocations: 319.5 kB / 3.033 GB, free: 20.76 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/5.656, allocations: 8 kB / 3.033 GB, free: 20.75 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006624/5.657, allocations: 87.91 kB / 3.033 GB, free: 20.67 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/5.657, allocations: 125.1 kB / 3.033 GB, free: 20.55 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.331e-05/5.657, allocations: 43.97 kB / 3.033 GB, free: 20.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004498/5.657, allocations: 443.1 kB / 3.033 GB, free: 20.07 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/5.657, allocations: 0 / 3.033 GB, free: 20.07 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001225/5.659, allocations: 391 kB / 3.034 GB, free: 19.69 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.001603/5.66, allocations: 1.119 MB / 3.035 GB, free: 18.68 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001421/5.662, allocations: 0.9801 MB / 3.036 GB, free: 17.69 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/5.662, allocations: 0.5625 kB / 3.036 GB, free: 17.69 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007369/5.662, allocations: 0.6158 MB / 3.036 GB, free: 17.06 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/5.663, allocations: 244.2 kB / 3.036 GB, free: 16.84 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00329/5.667, allocations: 1.683 MB / 3.038 GB, free: 15.12 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/5.667, allocations: 1.139 MB / 3.039 GB, free: 13.95 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008337/5.668, allocations: 312.2 kB / 3.04 GB, free: 13.64 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/5.668, allocations: 115.4 kB / 3.04 GB, free: 13.53 MB / 1.151 GB Notification: Performance of SimCode: time 8.01e-07/5.668, allocations: 0 / 3.04 GB, free: 13.53 MB / 1.151 GB Notification: Performance of Templates: time 0.6174/6.286, allocations: 18.67 MB / 3.058 GB, free: 383.9 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