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.ConstantSpeedPumpStage.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.ConstantSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage") Notification: Performance of loadModel(Buildings): time 3.866/3.866, allocations: 433.3 MB / 440.9 MB, free: 10.41 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.607e-05/1.612e-05, allocations: 0 / 0.5325 GB, free: 1.867 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5297/0.5297, allocations: 98.7 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1994/0.7292, allocations: 129.1 MB / 0.755 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/0.7295, allocations: 95.92 kB / 0.7551 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0406/0.7701, allocations: 10.68 MB / 0.7655 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.857e-06/0.7702, allocations: 0 / 0.7655 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.623e-05/0.7702, allocations: 8 kB / 0.7655 GB, free: 3.645 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.001452/0.7717, allocations: 0.7982 MB / 0.7663 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.7718, allocations: 12.02 kB / 0.7663 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.7719, allocations: 63.3 kB / 0.7663 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007566/0.7727, allocations: 390.1 kB / 0.7667 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.808e-05/0.7728, allocations: 20 kB / 0.7667 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.7729, allocations: 35.98 kB / 0.7668 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001032/0.7739, allocations: 410.5 kB / 0.7672 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.775, allocations: 468.2 kB / 0.7676 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.7751, allocations: 4 kB / 0.7676 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.199e-05/0.7751, allocations: 7.953 kB / 0.7676 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.7752, allocations: 19.92 kB / 0.7676 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002772/0.7779, allocations: 1.301 MB / 0.7689 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009217/0.7789, allocations: 455.6 kB / 0.7693 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004377/0.7794, allocations: 214.5 kB / 0.7695 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.515e-05/0.7794, allocations: 4.562 kB / 0.7696 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006335/0.7801, allocations: 297.8 kB / 0.7698 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 4.13e-06/0.7801, allocations: 0 / 0.7698 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.00117/0.7813, allocations: 0.4946 MB / 0.7703 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/0.7813, allocations: 67.95 kB / 0.7704 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005039/0.7819, allocations: 325.9 kB / 0.7707 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.658e-05/0.782, allocations: 41.7 kB / 0.7707 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.7822, allocations: 213.3 kB / 0.7709 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.7824, allocations: 138.1 kB / 0.7711 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.7824, allocations: 8 kB / 0.7711 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002151/0.7827, allocations: 358.8 kB / 0.7714 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004601/0.7831, allocations: 189.5 kB / 0.7716 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005443/0.7837, allocations: 277.8 kB / 0.7719 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005419/0.7842, allocations: 192.5 kB / 0.772 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.688e-06/0.7843, allocations: 4 kB / 0.7721 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001477/0.7858, allocations: 0.5894 MB / 0.7726 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.392e-05/0.7859, allocations: 94.97 kB / 0.7727 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.7859, allocations: 8.219 kB / 0.7727 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.7859, allocations: 4 kB / 0.7727 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.7863, allocations: 59.84 kB / 0.7728 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.7863, allocations: 4 kB / 0.7728 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/0.7866, allocations: 43.66 kB / 0.7728 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.172e-05/0.7867, allocations: 28 kB / 0.7729 GB, free: 11.82 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: 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.enableFire,conSpePumSta.con1.fire,$PRE.conSpePumSta.con1.t_start,conSpePumSta.con1.t_start,conSpePumSta.con1.condition,$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,$PRE.conSpePumSta.off.localActive,conSpePumSta.off.localActive,$PRE.conSpePumSta.off.newActive,conSpePumSta.off.newActive,$PRE.conSpePumSta.off.oldActive,conSpePumSta.off.oldActive,conSpePumSta.off.active,$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.enableFire,conSpePumSta.con2.fire,$PRE.conSpePumSta.con2.t_start,conSpePumSta.con2.t_start,conSpePumSta.con2.condition,conSpePumSta.con3.enableFire,conSpePumSta.con3.fire,$PRE.conSpePumSta.con3.t_start,conSpePumSta.con3.t_start,conSpePumSta.con3.condition,conSpePumSta.con4.enableFire,conSpePumSta.con4.fire,$PRE.conSpePumSta.con4.t_start,conSpePumSta.con4.t_start,conSpePumSta.con4.condition,conSpePumSta.stateGraphRoot.activeSteps,conSpePumSta.addInt.u1,conSpePumSta.addInt.u2,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 () * 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.0002348/0.787, allocations: 160.8 kB / 0.773 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.7871, allocations: 39.53 kB / 0.7731 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.7885, allocations: 0.5581 MB / 0.7736 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.7885, allocations: 11.98 kB / 0.7736 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.7885, allocations: 4 kB / 0.7736 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.639e-06/0.7886, allocations: 0 / 0.7736 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/0.7912, allocations: 1.204 MB / 0.7748 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.7912, allocations: 4 kB / 0.7748 GB, free: 9.785 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002333/0.7915, allocations: 47.91 kB / 0.7748 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.239e-05/0.7915, allocations: 4 kB / 0.7748 GB, free: 9.734 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.391e-05/0.7916, allocations: 3.984 kB / 0.7748 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.803e-06/0.7916, allocations: 4 kB / 0.7748 GB, free: 9.727 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.7916, allocations: 0 / 0.7748 GB, free: 9.727 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.7929, allocations: 0.6319 MB / 0.7755 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.793, allocations: 120.6 kB / 0.7756 GB, free: 8.941 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.114e-05/0.7931, allocations: 7.984 kB / 0.7756 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002841/0.7934, allocations: 23.98 kB / 0.7756 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002143/0.7937, allocations: 76.39 kB / 0.7757 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-05/0.7938, allocations: 31.97 kB / 0.7757 GB, free: 8.801 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003213/0.7941, allocations: 226 kB / 0.7759 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.62e-07/0.7941, allocations: 0 / 0.7759 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007311/0.7949, allocations: 127.8 kB / 0.7761 GB, free: 8.457 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: 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.fire,conSpePumSta.con1.t_start,conSpePumSta.con1.condition,conSpePumSta.oneOn.inPort[2].occupied,conSpePumSta.oneOn.outPort[2].available,conSpePumSta.oneOn.newActive,conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.active,conSpePumSta.off.newActive,conSpePumSta.off.oldActive,conSpePumSta.off.active,conSpePumSta.twoOn.newActive,conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.active,conSpePumSta.con2.fire,conSpePumSta.con2.t_start,conSpePumSta.con2.condition,conSpePumSta.con3.fire,conSpePumSta.con3.t_start,conSpePumSta.con3.condition,conSpePumSta.con4.fire,conSpePumSta.con4.t_start,conSpePumSta.con4.condition,conSpePumSta.stateGraphRoot.activeSteps,conSpePumSta.addInt.u1,conSpePumSta.addInt.u2,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) * 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.0009312/0.7958, allocations: 310 kB / 0.7763 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001226/0.797, allocations: 0.6489 MB / 0.777 GB, free: 7.48 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.322e-06/0.7971, allocations: 0 / 0.777 GB, free: 7.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005057/0.7976, allocations: 266 kB / 0.7772 GB, free: 7.223 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.798, allocations: 28.72 kB / 0.7773 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.7996, allocations: 0.6898 MB / 0.7779 GB, free: 6.484 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006741/0.8003, allocations: 0.8793 MB / 0.7788 GB, free: 5.578 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003233/0.8006, allocations: 67.31 kB / 0.7789 GB, free: 5.508 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/0.8008, allocations: 43.42 kB / 0.7789 GB, free: 5.465 MB / 0.6511 GB Notification: Performance of SimCode: time 1.82e-06/0.8009, allocations: 4 kB / 0.7789 GB, free: 5.461 MB / 0.6511 GB Notification: Performance of Templates: time 0.01491/0.8158, allocations: 5.107 MB / 0.7839 GB, free: 388 kB / 0.6511 GB