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.004305/0.004305, allocations: 230.5 kB / 15.82 MB, free: 6.297 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.001184/0.001184, allocations: 174.6 kB / 16.7 MB, free: 5.457 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 3.407/3.407, allocations: 389.1 MB / 406.5 MB, free: 6.695 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.44/4.44, allocations: 472.3 MB / 0.9024 GB, free: 10.79 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004799/0.0004802, allocations: 20 kB / 1.008 GB, free: 6.695 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2098, allocations: 98.69 MB / 1.105 GB, free: 3.844 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7869/0.9968, allocations: 128.5 MB / 1.23 GB, free: 196.6 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003372/0.9972, allocations: 102.7 kB / 1.23 GB, free: 196.6 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 0.02788/1.025, allocations: 7.274 MB / 1.237 GB, free: 192.4 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.904e-06/1.025, allocations: 0 / 1.237 GB, free: 192.4 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.108e-05/1.025, allocations: 8 kB / 1.237 GB, free: 192.4 MB / 0.7917 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.001389/1.027, allocations: 0.6781 MB / 1.238 GB, free: 191.7 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/1.027, allocations: 12.03 kB / 1.238 GB, free: 191.7 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001366/1.027, allocations: 47.44 kB / 1.238 GB, free: 191.7 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005062/1.027, allocations: 328.6 kB / 1.238 GB, free: 191.3 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.971e-05/1.027, allocations: 44.25 kB / 1.238 GB, free: 191.3 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/1.027, allocations: 45.81 kB / 1.238 GB, free: 191.3 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/1.029, allocations: 0.5249 MB / 1.239 GB, free: 190.9 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/1.029, allocations: 4 kB / 1.239 GB, free: 190.9 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.686e-05/1.029, allocations: 15.94 kB / 1.239 GB, free: 190.9 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.512e-05/1.029, allocations: 21.22 kB / 1.239 GB, free: 190.9 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/1.03, allocations: 453.1 kB / 1.239 GB, free: 190.6 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002821/1.033, allocations: 1.376 MB / 1.241 GB, free: 189.6 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/1.034, allocations: 418.7 kB / 1.241 GB, free: 189.3 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005411/1.035, allocations: 216.7 kB / 1.241 GB, free: 189.1 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 6.012e-05/1.035, allocations: 8.438 kB / 1.241 GB, free: 189.1 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007044/1.036, allocations: 265.8 kB / 1.242 GB, free: 188.9 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=52): time 3.747e-06/1.036, allocations: 0.9062 kB / 1.242 GB, free: 188.9 MB / 0.7917 GB Notification: Performance of matching and sorting (n=52): time 0.001735/1.037, allocations: 0.5568 MB / 1.242 GB, free: 188.5 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/1.037, allocations: 70.23 kB / 1.242 GB, free: 188.4 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003567/1.038, allocations: 280.4 kB / 1.243 GB, free: 188.2 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 8.912e-05/1.038, allocations: 46.77 kB / 1.243 GB, free: 188.2 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/1.038, allocations: 191.7 kB / 1.243 GB, free: 188 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/1.038, allocations: 127.2 kB / 1.243 GB, free: 187.9 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/1.038, allocations: 10.88 kB / 1.243 GB, free: 187.9 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.044e-05/1.038, allocations: 348.9 kB / 1.243 GB, free: 187.6 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005894/1.039, allocations: 186.6 kB / 1.243 GB, free: 187.5 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006302/1.04, allocations: 277.2 kB / 1.244 GB, free: 187.2 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005724/1.04, allocations: 209.8 kB / 1.244 GB, free: 187.1 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.361e-06/1.04, allocations: 3.938 kB / 1.244 GB, free: 187.1 MB / 0.7917 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001468/1.042, allocations: 0.5675 MB / 1.244 GB, free: 186.7 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 4.129e-05/1.042, allocations: 40.84 kB / 1.244 GB, free: 186.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/1.042, allocations: 0 / 1.244 GB, free: 186.6 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/1.042, allocations: 8 kB / 1.244 GB, free: 186.6 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005284/1.042, allocations: 70.33 kB / 1.245 GB, free: 186.5 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/1.042, allocations: 15.89 kB / 1.245 GB, free: 186.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006484/1.043, allocations: 92.78 kB / 1.245 GB, free: 186.5 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/1.043, allocations: 19.44 kB / 1.245 GB, free: 186.4 MB / 0.7917 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 () * 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.0003833/1.044, allocations: 233.7 kB / 1.245 GB, free: 186.3 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.039e-05/1.044, allocations: 31.62 kB / 1.245 GB, free: 186.2 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/1.045, allocations: 489.8 kB / 1.245 GB, free: 185.9 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/1.045, allocations: 9.062 kB / 1.245 GB, free: 185.9 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.045, allocations: 0 / 1.245 GB, free: 185.9 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/1.045, allocations: 7.938 kB / 1.245 GB, free: 185.9 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/1.047, allocations: 1.117 MB / 1.246 GB, free: 185 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.431e-06/1.047, allocations: 5.375 kB / 1.246 GB, free: 185 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00034/1.048, allocations: 50.98 kB / 1.247 GB, free: 184.9 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/1.048, allocations: 4 kB / 1.247 GB, free: 184.9 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/1.048, allocations: 13.23 kB / 1.247 GB, free: 184.9 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/1.048, allocations: 4 kB / 1.247 GB, free: 184.9 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.048, allocations: 0 / 1.247 GB, free: 184.9 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/1.049, allocations: 0.5392 MB / 1.247 GB, free: 184.5 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 8.13e-05/1.049, allocations: 112.2 kB / 1.247 GB, free: 184.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.232e-05/1.049, allocations: 17.36 kB / 1.247 GB, free: 184.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000487/1.05, allocations: 55.48 kB / 1.247 GB, free: 184.3 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/1.05, allocations: 80.67 kB / 1.247 GB, free: 184.2 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.262e-05/1.05, allocations: 19.3 kB / 1.247 GB, free: 184.2 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002205/1.05, allocations: 160.8 kB / 1.248 GB, free: 184.1 MB / 0.7917 GB Notification: Performance of sort global known variables: time 4.2e-07/1.05, allocations: 0 / 1.248 GB, free: 184.1 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0005965/1.051, allocations: 101.3 kB / 1.248 GB, free: 184 MB / 0.7917 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) * 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.0002356/1.051, allocations: 150.9 kB / 1.248 GB, free: 183.9 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001328/1.053, allocations: 0.5342 MB / 1.248 GB, free: 183.5 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.053, allocations: 0 / 1.248 GB, free: 183.5 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0006066/1.053, allocations: 244.4 kB / 1.249 GB, free: 183.3 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005931/1.054, allocations: 48.31 kB / 1.249 GB, free: 183.3 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/1.056, allocations: 0.8011 MB / 1.249 GB, free: 182.5 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/1.056, allocations: 0.8224 MB / 1.25 GB, free: 181.7 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0003931/1.056, allocations: 66.55 kB / 1.25 GB, free: 181.6 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/1.056, allocations: 39.42 kB / 1.25 GB, free: 181.6 MB / 0.7917 GB Notification: Performance of SimCode: time 1.553e-06/1.057, allocations: 0 / 1.25 GB, free: 181.6 MB / 0.7917 GB Notification: Performance of Templates: time 0.01361/1.07, allocations: 4.42 MB / 1.255 GB, free: 177.4 MB / 0.7917 GB