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.CoolingModeNonIntegrated.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.CoolingModeNonIntegrated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated") Notification: Performance of loadModel(Buildings): time 3.935/3.935, allocations: 433.4 MB / 440.9 MB, free: 10.49 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.112e-05/2.119e-05, allocations: 8 kB / 0.5325 GB, free: 1.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5352/0.5352, allocations: 98.7 MB / 0.6289 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1975/0.7328, allocations: 128.7 MB / 0.7546 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/0.7331, allocations: 95.88 kB / 0.7547 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02721/0.7604, allocations: 6.712 MB / 0.7613 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.218e-06/0.7604, allocations: 0 / 0.7613 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.742e-05/0.7605, allocations: 7.938 kB / 0.7613 GB, free: 8.02 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001183/0.7616, allocations: 0.6112 MB / 0.7619 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.7617, allocations: 12.02 kB / 0.7619 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.7618, allocations: 43.48 kB / 0.7619 GB, free: 7.297 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004966/0.7623, allocations: 294.3 kB / 0.7622 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.342e-05/0.7624, allocations: 16 kB / 0.7622 GB, free: 6.953 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.65e-05/0.7625, allocations: 23.98 kB / 0.7622 GB, free: 6.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000662/0.7632, allocations: 245.5 kB / 0.7625 GB, free: 6.691 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007508/0.7639, allocations: 320.9 kB / 0.7628 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.764, allocations: 3.984 kB / 0.7628 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.916e-05/0.764, allocations: 3.938 kB / 0.7628 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.538e-05/0.7641, allocations: 16.52 kB / 0.7628 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002024/0.7661, allocations: 0.936 MB / 0.7637 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006067/0.7667, allocations: 263.4 kB / 0.764 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/0.767, allocations: 129.4 kB / 0.7641 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.411e-05/0.7671, allocations: 4.281 kB / 0.7641 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004633/0.7676, allocations: 211.1 kB / 0.7643 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=37): time 3.688e-06/0.7676, allocations: 0 / 0.7643 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37): time 0.0007863/0.7684, allocations: 297.1 kB / 0.7646 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.7684, allocations: 63.39 kB / 0.7646 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.7688, allocations: 217.8 kB / 0.7648 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.443e-05/0.7688, allocations: 37.7 kB / 0.7649 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.769, allocations: 160.8 kB / 0.765 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.7692, allocations: 90.86 kB / 0.7651 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.7692, allocations: 0 / 0.7651 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.7694, allocations: 346.8 kB / 0.7654 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.7697, allocations: 121.1 kB / 0.7656 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003781/0.7701, allocations: 186 kB / 0.7657 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003612/0.7705, allocations: 124.8 kB / 0.7659 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.79e-06/0.7705, allocations: 0 / 0.7659 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001005/0.7715, allocations: 403.6 kB / 0.7662 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.479e-05/0.7716, allocations: 71.55 kB / 0.7663 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.003e-06/0.7716, allocations: 0 / 0.7663 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.7717, allocations: 4 kB / 0.7663 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/0.772, allocations: 55.91 kB / 0.7664 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.772, allocations: 7.922 kB / 0.7664 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.7724, allocations: 51.81 kB / 0.7664 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.027e-05/0.7725, allocations: 20 kB / 0.7664 GB, free: 2.445 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$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.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count,$PRE.chiNumOn.y,chiNumOn.y,$PRE.chiNumOn.nextTime,chiNumOn.nextTime,$PRE.chiNumOn.index,chiNumOn.index,cooModCon.swi.expr[1],cooModCon.swi.expr[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 2 * 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.0002052/0.7727, allocations: 144.8 kB / 0.7666 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-05/0.7728, allocations: 23.72 kB / 0.7666 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008651/0.7737, allocations: 340.3 kB / 0.7669 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.289e-06/0.7737, allocations: 8 kB / 0.7669 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.7737, allocations: 4 kB / 0.7669 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.407e-06/0.7737, allocations: 0 / 0.7669 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.7754, allocations: 0.7836 MB / 0.7677 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.7754, allocations: 0 / 0.7677 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.7756, allocations: 47.91 kB / 0.7677 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.639e-06/0.7757, allocations: 0 / 0.7677 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/0.7757, allocations: 7.984 kB / 0.7678 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.752e-06/0.7757, allocations: 0 / 0.7678 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.857e-06/0.7757, allocations: 0 / 0.7678 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007919/0.7765, allocations: 422.9 kB / 0.7682 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.655e-05/0.7766, allocations: 108.7 kB / 0.7683 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.547e-05/0.7767, allocations: 8 kB / 0.7683 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003251/0.7771, allocations: 39.95 kB / 0.7683 GB, free: 452 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.7772, allocations: 47.92 kB / 0.7684 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.8e-05/0.7773, allocations: 19.98 kB / 0.7684 GB, free: 384 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001689/0.7775, allocations: 144.7 kB / 0.7685 GB, free: 240 kB / 0.6355 GB Notification: Performance of sort global known variables: time 8.4e-07/0.7775, allocations: 7.938 kB / 0.7685 GB, free: 232 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005459/0.7781, allocations: 75.98 kB / 0.7686 GB, free: 156 kB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 30 (cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,$cse1,$cse2,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,TCHWSup.T_start,TCHWSup.count,chiNumOn.y,chiNumOn.nextTime,chiNumOn.index) * Number of discrete states: 6 (chiNumOn.nextTime,TCHWSup.count,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,chiNumOn.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 30 * 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.0003194/0.7784, allocations: 150.3 kB / 0.7687 GB, free: 16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008116/0.7792, allocations: 421 kB / 0.7691 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.748e-06/0.7793, allocations: 0 / 0.7691 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00034/0.7796, allocations: 159.8 kB / 0.7693 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.78, allocations: 32.25 kB / 0.7693 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.7811, allocations: 402 kB / 0.7697 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005388/0.7816, allocations: 0.7881 MB / 0.7705 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002161/0.7819, allocations: 39.25 kB / 0.7705 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.782, allocations: 31.44 kB / 0.7705 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of SimCode: time 1.59e-06/0.782, allocations: 0 / 0.7705 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of Templates: time 0.01087/0.7929, allocations: 3.545 MB / 0.774 GB, free: 10.55 MB / 0.6511 GB