Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01075/0.01076, allocations: 221.2 kB / 15.17 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001124/0.001123, allocations: 179.4 kB / 16.06 MB, free: 5.828 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 4.047/4.047, allocations: 389.1 MB / 405.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.204/4.204, allocations: 472.3 MB / 0.9018 GB, free: 9.188 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004695/0.0004698, allocations: 16 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1333, allocations: 98.72 MB / 1.104 GB, free: 42.01 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode): time 0.002059/0.1354, allocations: 1.811 MB / 1.106 GB, free: 40.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.1369, allocations: 0.8976 MB / 1.107 GB, free: 39.28 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.1372, allocations: 11.94 kB / 1.107 GB, free: 39.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.1373, allocations: 35.66 kB / 1.107 GB, free: 39.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.1375, allocations: 46.8 kB / 1.107 GB, free: 39.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004579/0.138, allocations: 155.8 kB / 1.107 GB, free: 39.04 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004923/0.1385, allocations: 0.5461 MB / 1.107 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004171/0.1389, allocations: 318.3 kB / 1.108 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.1391, allocations: 155.4 kB / 1.108 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.1393, allocations: 171.2 kB / 1.108 GB, free: 37.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.723e-05/0.1394, allocations: 24 kB / 1.108 GB, free: 37.85 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.1395, allocations: 35.92 kB / 1.108 GB, free: 37.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.756e-05/0.1396, allocations: 83.72 kB / 1.108 GB, free: 37.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.389e-05/0.1397, allocations: 101.5 kB / 1.108 GB, free: 37.63 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00043/0.1402, allocations: 495 kB / 1.109 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.176e-06/0.1402, allocations: 4 kB / 1.109 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.72e-06/0.1402, allocations: 2.531 kB / 1.109 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.792e-06/0.1402, allocations: 0 / 1.109 GB, free: 37.14 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.00108/0.1413, allocations: 0.6666 MB / 1.109 GB, free: 36.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1414, allocations: 8.031 kB / 1.109 GB, free: 36.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.1415, allocations: 47.44 kB / 1.109 GB, free: 36.37 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004106/0.1419, allocations: 326.4 kB / 1.11 GB, free: 36.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.391e-05/0.142, allocations: 48.02 kB / 1.11 GB, free: 35.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.397e-05/0.1421, allocations: 48 kB / 1.11 GB, free: 35.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.1431, allocations: 0.5198 MB / 1.11 GB, free: 35.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.1432, allocations: 2 kB / 1.11 GB, free: 35.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.383e-05/0.1432, allocations: 16 kB / 1.11 GB, free: 35.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.294e-05/0.1433, allocations: 17 kB / 1.11 GB, free: 35.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.1444, allocations: 466.9 kB / 1.111 GB, free: 34.91 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002388/0.1468, allocations: 1.396 MB / 1.112 GB, free: 33.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009589/0.1478, allocations: 414.3 kB / 1.113 GB, free: 33.06 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004953/0.1483, allocations: 213.4 kB / 1.113 GB, free: 32.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.74e-05/0.1484, allocations: 8.391 kB / 1.113 GB, free: 32.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005934/0.149, allocations: 275.9 kB / 1.113 GB, free: 32.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=52): time 4.729e-06/0.149, allocations: 0 / 1.113 GB, free: 32.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=52): time 0.00141/0.1505, allocations: 0.5548 MB / 1.114 GB, free: 32.01 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.1505, allocations: 66.66 kB / 1.114 GB, free: 31.94 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.1508, allocations: 268.6 kB / 1.114 GB, free: 31.67 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.6e-05/0.1509, allocations: 53.7 kB / 1.114 GB, free: 31.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.151, allocations: 197.2 kB / 1.114 GB, free: 31.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.1511, allocations: 118.4 kB / 1.114 GB, free: 31.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.1512, allocations: 16 kB / 1.114 GB, free: 31.28 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.036e-05/0.1513, allocations: 343.5 kB / 1.115 GB, free: 30.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000492/0.1518, allocations: 196.6 kB / 1.115 GB, free: 30.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005254/0.1523, allocations: 277.1 kB / 1.115 GB, free: 30.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004792/0.1528, allocations: 211.5 kB / 1.115 GB, free: 30.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.702e-06/0.1528, allocations: 0 / 1.115 GB, free: 30.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001265/0.1541, allocations: 0.5755 MB / 1.116 GB, free: 29.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.468e-05/0.1542, allocations: 29.7 kB / 1.116 GB, free: 29.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.1542, allocations: 11.92 kB / 1.116 GB, free: 29.62 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.1542, allocations: 6.781 kB / 1.116 GB, free: 29.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003354/0.1546, allocations: 67.84 kB / 1.116 GB, free: 29.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.1546, allocations: 11.92 kB / 1.116 GB, free: 29.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004467/0.1551, allocations: 106.6 kB / 1.116 GB, free: 29.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.96e-05/0.1551, allocations: 27.94 kB / 1.116 GB, free: 29.41 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.0003019/0.1554, allocations: 221.5 kB / 1.116 GB, free: 29.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.547e-05/0.1555, allocations: 39.56 kB / 1.116 GB, free: 29.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.1566, allocations: 499.3 kB / 1.117 GB, free: 28.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.217e-06/0.1567, allocations: 4 kB / 1.117 GB, free: 28.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.149e-06/0.1567, allocations: 0 / 1.117 GB, free: 28.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.399e-06/0.1567, allocations: 3.984 kB / 1.117 GB, free: 28.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00208/0.1588, allocations: 1.14 MB / 1.118 GB, free: 27.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.163e-06/0.1588, allocations: 0 / 1.118 GB, free: 27.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002347/0.1591, allocations: 47.91 kB / 1.118 GB, free: 27.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.944e-06/0.1591, allocations: 4 kB / 1.118 GB, free: 27.42 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.67e-05/0.1591, allocations: 8.891 kB / 1.118 GB, free: 27.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.301e-06/0.1592, allocations: 3.984 kB / 1.118 GB, free: 27.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.357e-06/0.1592, allocations: 0 / 1.118 GB, free: 27.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009664/0.1602, allocations: 0.5452 MB / 1.119 GB, free: 26.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.51e-05/0.1602, allocations: 119.6 kB / 1.119 GB, free: 26.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.528e-05/0.1603, allocations: 12 kB / 1.119 GB, free: 26.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003432/0.1607, allocations: 55.42 kB / 1.119 GB, free: 26.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/0.1609, allocations: 72.45 kB / 1.119 GB, free: 26.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.75e-05/0.1609, allocations: 19.98 kB / 1.119 GB, free: 26.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001566/0.1611, allocations: 164.5 kB / 1.119 GB, free: 26.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.83e-07/0.1611, allocations: 0 / 1.119 GB, free: 26.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000565/0.1617, allocations: 111.7 kB / 1.119 GB, free: 26.3 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.0002024/0.1619, allocations: 151.8 kB / 1.119 GB, free: 26.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001127/0.163, allocations: 0.5295 MB / 1.12 GB, free: 25.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.852e-06/0.1631, allocations: 0 / 1.12 GB, free: 25.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005135/0.1636, allocations: 243.1 kB / 1.12 GB, free: 25.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/0.1641, allocations: 53.91 kB / 1.12 GB, free: 25.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.1656, allocations: 0.8073 MB / 1.121 GB, free: 24.52 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.1659, allocations: 0.8263 MB / 1.122 GB, free: 23.67 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000278/0.1662, allocations: 60.31 kB / 1.122 GB, free: 23.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.1663, allocations: 39.42 kB / 1.122 GB, free: 23.58 MB / 0.6042 GB Notification: Performance of SimCode: time 1.626e-06/0.1663, allocations: 0 / 1.122 GB, free: 23.58 MB / 0.6042 GB Notification: Performance of Templates: time 0.01139/0.1777, allocations: 4.487 MB / 1.126 GB, free: 19.33 MB / 0.6042 GB