Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.877/3.877, allocations: 432.7 MB / 445.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.574e-05/3.584e-05, allocations: 4.797 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.176, allocations: 98.73 MB / 0.6347 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1956/0.3716, allocations: 128.4 MB / 0.7601 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002975/0.3719, allocations: 95.92 kB / 0.7602 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02718/0.3991, allocations: 7.251 MB / 0.7673 GB, free: 9.895 MB / 0.6511 GB Notification: Performance of FrontEnd: time 6.026e-06/0.3992, allocations: 0 / 0.7673 GB, free: 9.895 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.963e-05/0.3992, allocations: 15.92 kB / 0.7673 GB, free: 9.879 MB / 0.6511 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.001284/0.4005, allocations: 0.6446 MB / 0.768 GB, free: 9.176 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.4006, allocations: 8.031 kB / 0.768 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.4007, allocations: 47.83 kB / 0.768 GB, free: 9.121 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005735/0.4013, allocations: 334.4 kB / 0.7683 GB, free: 8.754 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.766e-05/0.4014, allocations: 41 kB / 0.7684 GB, free: 8.715 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.4015, allocations: 48 kB / 0.7684 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.4027, allocations: 0.4904 MB / 0.7689 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.4027, allocations: 0 / 0.7689 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.784e-05/0.4028, allocations: 19.98 kB / 0.7689 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.553e-05/0.4029, allocations: 21 kB / 0.7689 GB, free: 8.125 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.4039, allocations: 403.8 kB / 0.7693 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002949/0.4069, allocations: 1.38 MB / 0.7707 GB, free: 6.293 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000865/0.4077, allocations: 377.8 kB / 0.771 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004085/0.4082, allocations: 182.2 kB / 0.7712 GB, free: 5.73 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.96e-05/0.4082, allocations: 12.44 kB / 0.7712 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005596/0.4088, allocations: 241.3 kB / 0.7714 GB, free: 5.473 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=52): time 3.635e-06/0.4088, allocations: 7.875 kB / 0.7715 GB, free: 5.465 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.0009334/0.4098, allocations: 367.7 kB / 0.7718 GB, free: 5.098 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.4099, allocations: 71.78 kB / 0.7719 GB, free: 5.016 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/0.4102, allocations: 244.6 kB / 0.7721 GB, free: 4.77 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.143e-05/0.4103, allocations: 53.69 kB / 0.7722 GB, free: 4.711 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.4105, allocations: 185.2 kB / 0.7723 GB, free: 4.523 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001613/0.4107, allocations: 130.4 kB / 0.7725 GB, free: 4.395 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.419e-05/0.4108, allocations: 16 kB / 0.7725 GB, free: 4.379 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002029/0.411, allocations: 346.8 kB / 0.7728 GB, free: 4.031 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004501/0.4114, allocations: 161.5 kB / 0.773 GB, free: 3.871 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005236/0.412, allocations: 255.4 kB / 0.7732 GB, free: 3.594 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004356/0.4124, allocations: 187.7 kB / 0.7734 GB, free: 3.406 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.4124, allocations: 0 / 0.7734 GB, free: 3.406 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001204/0.4137, allocations: 0.5287 MB / 0.7739 GB, free: 2.867 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.802e-05/0.4137, allocations: 33.7 kB / 0.7739 GB, free: 2.828 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.4137, allocations: 3.984 kB / 0.7739 GB, free: 2.824 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.4138, allocations: 4 kB / 0.7739 GB, free: 2.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004249/0.4142, allocations: 75.77 kB / 0.774 GB, free: 2.746 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/0.4143, allocations: 12.16 kB / 0.774 GB, free: 2.734 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005081/0.4148, allocations: 91.64 kB / 0.7741 GB, free: 2.645 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.838e-05/0.4149, allocations: 20 kB / 0.7741 GB, free: 2.625 MB / 0.6511 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.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.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.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 () * 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.0002312/0.4151, allocations: 180.8 kB / 0.7743 GB, free: 2.441 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.29e-05/0.4152, allocations: 31.62 kB / 0.7743 GB, free: 2.41 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.4162, allocations: 443 kB / 0.7748 GB, free: 1.969 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.364e-06/0.4163, allocations: 4 kB / 0.7748 GB, free: 1.965 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.335e-06/0.4163, allocations: 0 / 0.7748 GB, free: 1.965 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.4163, allocations: 7.984 kB / 0.7748 GB, free: 1.957 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002261/0.4186, allocations: 1.07 MB / 0.7758 GB, free: 0.832 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.299e-06/0.4186, allocations: 3.984 kB / 0.7758 GB, free: 0.8281 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003031/0.4189, allocations: 51.91 kB / 0.7759 GB, free: 0.7773 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.424e-05/0.419, allocations: 7.953 kB / 0.7759 GB, free: 0.7695 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.544e-05/0.419, allocations: 12 kB / 0.7759 GB, free: 0.7578 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.093e-06/0.419, allocations: 0 / 0.7759 GB, free: 0.7578 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.12e-06/0.419, allocations: 0 / 0.7759 GB, free: 0.7578 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009626/0.42, allocations: 0.5031 MB / 0.7764 GB, free: 244 kB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.4201, allocations: 112.6 kB / 0.7765 GB, free: 112 kB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.995e-05/0.4202, allocations: 23.94 kB / 0.7765 GB, free: 88 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000408/0.4207, allocations: 51.94 kB / 0.7766 GB, free: 36 kB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.4344/0.8551, allocations: 70.48 kB / 0.7766 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.461e-05/0.8552, allocations: 17.84 kB / 0.7766 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002368/0.8554, allocations: 164.5 kB / 0.7768 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.81e-07/0.8555, allocations: 0 / 0.7768 GB, free: 138.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006488/0.8561, allocations: 100.6 kB / 0.7769 GB, free: 138.2 MB / 0.6511 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.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.con4.fire,cooModCon.con4.t_start,cooModCon.con4.condition,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) * 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.0002597/0.8564, allocations: 148.4 kB / 0.777 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001011/0.8574, allocations: 0.4884 MB / 0.7775 GB, free: 138 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.8574, allocations: 0 / 0.7775 GB, free: 138 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004523/0.8579, allocations: 218.6 kB / 0.7777 GB, free: 138 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.8583, allocations: 44.11 kB / 0.7778 GB, free: 138 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.8597, allocations: 0.5187 MB / 0.7783 GB, free: 137.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.86, allocations: 0.8261 MB / 0.7791 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003103/0.8604, allocations: 63.67 kB / 0.7791 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.8605, allocations: 39.38 kB / 0.7792 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of SimCode: time 1.89e-06/0.8606, allocations: 0 / 0.7792 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of Templates: time 0.01446/0.875, allocations: 4.408 MB / 0.7835 GB, free: 137 MB / 0.6511 GB