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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.991/3.991, allocations: 433.4 MB / 440.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.39e-05/2.401e-05, allocations: 4 kB / 0.5325 GB, free: 1.852 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4931/0.4931, allocations: 98.7 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1991/0.6922, allocations: 127.8 MB / 0.7537 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.6926, allocations: 91.94 kB / 0.7538 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0262/0.7188, allocations: 7.132 MB / 0.7607 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.237e-06/0.7188, allocations: 0 / 0.7607 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.993e-05/0.7189, allocations: 19.92 kB / 0.7608 GB, free: 8.496 MB / 0.6355 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.001229/0.7201, allocations: 0.6413 MB / 0.7614 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.7202, allocations: 16.02 kB / 0.7614 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.7203, allocations: 55.72 kB / 0.7615 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005708/0.7209, allocations: 322.5 kB / 0.7618 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.177e-05/0.721, allocations: 23.98 kB / 0.7618 GB, free: 7.348 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.926e-05/0.7211, allocations: 35.94 kB / 0.7618 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009773/0.7221, allocations: 378.5 kB / 0.7622 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.7231, allocations: 436.2 kB / 0.7626 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.7231, allocations: 0 / 0.7626 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.378e-05/0.7232, allocations: 4 kB / 0.7626 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.603e-05/0.7233, allocations: 29.25 kB / 0.7626 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002788/0.7261, allocations: 1.274 MB / 0.7639 GB, free: 5.152 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007782/0.7269, allocations: 344.8 kB / 0.7642 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003761/0.7273, allocations: 172.2 kB / 0.7644 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.997e-05/0.7273, allocations: 8.422 kB / 0.7644 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005479/0.7279, allocations: 232.5 kB / 0.7646 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=52): time 3.619e-06/0.7279, allocations: 3.938 kB / 0.7646 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of matching and sorting (n=52): time 0.000884/0.7288, allocations: 335.7 kB / 0.7649 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.7289, allocations: 63.84 kB / 0.765 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.7292, allocations: 222.6 kB / 0.7652 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.798e-05/0.7293, allocations: 37.7 kB / 0.7652 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.7295, allocations: 193.1 kB / 0.7654 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.7296, allocations: 122.4 kB / 0.7655 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.7297, allocations: 0 / 0.7655 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.7299, allocations: 346.8 kB / 0.7659 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004022/0.7303, allocations: 153.5 kB / 0.766 GB, free: 2.891 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000485/0.7308, allocations: 237.8 kB / 0.7662 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003966/0.7312, allocations: 152.5 kB / 0.7664 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.244e-06/0.7312, allocations: 0 / 0.7664 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001115/0.7324, allocations: 455.8 kB / 0.7668 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/0.7324, allocations: 29.7 kB / 0.7668 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.7324, allocations: 8 kB / 0.7668 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.7325, allocations: 8.219 kB / 0.7669 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/0.7329, allocations: 75.83 kB / 0.7669 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.7329, allocations: 4 kB / 0.7669 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004594/0.7334, allocations: 83.61 kB / 0.767 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.001e-05/0.7335, allocations: 23.98 kB / 0.767 GB, free: 1.801 MB / 0.6355 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.0002084/0.7337, allocations: 152.8 kB / 0.7672 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.029e-05/0.7338, allocations: 31.62 kB / 0.7672 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.7348, allocations: 406.8 kB / 0.7676 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.7349, allocations: 8 kB / 0.7676 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.7349, allocations: 0 / 0.7676 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.7349, allocations: 3.984 kB / 0.7676 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.737, allocations: 0.9695 MB / 0.7686 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.463e-06/0.7371, allocations: 4 kB / 0.7686 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/0.7373, allocations: 47.91 kB / 0.7686 GB, free: 140 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.567e-06/0.7374, allocations: 4 kB / 0.7686 GB, free: 136 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.647e-05/0.7374, allocations: 0 / 0.7686 GB, free: 136 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/0.7374, allocations: 11.89 kB / 0.7686 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.639e-06/0.7374, allocations: 0 / 0.7686 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009845/0.7384, allocations: 479.4 kB / 0.7691 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.336e-05/0.7386, allocations: 104.7 kB / 0.7692 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.012e-05/0.7386, allocations: 11.98 kB / 0.7692 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003596/0.739, allocations: 43.95 kB / 0.7692 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/0.7392, allocations: 80.41 kB / 0.7693 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.012e-05/0.7393, allocations: 16 kB / 0.7693 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001715/0.7395, allocations: 136.2 kB / 0.7695 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.93e-07/0.7395, allocations: 3.938 kB / 0.7695 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005304/0.74, allocations: 79.84 kB / 0.7695 GB, free: 15.15 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.0002513/0.7403, allocations: 151.6 kB / 0.7697 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009526/0.7413, allocations: 457.7 kB / 0.7701 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.304e-06/0.7413, allocations: 3.938 kB / 0.7701 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004304/0.7417, allocations: 206 kB / 0.7703 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.7421, allocations: 31.97 kB / 0.7703 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.7439, allocations: 0.4948 MB / 0.7708 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005613/0.7445, allocations: 0.8203 MB / 0.7716 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000302/0.7448, allocations: 63.27 kB / 0.7717 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.745, allocations: 35.44 kB / 0.7717 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of SimCode: time 1.642e-06/0.745, allocations: 0 / 0.7717 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of Templates: time 0.01256/0.7575, allocations: 4.146 MB / 0.7758 GB, free: 8.719 MB / 0.6511 GB