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.009154/0.009159, allocations: 109.2 kB / 15.06 MB, free: 5.562 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.00118/0.00118, allocations: 177.8 kB / 15.95 MB, free: 5.523 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 2.161/2.161, allocations: 194.6 MB / 211.3 MB, free: 11.03 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.259/2.259, allocations: 236.2 MB / 492.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004659/0.0004661, allocations: 16 kB / 0.587 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5363/0.5368, allocations: 98.7 MB / 0.6833 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode): time 0.002253/0.5391, allocations: 1.81 MB / 0.6851 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.5406, allocations: 0.8969 MB / 0.686 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001699/0.5408, allocations: 14.16 kB / 0.686 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.541, allocations: 35.59 kB / 0.686 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.5412, allocations: 46.77 kB / 0.6861 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.5417, allocations: 160.1 kB / 0.6862 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0005347/0.5422, allocations: 364.6 kB / 0.6866 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005009/0.5427, allocations: 318.7 kB / 0.6869 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002077/0.5429, allocations: 154.7 kB / 0.687 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.5432, allocations: 175.3 kB / 0.6872 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.135e-05/0.5433, allocations: 22.38 kB / 0.6872 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.5434, allocations: 33.36 kB / 0.6872 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.5435, allocations: 87.06 kB / 0.6873 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 9.811e-05/0.5436, allocations: 98.38 kB / 0.6874 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000673/0.5443, allocations: 494.8 kB / 0.6879 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.05e-06/0.5443, allocations: 3.938 kB / 0.6879 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.122e-06/0.5444, allocations: 0 / 0.6879 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.568e-05/0.5444, allocations: 4.938 kB / 0.6879 GB, free: 14.11 MB / 0.5261 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.00117/0.5456, allocations: 0.6548 MB / 0.6885 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.5456, allocations: 10.41 kB / 0.6886 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.5458, allocations: 53.42 kB / 0.6886 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004549/0.5462, allocations: 335.7 kB / 0.6889 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.025e-05/0.5463, allocations: 39.86 kB / 0.689 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.5464, allocations: 51.41 kB / 0.689 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.5477, allocations: 0.5136 MB / 0.6895 GB, free: 13 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.5477, allocations: 5.375 kB / 0.6895 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.762e-05/0.5478, allocations: 15.84 kB / 0.6895 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-05/0.5478, allocations: 22.41 kB / 0.6896 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.5491, allocations: 459.1 kB / 0.69 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002738/0.5518, allocations: 1.387 MB / 0.6913 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.553, allocations: 419.3 kB / 0.6917 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.751e-05/0.553, allocations: 10.38 kB / 0.6918 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006764/0.5537, allocations: 270.2 kB / 0.692 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=52): time 4.013e-06/0.5538, allocations: 0 / 0.692 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52): time 0.001608/0.5554, allocations: 0.567 MB / 0.6926 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.233e-05/0.5554, allocations: 69.78 kB / 0.6926 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003457/0.5558, allocations: 268 kB / 0.6929 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.64e-05/0.5559, allocations: 53.67 kB / 0.6929 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.556, allocations: 187.8 kB / 0.6931 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.5562, allocations: 131.8 kB / 0.6932 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.5562, allocations: 10.59 kB / 0.6933 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.411e-05/0.5563, allocations: 350.9 kB / 0.6936 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005659/0.5569, allocations: 189.8 kB / 0.6938 GB, free: 10.53 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006142/0.5575, allocations: 270.2 kB / 0.694 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005431/0.5581, allocations: 213.9 kB / 0.6942 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.991e-06/0.5581, allocations: 4 kB / 0.6942 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001435/0.5596, allocations: 0.5634 MB / 0.6948 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/0.5596, allocations: 39.94 kB / 0.6948 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.5596, allocations: 6.156 kB / 0.6948 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.5597, allocations: 6.156 kB / 0.6948 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003665/0.56, allocations: 74.22 kB / 0.6949 GB, free: 9.965 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.5601, allocations: 9.312 kB / 0.6949 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000489/0.5606, allocations: 100 kB / 0.695 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.225e-05/0.5607, allocations: 27.55 kB / 0.695 GB, free: 9.918 MB / 0.5261 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.0003644/0.561, allocations: 228.8 kB / 0.6953 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.756e-05/0.5611, allocations: 35.06 kB / 0.6953 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/0.5624, allocations: 495.7 kB / 0.6958 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.5624, allocations: 5.781 kB / 0.6958 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.778e-06/0.5624, allocations: 5.125 kB / 0.6958 GB, free: 9.508 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.5625, allocations: 10.7 kB / 0.6958 GB, free: 9.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002373/0.5648, allocations: 1.129 MB / 0.6969 GB, free: 8.871 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.726e-06/0.5649, allocations: 5.328 kB / 0.6969 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.5651, allocations: 47.58 kB / 0.6969 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.892e-06/0.5652, allocations: 1.938 kB / 0.6969 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.266e-05/0.5652, allocations: 14.56 kB / 0.697 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.828e-06/0.5652, allocations: 1.375 kB / 0.697 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.034e-06/0.5652, allocations: 5.375 kB / 0.697 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.5664, allocations: 0.5373 MB / 0.6975 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.493e-05/0.5664, allocations: 121.5 kB / 0.6976 GB, free: 8.449 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.41e-05/0.5665, allocations: 17.05 kB / 0.6976 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003685/0.5669, allocations: 48.72 kB / 0.6977 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002026/0.5671, allocations: 73.56 kB / 0.6977 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.266e-05/0.5672, allocations: 20.14 kB / 0.6978 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001821/0.5674, allocations: 163.3 kB / 0.6979 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.74e-07/0.5674, allocations: 1.625 kB / 0.6979 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006033/0.568, allocations: 124 kB / 0.698 GB, free: 8.227 MB / 0.5261 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.0002107/0.5682, allocations: 139.1 kB / 0.6982 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001231/0.5695, allocations: 0.5293 MB / 0.6987 GB, free: 7.852 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5695, allocations: 0 / 0.6987 GB, free: 7.852 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005697/0.5701, allocations: 243.9 kB / 0.6989 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.5705, allocations: 46.41 kB / 0.699 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.572, allocations: 0.8006 MB / 0.6997 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.5724, allocations: 0.8239 MB / 0.7005 GB, free: 6.406 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003008/0.5727, allocations: 57.38 kB / 0.7006 GB, free: 6.383 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.5729, allocations: 48.92 kB / 0.7006 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of SimCode: time 1.583e-06/0.5729, allocations: 0 / 0.7006 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of Templates: time 0.01238/0.5853, allocations: 4.468 MB / 0.705 GB, free: 4.18 MB / 0.5261 GB