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.VariableSpeedPumpStage.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,fileNamePrefix="Buildings_6_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.177/4.177, allocations: 433.2 MB / 440.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.234e-05/2.202e-05, allocations: 3.125 kB / 0.5325 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2251, allocations: 98.73 MB / 0.6289 GB, free: 9.117 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2409/0.4661, allocations: 129 MB / 0.7548 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003602/0.4665, allocations: 91.94 kB / 0.7549 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03879/0.5053, allocations: 8.715 MB / 0.7634 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of FrontEnd: time 5.671e-06/0.5054, allocations: 3.984 kB / 0.7634 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.32e-05/0.5054, allocations: 16 kB / 0.7635 GB, free: 15.11 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001932/0.5074, allocations: 0.7413 MB / 0.7642 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.5074, allocations: 8.031 kB / 0.7642 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.5076, allocations: 59.3 kB / 0.7642 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008086/0.5085, allocations: 370.2 kB / 0.7646 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.206e-05/0.5085, allocations: 20 kB / 0.7646 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.5087, allocations: 28 kB / 0.7646 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001111/0.5098, allocations: 382.5 kB / 0.765 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.5109, allocations: 432.2 kB / 0.7654 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.511, allocations: 3.938 kB / 0.7654 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.328e-05/0.511, allocations: 7.953 kB / 0.7654 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.5111, allocations: 11.98 kB / 0.7654 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003486/0.5146, allocations: 1.317 MB / 0.7667 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.5157, allocations: 418.1 kB / 0.7671 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004637/0.5162, allocations: 195.5 kB / 0.7673 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.709e-05/0.5163, allocations: 8.438 kB / 0.7673 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006374/0.517, allocations: 245.8 kB / 0.7676 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=58): time 4.148e-06/0.517, allocations: 0 / 0.7676 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of matching and sorting (n=58): time 0.001101/0.5181, allocations: 370.6 kB / 0.7679 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.5182, allocations: 67.97 kB / 0.768 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004953/0.5187, allocations: 290 kB / 0.7682 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.389e-05/0.5188, allocations: 37.7 kB / 0.7683 GB, free: 9.953 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.519, allocations: 209.2 kB / 0.7685 GB, free: 9.746 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.5192, allocations: 134.1 kB / 0.7686 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.5193, allocations: 0 / 0.7686 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.5194, allocations: 358.7 kB / 0.769 GB, free: 9.254 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004401/0.5199, allocations: 149.6 kB / 0.7691 GB, free: 9.105 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/0.5205, allocations: 233.9 kB / 0.7693 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004228/0.5209, allocations: 149 kB / 0.7695 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.5209, allocations: 7.938 kB / 0.7695 GB, free: 8.699 MB / 0.6511 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001282/0.5222, allocations: 463.7 kB / 0.7699 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.92e-05/0.5223, allocations: 55.41 kB / 0.77 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.5223, allocations: 7.984 kB / 0.77 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.602e-05/0.5224, allocations: 4 kB / 0.77 GB, free: 8.164 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006009/0.523, allocations: 80.05 kB / 0.7701 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.523, allocations: 8 kB / 0.7701 GB, free: 8.078 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006615/0.5237, allocations: 71.62 kB / 0.7701 GB, free: 8.008 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.484e-05/0.5238, allocations: 20 kB / 0.7701 GB, free: 7.988 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: 62 ($PRE.varSpePumSta.con1.enableFire,$PRE.varSpePumSta.con2.enableFire,$PRE.varSpePumSta.con3.enableFire,$PRE.varSpePumSta.con4.enableFire,varSpePumSta.stateGraphRoot.resume,varSpePumSta.stateGraphRoot.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.enableFire,varSpePumSta.con1.fire,$PRE.varSpePumSta.con1.t_start,varSpePumSta.con1.t_start,varSpePumSta.con1.condition,$PRE.varSpePumSta.oneOn.localActive,varSpePumSta.oneOn.localActive,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,$PRE.varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.newActive,$PRE.varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,$PRE.varSpePumSta.off.localActive,varSpePumSta.off.localActive,$PRE.varSpePumSta.off.newActive,varSpePumSta.off.newActive,$PRE.varSpePumSta.off.oldActive,varSpePumSta.off.oldActive,varSpePumSta.off.active,$PRE.varSpePumSta.twoOn.localActive,varSpePumSta.twoOn.localActive,$PRE.varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.newActive,$PRE.varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.enableFire,varSpePumSta.con2.fire,$PRE.varSpePumSta.con2.t_start,varSpePumSta.con2.t_start,varSpePumSta.con2.condition,varSpePumSta.con3.enableFire,varSpePumSta.con3.fire,$PRE.varSpePumSta.con3.t_start,varSpePumSta.con3.t_start,varSpePumSta.con3.condition,varSpePumSta.con4.enableFire,varSpePumSta.con4.fire,$PRE.varSpePumSta.con4.t_start,varSpePumSta.con4.t_start,varSpePumSta.con4.condition,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.addInt.u1,varSpePumSta.addInt.u2,varSpePumSta.addInt.y,$PRE.speSig.T_start,speSig.T_start,$PRE.speSig.count,speSig.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 79 * 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.0002391/0.524, allocations: 156.7 kB / 0.7703 GB, free: 7.828 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000968/0.525, allocations: 378.6 kB / 0.7707 GB, free: 7.457 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.985e-05/0.5251, allocations: 39.53 kB / 0.7707 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.5264, allocations: 447.5 kB / 0.7711 GB, free: 6.973 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.5265, allocations: 8 kB / 0.7711 GB, free: 6.965 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5265, allocations: 0 / 0.7711 GB, free: 6.965 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.5265, allocations: 3.984 kB / 0.7711 GB, free: 6.961 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/0.5292, allocations: 1.064 MB / 0.7722 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.5292, allocations: 0 / 0.7722 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004639/0.5297, allocations: 63.89 kB / 0.7722 GB, free: 5.793 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/0.5297, allocations: 0 / 0.7722 GB, free: 5.793 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.377e-05/0.5298, allocations: 7.984 kB / 0.7722 GB, free: 5.785 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/0.5298, allocations: 3.953 kB / 0.7722 GB, free: 5.781 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.5298, allocations: 0 / 0.7722 GB, free: 5.781 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.5309, allocations: 0.507 MB / 0.7727 GB, free: 5.258 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.5311, allocations: 120.5 kB / 0.7729 GB, free: 5.121 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.888e-05/0.5312, allocations: 7.984 kB / 0.7729 GB, free: 5.113 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005945/0.5318, allocations: 51.95 kB / 0.7729 GB, free: 5.062 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003166/0.5321, allocations: 84.39 kB / 0.773 GB, free: 4.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.647e-05/0.5322, allocations: 27.97 kB / 0.773 GB, free: 4.953 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003064/0.5325, allocations: 198 kB / 0.7732 GB, free: 4.754 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5325, allocations: 0 / 0.7732 GB, free: 4.754 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006501/0.5332, allocations: 87.94 kB / 0.7733 GB, free: 4.668 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: 47 (varSpePumSta.con3.enableFire,varSpePumSta.con4.enableFire,varSpePumSta.con1.enableFire,varSpePumSta.con2.enableFire,varSpePumSta.twoOn.localActive,varSpePumSta.off.localActive,varSpePumSta.oneOn.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.fire,varSpePumSta.con1.t_start,varSpePumSta.con1.condition,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,varSpePumSta.off.newActive,varSpePumSta.off.oldActive,varSpePumSta.off.active,varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.fire,varSpePumSta.con2.t_start,varSpePumSta.con2.condition,varSpePumSta.con3.fire,varSpePumSta.con3.t_start,varSpePumSta.con3.condition,varSpePumSta.con4.fire,varSpePumSta.con4.t_start,varSpePumSta.con4.condition,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.addInt.u1,varSpePumSta.addInt.u2,varSpePumSta.addInt.y,speSig.T_start,speSig.count) * Number of discrete states: 4 (speSig.count,varSpePumSta.oneOn.newActive,varSpePumSta.off.newActive,varSpePumSta.twoOn.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 55 * 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.002143/0.5353, allocations: 1.199 MB / 0.7745 GB, free: 3.469 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001273/0.5367, allocations: 0.5205 MB / 0.775 GB, free: 2.926 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.5367, allocations: 0 / 0.775 GB, free: 2.926 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005496/0.5372, allocations: 234 kB / 0.7752 GB, free: 2.691 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005924/0.5379, allocations: 41.62 kB / 0.7752 GB, free: 2.648 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.5401, allocations: 0.6812 MB / 0.7759 GB, free: 1.93 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005396/0.5407, allocations: 0.8476 MB / 0.7767 GB, free: 1.059 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004775/0.5412, allocations: 63.38 kB / 0.7768 GB, free: 0.9961 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004311/0.5416, allocations: 159.4 kB / 0.7769 GB, free: 0.8398 MB / 0.6511 GB Notification: Performance of SimCode: time 1.163e-06/0.5416, allocations: 0 / 0.7769 GB, free: 0.8398 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6206/1.162, allocations: 8.495 MB / 0.7852 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002833/1.163, allocations: 230.1 kB / 0.7855 GB, free: 139.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.959/4.122, allocations: 5.656 kB / 0.7855 GB, free: 139.6 MB / 0.6511 GB