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.ConstantSpeedPumpStage.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.ConstantSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01057/0.01057, allocations: 223.8 kB / 15.18 MB, free: 5.93 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.001188/0.001188, allocations: 176.3 kB / 16.06 MB, free: 5.836 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.997/3.997, allocations: 389.1 MB / 405.9 MB, free: 11.76 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.975/3.975, allocations: 472.3 MB / 0.9018 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001052, allocations: 12 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1345, allocations: 98.72 MB / 1.104 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage): time 0.0022/0.1367, allocations: 1.889 MB / 1.106 GB, free: 40.17 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001685/0.1385, allocations: 0.9694 MB / 1.107 GB, free: 39.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.1387, allocations: 8 kB / 1.107 GB, free: 39.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003114/0.139, allocations: 135.4 kB / 1.107 GB, free: 39.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.1393, allocations: 119.5 kB / 1.107 GB, free: 38.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.1404, allocations: 359.5 kB / 1.107 GB, free: 38.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005583/0.141, allocations: 0.5931 MB / 1.108 GB, free: 38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004594/0.1415, allocations: 348 kB / 1.108 GB, free: 37.67 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.1417, allocations: 187.3 kB / 1.109 GB, free: 37.49 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004217/0.1421, allocations: 258 kB / 1.109 GB, free: 37.24 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.1423, allocations: 20 kB / 1.109 GB, free: 37.22 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005198/0.1428, allocations: 151.8 kB / 1.109 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001762/0.143, allocations: 119.6 kB / 1.109 GB, free: 36.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.1432, allocations: 106.8 kB / 1.109 GB, free: 36.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.1442, allocations: 0.619 MB / 1.11 GB, free: 36.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.7e-06/0.1442, allocations: 3.984 kB / 1.11 GB, free: 36.22 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.586e-06/0.1443, allocations: 0 / 1.11 GB, free: 36.22 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.05e-05/0.1443, allocations: 0 / 1.11 GB, free: 36.22 MB / 0.6042 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.002011/0.1463, allocations: 0.7943 MB / 1.111 GB, free: 35.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1464, allocations: 11.97 kB / 1.111 GB, free: 35.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/0.1466, allocations: 55.34 kB / 1.111 GB, free: 35.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007863/0.1474, allocations: 383 kB / 1.111 GB, free: 34.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.414e-05/0.1475, allocations: 56.92 kB / 1.111 GB, free: 34.83 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.1477, allocations: 52.56 kB / 1.111 GB, free: 34.78 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/0.1495, allocations: 0.5264 MB / 1.112 GB, free: 34.25 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/0.1496, allocations: 7.203 kB / 1.112 GB, free: 34.24 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.1497, allocations: 19.98 kB / 1.112 GB, free: 34.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.1497, allocations: 12 kB / 1.112 GB, free: 34.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001625/0.1514, allocations: 451.7 kB / 1.112 GB, free: 33.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00385/0.1552, allocations: 1.374 MB / 1.113 GB, free: 32.35 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001702/0.157, allocations: 0.4908 MB / 1.114 GB, free: 31.86 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008276/0.1579, allocations: 242.4 kB / 1.114 GB, free: 31.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.661e-05/0.1579, allocations: 4.562 kB / 1.114 GB, free: 31.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/0.159, allocations: 322.3 kB / 1.114 GB, free: 31.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=61): time 7.091e-06/0.159, allocations: 0 / 1.114 GB, free: 31.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.002748/0.1618, allocations: 0.7293 MB / 1.115 GB, free: 30.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/0.1619, allocations: 71.89 kB / 1.115 GB, free: 30.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000713/0.1626, allocations: 382.9 kB / 1.116 GB, free: 30.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000117/0.1628, allocations: 57.69 kB / 1.116 GB, free: 30.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.163, allocations: 209.3 kB / 1.116 GB, free: 29.83 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/0.1633, allocations: 157.2 kB / 1.116 GB, free: 29.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.378e-05/0.1634, allocations: 16 kB / 1.116 GB, free: 29.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1635, allocations: 362.7 kB / 1.116 GB, free: 29.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007376/0.1643, allocations: 189.9 kB / 1.116 GB, free: 29.11 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008596/0.1652, allocations: 292.2 kB / 1.117 GB, free: 28.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007527/0.1659, allocations: 264.3 kB / 1.117 GB, free: 28.54 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.682e-06/0.166, allocations: 2.031 kB / 1.117 GB, free: 28.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002091/0.1681, allocations: 0.6852 MB / 1.118 GB, free: 27.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.708e-05/0.1682, allocations: 95.91 kB / 1.118 GB, free: 27.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.1682, allocations: 0 / 1.118 GB, free: 27.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.913e-05/0.1683, allocations: 8 kB / 1.118 GB, free: 27.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005246/0.1688, allocations: 67.84 kB / 1.118 GB, free: 27.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.297e-05/0.1689, allocations: 7.984 kB / 1.118 GB, free: 27.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005174/0.1694, allocations: 61.5 kB / 1.118 GB, free: 27.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.1695, allocations: 28 kB / 1.118 GB, free: 27.55 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 71 ($PRE.conSpePumSta.con1.enableFire,$PRE.conSpePumSta.con2.enableFire,$PRE.conSpePumSta.con3.enableFire,$PRE.conSpePumSta.con4.enableFire,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conSpePumSta.con1.condition,conSpePumSta.con1.enableFire,conSpePumSta.con1.fire,$PRE.conSpePumSta.con1.t_start,conSpePumSta.con1.t_start,$PRE.conSpePumSta.oneOn.localActive,conSpePumSta.oneOn.localActive,conSpePumSta.oneOn.inPort[2].occupied,conSpePumSta.oneOn.outPort[2].available,$PRE.conSpePumSta.oneOn.newActive,conSpePumSta.oneOn.newActive,$PRE.conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.active,conSpePumSta.off.active,$PRE.conSpePumSta.off.localActive,conSpePumSta.off.localActive,$PRE.conSpePumSta.off.newActive,conSpePumSta.off.newActive,$PRE.conSpePumSta.off.oldActive,conSpePumSta.off.oldActive,$PRE.conSpePumSta.twoOn.localActive,conSpePumSta.twoOn.localActive,$PRE.conSpePumSta.twoOn.newActive,conSpePumSta.twoOn.newActive,$PRE.conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.active,conSpePumSta.con2.condition,conSpePumSta.con2.enableFire,conSpePumSta.con2.fire,$PRE.conSpePumSta.con2.t_start,conSpePumSta.con2.t_start,conSpePumSta.con3.condition,conSpePumSta.con3.enableFire,conSpePumSta.con3.fire,$PRE.conSpePumSta.con3.t_start,conSpePumSta.con3.t_start,conSpePumSta.con4.condition,conSpePumSta.con4.enableFire,conSpePumSta.con4.fire,$PRE.conSpePumSta.con4.t_start,conSpePumSta.con4.t_start,conSpePumSta.stateGraphRoot.activeSteps,conSpePumSta.booToInt.y,conSpePumSta.booToInt1.y,conSpePumSta.addInt.y,$PRE.cooMod.y,cooMod.y,$PRE.cooMod.nextTime,cooMod.nextTime,$PRE.cooMod.index,cooMod.index,$PRE.chiNumOn.y,chiNumOn.y,$PRE.chiNumOn.nextTime,chiNumOn.nextTime,$PRE.chiNumOn.index,chiNumOn.index,conSpePumSta.stateGraphRoot.resume,conSpePumSta.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 81 * 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.0005961/0.1702, allocations: 259.6 kB / 1.118 GB, free: 27.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.1703, allocations: 39.53 kB / 1.118 GB, free: 27.26 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.1725, allocations: 0.6188 MB / 1.119 GB, free: 26.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.1725, allocations: 8 kB / 1.119 GB, free: 26.63 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.633e-06/0.1726, allocations: 0 / 1.119 GB, free: 26.63 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.59e-05/0.1726, allocations: 3.984 kB / 1.119 GB, free: 26.63 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004086/0.1767, allocations: 1.334 MB / 1.12 GB, free: 25.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.458e-06/0.1768, allocations: 0 / 1.12 GB, free: 25.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004028/0.1772, allocations: 47.91 kB / 1.12 GB, free: 25.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-05/0.1772, allocations: 7.953 kB / 1.12 GB, free: 25.19 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.616e-05/0.1773, allocations: 19.33 kB / 1.12 GB, free: 25.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.358e-06/0.1773, allocations: 4 kB / 1.12 GB, free: 25.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.193e-06/0.1773, allocations: 0 / 1.12 GB, free: 25.17 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.1784, allocations: 0.6748 MB / 1.121 GB, free: 24.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.018e-05/0.1785, allocations: 116.5 kB / 1.121 GB, free: 24.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.801e-05/0.1786, allocations: 27.94 kB / 1.121 GB, free: 24.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.1789, allocations: 26.98 kB / 1.121 GB, free: 24.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001806/0.1791, allocations: 76.44 kB / 1.121 GB, free: 24.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.73e-05/0.1791, allocations: 31.92 kB / 1.121 GB, free: 24.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002468/0.1794, allocations: 245.9 kB / 1.121 GB, free: 23.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.61e-07/0.1794, allocations: 0 / 1.121 GB, free: 23.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006279/0.1801, allocations: 154.5 kB / 1.122 GB, free: 23.81 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 52 (conSpePumSta.con3.enableFire,conSpePumSta.con4.enableFire,conSpePumSta.con1.enableFire,conSpePumSta.con2.enableFire,conSpePumSta.twoOn.localActive,conSpePumSta.off.localActive,conSpePumSta.oneOn.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conSpePumSta.con1.condition,conSpePumSta.con1.fire,conSpePumSta.con1.t_start,conSpePumSta.oneOn.inPort[2].occupied,conSpePumSta.oneOn.outPort[2].available,conSpePumSta.oneOn.newActive,conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.active,conSpePumSta.off.active,conSpePumSta.off.newActive,conSpePumSta.off.oldActive,conSpePumSta.twoOn.newActive,conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.active,conSpePumSta.con2.condition,conSpePumSta.con2.fire,conSpePumSta.con2.t_start,conSpePumSta.con3.condition,conSpePumSta.con3.fire,conSpePumSta.con3.t_start,conSpePumSta.con4.condition,conSpePumSta.con4.fire,conSpePumSta.con4.t_start,conSpePumSta.stateGraphRoot.activeSteps,conSpePumSta.booToInt.y,conSpePumSta.booToInt1.y,conSpePumSta.addInt.y,cooMod.y,cooMod.nextTime,cooMod.index,chiNumOn.y,chiNumOn.nextTime,chiNumOn.index) * Number of discrete states: 7 (chiNumOn.nextTime,cooMod.nextTime,conSpePumSta.oneOn.newActive,conSpePumSta.off.newActive,conSpePumSta.twoOn.newActive,chiNumOn.index,cooMod.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0009198/0.181, allocations: 332 kB / 1.122 GB, free: 23.58 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.1822, allocations: 0.6897 MB / 1.123 GB, free: 22.85 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.981e-06/0.1822, allocations: 0.5938 kB / 1.123 GB, free: 22.85 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005341/0.1827, allocations: 294.3 kB / 1.123 GB, free: 22.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005354/0.1833, allocations: 57.97 kB / 1.123 GB, free: 22.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.185, allocations: 1.03 MB / 1.124 GB, free: 21.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.1854, allocations: 0.8761 MB / 1.125 GB, free: 20.57 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002716/0.1857, allocations: 62.69 kB / 1.125 GB, free: 20.51 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.1858, allocations: 47.36 kB / 1.125 GB, free: 20.46 MB / 0.6042 GB Notification: Performance of SimCode: time 1.533e-06/0.1859, allocations: 0 / 1.125 GB, free: 20.46 MB / 0.6042 GB Notification: Performance of Templates: time 0.01327/0.1991, allocations: 5.306 MB / 1.13 GB, free: 15.45 MB / 0.6042 GB