Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode") translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.58/1.58, allocations: 288.4 MB / 304.3 MB, free: 8.027 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001009/0.001009, allocations: 183.7 kB / 373 MB, free: 10.18 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.4 MB / 0.6317 GB, free: 9.934 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006917/0.0006918, allocations: 94.23 kB / 0.745 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004024, allocations: 15.5 kB / 0.8681 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2126, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.559/4.772, allocations: 2.075 GB / 3.055 GB, free: 241.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/4.772, allocations: 105.4 kB / 3.055 GB, free: 241.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1317/4.904, allocations: 65.46 MB / 3.119 GB, free: 175.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.086e-06/4.904, allocations: 0 / 3.119 GB, free: 175.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001186/4.904, allocations: 31.94 kB / 3.119 GB, free: 175.7 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.003264/4.907, allocations: 1.431 MB / 3.121 GB, free: 174.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/4.907, allocations: 12.03 kB / 3.121 GB, free: 174.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/4.909, allocations: 219.2 kB / 3.121 GB, free: 174 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/4.91, allocations: 0.7765 MB / 3.122 GB, free: 173.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.013e-05/4.91, allocations: 94.7 kB / 3.122 GB, free: 173.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002233/4.91, allocations: 120.4 kB / 3.122 GB, free: 172.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/4.912, allocations: 1.257 MB / 3.123 GB, free: 171.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.906e-05/4.912, allocations: 4.188 kB / 3.123 GB, free: 171.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/4.913, allocations: 51.94 kB / 3.123 GB, free: 171.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.222e-05/4.913, allocations: 46.23 kB / 3.123 GB, free: 171.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/4.915, allocations: 1.422 MB / 3.125 GB, free: 170.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005619/4.92, allocations: 3.489 MB / 3.128 GB, free: 166.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/4.922, allocations: 1.054 MB / 3.129 GB, free: 165.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006848/4.923, allocations: 450 kB / 3.13 GB, free: 165 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/4.923, allocations: 37.02 kB / 3.13 GB, free: 165 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/4.924, allocations: 0.6216 MB / 3.13 GB, free: 164.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 6.061e-06/4.924, allocations: 0 / 3.13 GB, free: 164.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=118): time 0.003616/4.928, allocations: 1.501 MB / 3.132 GB, free: 162.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/4.928, allocations: 256.2 kB / 3.132 GB, free: 162.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/4.929, allocations: 0.7501 MB / 3.133 GB, free: 161.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/4.929, allocations: 61.7 kB / 3.133 GB, free: 161.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003412/4.93, allocations: 464.9 kB / 3.133 GB, free: 161.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002399/4.93, allocations: 347.1 kB / 3.133 GB, free: 160.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.064e-05/4.93, allocations: 24 kB / 3.134 GB, free: 160.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001221/4.93, allocations: 402.7 kB / 3.134 GB, free: 160.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006095/4.931, allocations: 362.4 kB / 3.134 GB, free: 160.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006917/4.931, allocations: 0.5359 MB / 3.135 GB, free: 159.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/4.932, allocations: 0.8368 MB / 3.136 GB, free: 158.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/4.932, allocations: 0 / 3.136 GB, free: 158.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002004/4.934, allocations: 1.133 MB / 3.137 GB, free: 157.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/4.935, allocations: 4 kB / 3.137 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/4.935, allocations: 4 kB / 3.137 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005476/4.935, allocations: 88.86 kB / 3.137 GB, free: 157.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006527/4.936, allocations: 191.6 kB / 3.137 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001592/4.937, allocations: 1.524 MB / 3.138 GB, free: 155.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000817/4.938, allocations: 139.4 kB / 3.139 GB, free: 155.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.151e-05/4.938, allocations: 43.98 kB / 3.139 GB, free: 155.4 MB / 0.948 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.0005561/4.939, allocations: 361.5 kB / 3.139 GB, free: 155 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/4.939, allocations: 94.88 kB / 3.139 GB, free: 154.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/4.941, allocations: 1.34 MB / 3.14 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/4.941, allocations: 16 kB / 3.14 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/4.941, allocations: 0 / 3.14 GB, free: 153.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/4.941, allocations: 7.969 kB / 3.14 GB, free: 153.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003498/4.945, allocations: 2.634 MB / 3.143 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/4.945, allocations: 0 / 3.143 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006072/4.945, allocations: 171.7 kB / 3.143 GB, free: 150.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004615/4.946, allocations: 92.75 kB / 3.143 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.85e-05/4.946, allocations: 27.98 kB / 3.143 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/4.947, allocations: 1.559 MB / 3.145 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/4.947, allocations: 0 / 3.145 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/4.949, allocations: 1.231 MB / 3.146 GB, free: 147.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004374/4.95, allocations: 327.4 kB / 3.146 GB, free: 147.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/4.95, allocations: 35.92 kB / 3.146 GB, free: 147.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006621/4.951, allocations: 115.8 kB / 3.146 GB, free: 147.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/4.951, allocations: 121.2 kB / 3.147 GB, free: 147 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-05/4.951, allocations: 47.92 kB / 3.147 GB, free: 147 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005727/4.951, allocations: 0.5068 MB / 3.147 GB, free: 146.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/4.951, allocations: 0 / 3.147 GB, free: 146.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00117/4.953, allocations: 407.3 kB / 3.147 GB, free: 146 MB / 0.948 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.001683/4.954, allocations: 1.049 MB / 3.149 GB, free: 145.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001776/4.956, allocations: 1.104 MB / 3.15 GB, free: 144 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/4.956, allocations: 4.062 kB / 3.15 GB, free: 144 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008945/4.957, allocations: 0.6776 MB / 3.15 GB, free: 143.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/4.958, allocations: 287 kB / 3.151 GB, free: 143 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004124/4.962, allocations: 2.67 MB / 3.153 GB, free: 140.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/4.963, allocations: 1.116 MB / 3.154 GB, free: 139.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009131/4.964, allocations: 320.5 kB / 3.155 GB, free: 138.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002739/4.964, allocations: 123.4 kB / 3.155 GB, free: 138.7 MB / 0.948 GB Notification: Performance of SimCode: time 7.92e-07/4.964, allocations: 0 / 3.155 GB, free: 138.7 MB / 0.948 GB Notification: Performance of Templates: time 0.03366/4.998, allocations: 23.54 MB / 3.178 GB, free: 115.3 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe 2>&1)