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.ChillerStage.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.ChillerStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") Notification: Performance of loadModel(Buildings): time 3.9/3.9, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.48e-05/2.487e-05, allocations: 4 kB / 0.5325 GB, free: 1.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.555/0.5551, allocations: 98.71 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2013/0.7564, allocations: 130.3 MB / 0.7561 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/0.7567, allocations: 99.92 kB / 0.7562 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04129/0.7981, allocations: 10.53 MB / 0.7665 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.389e-06/0.7981, allocations: 0 / 0.7665 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.995e-05/0.7982, allocations: 15.94 kB / 0.7665 GB, free: 2.594 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001555/0.7997, allocations: 0.7866 MB / 0.7673 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.7998, allocations: 12.02 kB / 0.7673 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.8, allocations: 63.3 kB / 0.7674 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007352/0.8007, allocations: 374.2 kB / 0.7677 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.228e-05/0.8008, allocations: 27.98 kB / 0.7677 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.8009, allocations: 36 kB / 0.7678 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001027/0.8019, allocations: 390.5 kB / 0.7682 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.8031, allocations: 460.2 kB / 0.7686 GB, free: 360 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.8031, allocations: 0 / 0.7686 GB, free: 360 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.035e-05/0.8032, allocations: 7.984 kB / 0.7686 GB, free: 352 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.8032, allocations: 11.95 kB / 0.7686 GB, free: 340 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003035/0.8062, allocations: 1.348 MB / 0.7699 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009476/0.8072, allocations: 420.8 kB / 0.7703 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000445/0.8077, allocations: 204.6 kB / 0.7705 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.94e-05/0.8078, allocations: 8.562 kB / 0.7705 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006187/0.8084, allocations: 266.9 kB / 0.7708 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 4.614e-06/0.8084, allocations: 0 / 0.7708 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.001106/0.8095, allocations: 434.6 kB / 0.7712 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.8096, allocations: 67.95 kB / 0.7713 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004875/0.8101, allocations: 305.9 kB / 0.7716 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.362e-05/0.8102, allocations: 45.69 kB / 0.7716 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.8104, allocations: 209.2 kB / 0.7718 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.8106, allocations: 142.1 kB / 0.7719 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.8107, allocations: 3.938 kB / 0.7719 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002219/0.8109, allocations: 358.7 kB / 0.7723 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004404/0.8114, allocations: 169.5 kB / 0.7724 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005311/0.8119, allocations: 253.9 kB / 0.7727 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004706/0.8124, allocations: 160.5 kB / 0.7728 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.052e-06/0.8124, allocations: 4 kB / 0.7728 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001339/0.8138, allocations: 0.5191 MB / 0.7733 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.529e-05/0.8139, allocations: 93.09 kB / 0.7734 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.8139, allocations: 4 kB / 0.7734 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.378e-05/0.8139, allocations: 4 kB / 0.7734 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/0.8144, allocations: 79.77 kB / 0.7735 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.8144, allocations: 8.219 kB / 0.7735 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004782/0.8149, allocations: 75.56 kB / 0.7736 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.833e-05/0.815, allocations: 28 kB / 0.7736 GB, free: 11.02 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: 69 ($PRE.chiStaCon.con1.enableFire,$PRE.chiStaCon.con2.enableFire,$PRE.chiStaCon.con3.enableFire,$PRE.chiStaCon.con4.enableFire,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.con1.enableFire,chiStaCon.con1.fire,$PRE.chiStaCon.con1.t_start,chiStaCon.con1.t_start,chiStaCon.con1.condition,$PRE.chiStaCon.oneOn.localActive,chiStaCon.oneOn.localActive,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,$PRE.chiStaCon.oneOn.newActive,chiStaCon.oneOn.newActive,$PRE.chiStaCon.oneOn.oldActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,$PRE.chiStaCon.off.localActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.oldActive,chiStaCon.off.active,$PRE.chiStaCon.twoOn.localActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.enableFire,chiStaCon.con2.fire,$PRE.chiStaCon.con2.t_start,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.enableFire,chiStaCon.con3.fire,$PRE.chiStaCon.con3.t_start,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.enableFire,chiStaCon.con4.fire,$PRE.chiStaCon.con4.t_start,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,$PRE.cooMod.y,cooMod.y,$PRE.cooMod.nextTime,cooMod.nextTime,$PRE.cooMod.index,cooMod.index,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * 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.0002361/0.8152, allocations: 158 kB / 0.7738 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.8154, allocations: 39.53 kB / 0.7738 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.8167, allocations: 499.4 kB / 0.7743 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.8167, allocations: 12 kB / 0.7743 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.735e-06/0.8167, allocations: 0 / 0.7743 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.8167, allocations: 3.984 kB / 0.7743 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002563/0.8193, allocations: 1.134 MB / 0.7754 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.8194, allocations: 7.984 kB / 0.7754 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003107/0.8197, allocations: 51.91 kB / 0.7755 GB, free: 9.082 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/0.8197, allocations: 4 kB / 0.7755 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.152e-05/0.8198, allocations: 11.98 kB / 0.7755 GB, free: 9.066 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.8198, allocations: 0 / 0.7755 GB, free: 9.066 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.022e-06/0.8198, allocations: 4 kB / 0.7755 GB, free: 9.062 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.8211, allocations: 0.5616 MB / 0.776 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.8212, allocations: 128.5 kB / 0.7762 GB, free: 8.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.501e-05/0.8213, allocations: 8 kB / 0.7762 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004401/0.8218, allocations: 47.94 kB / 0.7762 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000252/0.822, allocations: 92.42 kB / 0.7763 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.341e-05/0.8221, allocations: 23.98 kB / 0.7763 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003075/0.8225, allocations: 210 kB / 0.7765 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.72e-07/0.8225, allocations: 4 kB / 0.7765 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006891/0.8232, allocations: 107.9 kB / 0.7766 GB, free: 7.855 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: 51 (chiStaCon.con3.enableFire,chiStaCon.con4.enableFire,chiStaCon.con1.enableFire,chiStaCon.con2.enableFire,chiStaCon.twoOn.localActive,chiStaCon.off.localActive,chiStaCon.oneOn.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.con1.fire,chiStaCon.con1.t_start,chiStaCon.con1.condition,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.newActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,chiStaCon.off.newActive,chiStaCon.off.oldActive,chiStaCon.off.active,chiStaCon.twoOn.newActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.fire,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.fire,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.fire,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.y,cooMod.nextTime,cooMod.index,TCHWSup.T_start,TCHWSup.count) * Number of discrete states: 6 (TCHWSup.count,cooMod.nextTime,chiStaCon.oneOn.newActive,chiStaCon.off.newActive,chiStaCon.twoOn.newActive,cooMod.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0008871/0.8241, allocations: 284.9 kB / 0.7769 GB, free: 7.594 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.8253, allocations: 0.6176 MB / 0.7775 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.8253, allocations: 0 / 0.7775 GB, free: 6.941 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005238/0.8259, allocations: 250.5 kB / 0.7777 GB, free: 6.695 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.8263, allocations: 36.88 kB / 0.7778 GB, free: 6.66 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.828, allocations: 0.6351 MB / 0.7784 GB, free: 6.004 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006586/0.8286, allocations: 0.8634 MB / 0.7792 GB, free: 5.113 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003556/0.829, allocations: 72.09 kB / 0.7793 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.8292, allocations: 39.42 kB / 0.7794 GB, free: 5.004 MB / 0.6511 GB Notification: Performance of SimCode: time 1.621e-06/0.8293, allocations: 8 kB / 0.7794 GB, free: 4.996 MB / 0.6511 GB Notification: Performance of Templates: time 0.02022/0.8495, allocations: 5.21 MB / 0.7844 GB, free: 15.81 MB / 0.6667 GB