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.279/2.279, allocations: 252.6 MB / 265.2 MB, free: 5.676 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002151/0.00215, allocations: 186.7 kB / 324.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.161/2.161, allocations: 205.4 MB / 0.5754 GB, free: 10.49 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.001535/0.001535, allocations: 92.95 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.735e-05/3.753e-05, allocations: 7.984 kB / 0.7911 GB, free: 96.58 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1983, allocations: 106.2 MB / 0.8949 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9004/1.099, allocations: 135.6 MB / 1.027 GB, free: 15 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/1.099, allocations: 87.19 kB / 1.027 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03215/1.131, allocations: 7.38 MB / 1.035 GB, free: 8.703 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.144e-06/1.131, allocations: 0 / 1.035 GB, free: 8.703 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.052e-05/1.131, allocations: 19.94 kB / 1.035 GB, free: 8.684 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001627/1.133, allocations: 0.642 MB / 1.035 GB, free: 8.02 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/1.133, allocations: 8.031 kB / 1.035 GB, free: 8.012 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/1.133, allocations: 51.44 kB / 1.035 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006394/1.134, allocations: 325.8 kB / 1.036 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.838e-05/1.134, allocations: 43.06 kB / 1.036 GB, free: 7.637 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/1.134, allocations: 54.14 kB / 1.036 GB, free: 7.598 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/1.135, allocations: 0.4927 MB / 1.036 GB, free: 7.258 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/1.135, allocations: 0 / 1.036 GB, free: 7.258 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.82e-05/1.136, allocations: 25.19 kB / 1.036 GB, free: 7.246 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-05/1.136, allocations: 20.94 kB / 1.036 GB, free: 7.223 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/1.137, allocations: 396.7 kB / 1.037 GB, free: 6.98 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00332/1.14, allocations: 1.404 MB / 1.038 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009372/1.141, allocations: 389.5 kB / 1.038 GB, free: 5.633 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004391/1.142, allocations: 181.5 kB / 1.039 GB, free: 5.523 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.1e-05/1.142, allocations: 4.438 kB / 1.039 GB, free: 5.52 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006224/1.142, allocations: 253.7 kB / 1.039 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=52): time 3.556e-06/1.142, allocations: 0 / 1.039 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.00104/1.143, allocations: 365.7 kB / 1.039 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/1.143, allocations: 63.72 kB / 1.039 GB, free: 4.973 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003871/1.144, allocations: 249.1 kB / 1.039 GB, free: 4.766 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.72e-05/1.144, allocations: 51.25 kB / 1.039 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002155/1.144, allocations: 198.4 kB / 1.04 GB, free: 4.559 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/1.144, allocations: 131.3 kB / 1.04 GB, free: 4.449 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/1.144, allocations: 13.81 kB / 1.04 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001657/1.145, allocations: 345.2 kB / 1.04 GB, free: 4.113 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004778/1.145, allocations: 167.7 kB / 1.04 GB, free: 4.016 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005501/1.146, allocations: 248.9 kB / 1.041 GB, free: 3.82 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004756/1.146, allocations: 189.4 kB / 1.041 GB, free: 3.68 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/1.146, allocations: 0 / 1.041 GB, free: 3.68 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001307/1.147, allocations: 0.5374 MB / 1.041 GB, free: 3.254 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.765e-05/1.147, allocations: 29.7 kB / 1.041 GB, free: 3.219 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/1.148, allocations: 4 kB / 1.041 GB, free: 3.215 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/1.148, allocations: 4 kB / 1.041 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00056/1.148, allocations: 75.02 kB / 1.041 GB, free: 3.145 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/1.148, allocations: 4 kB / 1.041 GB, free: 3.141 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006835/1.149, allocations: 93.22 kB / 1.041 GB, free: 3.059 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-05/1.149, allocations: 21.44 kB / 1.041 GB, free: 3.043 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.0002503/1.149, allocations: 176.5 kB / 1.042 GB, free: 2.883 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.008e-05/1.149, allocations: 35.58 kB / 1.042 GB, free: 2.848 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/1.15, allocations: 446 kB / 1.042 GB, free: 2.531 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/1.15, allocations: 8 kB / 1.042 GB, free: 2.523 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.15, allocations: 0 / 1.042 GB, free: 2.523 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/1.151, allocations: 3.984 kB / 1.042 GB, free: 2.52 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/1.153, allocations: 1.08 MB / 1.043 GB, free: 1.645 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/1.153, allocations: 0 / 1.043 GB, free: 1.645 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003727/1.153, allocations: 50.91 kB / 1.043 GB, free: 1.598 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.164e-05/1.153, allocations: 8 kB / 1.043 GB, free: 1.59 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.411e-05/1.153, allocations: 14.69 kB / 1.043 GB, free: 1.582 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/1.154, allocations: 3.984 kB / 1.043 GB, free: 1.578 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.154, allocations: 3.984 kB / 1.043 GB, free: 1.574 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/1.155, allocations: 0.5005 MB / 1.044 GB, free: 1.156 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/1.155, allocations: 104.7 kB / 1.044 GB, free: 1.035 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.267e-05/1.155, allocations: 15.55 kB / 1.044 GB, free: 1.027 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005154/1.155, allocations: 50.39 kB / 1.044 GB, free: 0.9844 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/1.156, allocations: 77.58 kB / 1.044 GB, free: 0.9258 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.538e-05/1.156, allocations: 15.25 kB / 1.044 GB, free: 0.9141 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002182/1.156, allocations: 161.7 kB / 1.044 GB, free: 0.7812 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.156, allocations: 0 / 1.044 GB, free: 0.7812 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000627/1.157, allocations: 116.4 kB / 1.044 GB, free: 0.6836 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.0002733/1.157, allocations: 147.5 kB / 1.044 GB, free: 0.5469 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001141/1.158, allocations: 492.9 kB / 1.045 GB, free: 180 kB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.158, allocations: 0 / 1.045 GB, free: 180 kB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005155/1.158, allocations: 223.4 kB / 1.045 GB, free: 20 kB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004636/1.159, allocations: 45.39 kB / 1.045 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/1.16, allocations: 0.5224 MB / 1.046 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004822/1.161, allocations: 0.8279 MB / 1.046 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.00039/1.161, allocations: 63.38 kB / 1.046 GB, free: 14.63 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/1.162, allocations: 39.42 kB / 1.046 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of SimCode: time 1.192e-06/1.162, allocations: 0 / 1.046 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of Templates: time 0.01498/1.177, allocations: 4.373 MB / 1.051 GB, free: 10.29 MB / 0.6667 GB