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.358/2.358, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001496/0.001496, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.756/1.756, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.001172/0.001172, allocations: 87.94 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.882e-05/3.884e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3962, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.273/5.669, allocations: 1.734 GB / 2.953 GB, free: 79.96 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/5.67, allocations: 103.9 kB / 2.953 GB, free: 79.86 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1387/5.808, allocations: 65.51 MB / 3.017 GB, free: 14.02 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.653e-06/5.808, allocations: 0 / 3.017 GB, free: 14.02 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001116/5.809, allocations: 35.94 kB / 3.017 GB, free: 13.98 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.002766/5.811, allocations: 1.342 MB / 3.018 GB, free: 12.57 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/5.811, allocations: 8.031 kB / 3.018 GB, free: 12.57 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/5.812, allocations: 222.2 kB / 3.019 GB, free: 12.35 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/5.814, allocations: 0.7639 MB / 3.019 GB, free: 11.54 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.86e-05/5.814, allocations: 94.36 kB / 3.019 GB, free: 11.45 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002205/5.814, allocations: 124 kB / 3.02 GB, free: 11.33 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/5.816, allocations: 1.226 MB / 3.021 GB, free: 10.04 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.641e-05/5.816, allocations: 7.922 kB / 3.021 GB, free: 10.03 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/5.816, allocations: 48 kB / 3.021 GB, free: 9.98 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.961e-05/5.817, allocations: 42.28 kB / 3.021 GB, free: 9.938 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002033/5.819, allocations: 1.371 MB / 3.022 GB, free: 8.559 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005553/5.824, allocations: 3.525 MB / 3.026 GB, free: 4.949 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/5.826, allocations: 1.005 MB / 3.027 GB, free: 3.938 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000578/5.826, allocations: 420.3 kB / 3.027 GB, free: 3.523 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001285/5.826, allocations: 41.02 kB / 3.027 GB, free: 3.48 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009023/5.827, allocations: 0.575 MB / 3.028 GB, free: 2.887 MB / 1.167 GB Notification: Performance of pre-optimization done (n=118): time 2.986e-06/5.827, allocations: 0 / 3.028 GB, free: 2.887 MB / 1.167 GB Notification: Performance of matching and sorting (n=118): time 0.002008/5.829, allocations: 0.9618 MB / 3.029 GB, free: 1.914 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.279e-05/5.829, allocations: 252.3 kB / 3.029 GB, free: 1.613 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009554/5.83, allocations: 0.6754 MB / 3.029 GB, free: 0.9297 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001577/5.831, allocations: 73.69 kB / 3.029 GB, free: 0.8516 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003293/5.831, allocations: 464.9 kB / 3.03 GB, free: 400 kB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002416/5.831, allocations: 339.2 kB / 3.03 GB, free: 56 kB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/5.831, allocations: 28 kB / 3.03 GB, free: 28 kB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.6468/6.478, allocations: 401.9 kB / 3.031 GB, free: 395.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/6.479, allocations: 336.4 kB / 3.031 GB, free: 395.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009625/6.48, allocations: 0.5082 MB / 3.031 GB, free: 395.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007568/6.481, allocations: 393.2 kB / 3.032 GB, free: 395.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/6.481, allocations: 1.031 kB / 3.032 GB, free: 395.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002609/6.484, allocations: 1.078 MB / 3.033 GB, free: 395.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/6.484, allocations: 10.38 kB / 3.033 GB, free: 395.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/6.484, allocations: 2.156 kB / 3.033 GB, free: 395.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006238/6.484, allocations: 90.36 kB / 3.033 GB, free: 395.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007844/6.485, allocations: 186.6 kB / 3.033 GB, free: 395.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/6.487, allocations: 1.529 MB / 3.035 GB, free: 393.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009061/6.488, allocations: 135.3 kB / 3.035 GB, free: 393.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/6.488, allocations: 46.38 kB / 3.035 GB, free: 393.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 () * 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.0002569/6.488, allocations: 210.8 kB / 3.035 GB, free: 393.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/6.488, allocations: 101.7 kB / 3.035 GB, free: 393.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002779/6.491, allocations: 1.309 MB / 3.036 GB, free: 393.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/6.491, allocations: 13.41 kB / 3.036 GB, free: 393.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/6.491, allocations: 0.6562 kB / 3.036 GB, free: 393.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/6.491, allocations: 7.312 kB / 3.036 GB, free: 393.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00461/6.496, allocations: 2.579 MB / 3.039 GB, free: 393.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/6.496, allocations: 3.094 kB / 3.039 GB, free: 393.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007104/6.497, allocations: 173.5 kB / 3.039 GB, free: 393.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005144/6.497, allocations: 85.86 kB / 3.039 GB, free: 393.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.141e-05/6.497, allocations: 35.69 kB / 3.039 GB, free: 393.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/6.499, allocations: 1.543 MB / 3.041 GB, free: 392 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/6.499, allocations: 2.5 kB / 3.041 GB, free: 392 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002456/6.501, allocations: 1.192 MB / 3.042 GB, free: 391.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006519/6.502, allocations: 340 kB / 3.042 GB, free: 391.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/6.502, allocations: 26.36 kB / 3.042 GB, free: 391.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00077/6.503, allocations: 109 kB / 3.042 GB, free: 391.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003769/6.503, allocations: 117.9 kB / 3.042 GB, free: 391.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/6.503, allocations: 48.62 kB / 3.043 GB, free: 391.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008558/6.504, allocations: 0.5058 MB / 3.043 GB, free: 391.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/6.504, allocations: 1.156 kB / 3.043 GB, free: 391.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001665/6.506, allocations: 431.3 kB / 3.043 GB, free: 391.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) * 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.002413/6.508, allocations: 1.063 MB / 3.044 GB, free: 391.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002593/6.511, allocations: 1.053 MB / 3.046 GB, free: 391.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/6.511, allocations: 1.219 kB / 3.046 GB, free: 391.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001245/6.512, allocations: 0.653 MB / 3.046 GB, free: 391.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/6.514, allocations: 279.2 kB / 3.046 GB, free: 391.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004959/6.519, allocations: 1.734 MB / 3.048 GB, free: 390.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/6.52, allocations: 1.148 MB / 3.049 GB, free: 390 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001374/6.521, allocations: 306.8 kB / 3.05 GB, free: 390 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004052/6.522, allocations: 127.6 kB / 3.05 GB, free: 390 MB / 1.167 GB Notification: Performance of SimCode: time 9.32e-07/6.522, allocations: 0.9062 kB / 3.05 GB, free: 390 MB / 1.167 GB Notification: Performance of Templates: time 0.05842/6.58, allocations: 25.32 MB / 3.074 GB, free: 388.3 MB / 1.167 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