Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.19/2.19, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002131/0.002131, allocations: 181 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.436/2.436, allocations: 205.4 MB / 0.5766 GB, free: 21.15 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001553/0.001553, allocations: 88.36 kB / 0.6811 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006895/0.00069, allocations: 11.03 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2907, allocations: 106.3 MB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode): time 0.003419/0.2942, allocations: 1.827 MB / 0.9007 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00238/0.2967, allocations: 0.9207 MB / 0.9016 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002282/0.2969, allocations: 4 kB / 0.9016 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.2971, allocations: 43.64 kB / 0.9016 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002685/0.2974, allocations: 55.72 kB / 0.9017 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007165/0.2982, allocations: 159.8 kB / 0.9018 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000702/0.2989, allocations: 367.8 kB / 0.9022 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006211/0.2995, allocations: 313.4 kB / 0.9025 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.2998, allocations: 163.5 kB / 0.9026 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003204/0.3001, allocations: 175.2 kB / 0.9028 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.568e-05/0.3002, allocations: 20 kB / 0.9028 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.3004, allocations: 35.98 kB / 0.9028 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.3005, allocations: 91.59 kB / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.3007, allocations: 101.5 kB / 0.903 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007506/0.3014, allocations: 0.491 MB / 0.9035 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3015, allocations: 0 / 0.9035 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3015, allocations: 0 / 0.9035 GB, free: 61.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.3015, allocations: 0 / 0.9035 GB, free: 61.2 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.00179/0.3033, allocations: 0.6654 MB / 0.9042 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.3034, allocations: 8.031 kB / 0.9042 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.3036, allocations: 59.39 kB / 0.9042 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006447/0.3042, allocations: 338.2 kB / 0.9045 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.95e-05/0.3043, allocations: 44.98 kB / 0.9046 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.3045, allocations: 48 kB / 0.9046 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/0.3062, allocations: 0.5176 MB / 0.9051 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.3063, allocations: 0 / 0.9051 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.674e-05/0.3064, allocations: 19.98 kB / 0.9052 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/0.3064, allocations: 32.95 kB / 0.9052 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005666/0.3121, allocations: 451.7 kB / 0.9056 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003744/0.3159, allocations: 1.403 MB / 0.907 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.3216, allocations: 421.7 kB / 0.9074 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.968e-05/0.3217, allocations: 4.438 kB / 0.9074 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009425/0.3227, allocations: 269.3 kB / 0.9077 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=52): time 4.599e-06/0.3227, allocations: 0 / 0.9077 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=52): time 0.006225/0.329, allocations: 0.565 MB / 0.9082 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.329, allocations: 63.84 kB / 0.9083 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004305/0.3295, allocations: 272.5 kB / 0.9085 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/0.3296, allocations: 61.64 kB / 0.9086 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.3298, allocations: 197.2 kB / 0.9088 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001673/0.33, allocations: 122.3 kB / 0.9089 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.777e-05/0.3301, allocations: 16 kB / 0.9089 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.3302, allocations: 350.8 kB / 0.9092 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007854/0.331, allocations: 185.2 kB / 0.9094 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008599/0.3319, allocations: 274 kB / 0.9097 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007599/0.3326, allocations: 216.8 kB / 0.9099 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.3327, allocations: 0 / 0.9099 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001937/0.3346, allocations: 0.5648 MB / 0.9104 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.933e-05/0.3347, allocations: 37.69 kB / 0.9105 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.3347, allocations: 3.938 kB / 0.9105 GB, free: 53.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.931e-05/0.3348, allocations: 11.95 kB / 0.9105 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006023/0.3354, allocations: 67.83 kB / 0.9106 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/0.3354, allocations: 12.16 kB / 0.9106 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009005/0.3444, allocations: 107.4 kB / 0.9107 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001281/0.3446, allocations: 20 kB / 0.9107 GB, free: 53.57 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.condition,cooModCon.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,$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.condition,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con3.enableFire,cooModCon.con3.fire,$PRE.cooModCon.con3.t_start,cooModCon.con3.t_start,cooModCon.con4.condition,cooModCon.con4.enableFire,cooModCon.con4.fire,$PRE.cooModCon.con4.t_start,cooModCon.con4.t_start,cooModCon.stateGraphRoot.activeSteps,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,$PRE.TCHWLeaWSE.T_start,TCHWLeaWSE.T_start,$PRE.TCHWLeaWSE.count,TCHWLeaWSE.count,cooModCon.con3.condition,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 (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004881/0.3451, allocations: 241.7 kB / 0.9109 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.3452, allocations: 27.62 kB / 0.9109 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/0.347, allocations: 491 kB / 0.9114 GB, free: 52.81 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/0.347, allocations: 11.95 kB / 0.9114 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.3471, allocations: 0 / 0.9114 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.3471, allocations: 3.984 kB / 0.9114 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007182/0.3543, allocations: 1.136 MB / 0.9125 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.3543, allocations: 0 / 0.9125 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004274/0.3548, allocations: 51.91 kB / 0.9126 GB, free: 51.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.238e-05/0.3548, allocations: 4 kB / 0.9126 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.633e-05/0.3549, allocations: 15.98 kB / 0.9126 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/0.3549, allocations: 0 / 0.9126 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3549, allocations: 0 / 0.9126 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.3565, allocations: 0.5423 MB / 0.9131 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.262e-05/0.3566, allocations: 116.5 kB / 0.9132 GB, free: 50.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.3567, allocations: 15.98 kB / 0.9133 GB, free: 50.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006352/0.3574, allocations: 59.95 kB / 0.9133 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002869/0.3577, allocations: 76.39 kB / 0.9134 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.958e-05/0.3578, allocations: 16 kB / 0.9134 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002354/0.358, allocations: 164.5 kB / 0.9136 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.61e-07/0.3581, allocations: 0 / 0.9136 GB, free: 50.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008165/0.3589, allocations: 111.7 kB / 0.9137 GB, free: 50.41 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 45 (cooModCon.con3.enableFire,cooModCon.con4.enableFire,cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,cooModCon.parMecCoo.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.condition,cooModCon.con1.fire,cooModCon.con1.t_start,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.condition,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con3.fire,cooModCon.con3.t_start,cooModCon.con4.condition,cooModCon.con4.fire,cooModCon.con4.t_start,cooModCon.stateGraphRoot.activeSteps,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,TCHWLeaWSE.T_start,TCHWLeaWSE.count) * Number of discrete states: 5 (TCHWLeaWSE.count,cooModCon.parMecCoo.newActive,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 49 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002726/0.3592, allocations: 150.6 kB / 0.9138 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.008246/0.3674, allocations: 0.5267 MB / 0.9143 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.3675, allocations: 448 / 0.9143 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009901/0.3685, allocations: 247.1 kB / 0.9146 GB, free: 49.47 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006442/0.3692, allocations: 44.36 kB / 0.9146 GB, free: 49.43 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.3717, allocations: 0.816 MB / 0.9154 GB, free: 48.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/0.3723, allocations: 0.8244 MB / 0.9162 GB, free: 47.74 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005983/0.3729, allocations: 55.38 kB / 0.9163 GB, free: 47.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003235/0.3733, allocations: 47.42 kB / 0.9163 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of SimCode: time 1.533e-06/0.3733, allocations: 0 / 0.9163 GB, free: 47.64 MB / 0.6042 GB Notification: Performance of Templates: time 0.02144/0.3947, allocations: 4.469 MB / 0.9207 GB, free: 43.23 MB / 0.6042 GB