Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,fileNamePrefix="Buildings_7_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01448/0.01448, allocations: 92.88 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.0016/0.0016, allocations: 173.5 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.273/2.273, allocations: 205.5 MB / 222.2 MB, free: 13.58 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.571/2.571, allocations: 252.8 MB / 0.511 GB, free: 8.312 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007496/0.0007497, allocations: 12.28 kB / 0.6243 GB, free: 21.02 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2454, allocations: 106.2 MB / 0.7281 GB, free: 8.102 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage): time 0.005856/0.2513, allocations: 2.045 MB / 0.7301 GB, free: 6.039 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.004503/0.2559, allocations: 1.151 MB / 0.7312 GB, free: 4.879 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002976/0.2562, allocations: 11.94 kB / 0.7312 GB, free: 4.867 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005126/0.2568, allocations: 95.45 kB / 0.7313 GB, free: 4.773 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0006775/0.2575, allocations: 91.66 kB / 0.7314 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.2588, allocations: 211.6 kB / 0.7316 GB, free: 4.477 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001209/0.2601, allocations: 415.7 kB / 0.732 GB, free: 4.07 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009439/0.2611, allocations: 349.5 kB / 0.7323 GB, free: 3.723 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005189/0.2616, allocations: 183.3 kB / 0.7325 GB, free: 3.543 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005327/0.2621, allocations: 207 kB / 0.7327 GB, free: 3.34 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001058/0.2623, allocations: 24 kB / 0.7327 GB, free: 3.316 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002798/0.2626, allocations: 43.98 kB / 0.7328 GB, free: 3.273 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002172/0.2628, allocations: 107.6 kB / 0.7329 GB, free: 3.168 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001833/0.263, allocations: 105.5 kB / 0.733 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.2643, allocations: 0.577 MB / 0.7335 GB, free: 2.48 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2644, allocations: 3.938 kB / 0.7335 GB, free: 2.477 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2644, allocations: 0 / 0.7335 GB, free: 2.477 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.2644, allocations: 0 / 0.7335 GB, free: 2.477 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.002649/0.2671, allocations: 0.7337 MB / 0.7342 GB, free: 1.691 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/0.2672, allocations: 12.03 kB / 0.7342 GB, free: 1.68 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002322/0.2674, allocations: 90.5 kB / 0.7343 GB, free: 1.582 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002431/0.2677, allocations: 59.33 kB / 0.7344 GB, free: 1.523 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.2687, allocations: 375.1 kB / 0.7347 GB, free: 1.117 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.2689, allocations: 52.98 kB / 0.7348 GB, free: 1.062 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000183/0.2691, allocations: 52 kB / 0.7348 GB, free: 1.012 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002694/0.2718, allocations: 0.5137 MB / 0.7354 GB, free: 496 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.678e-05/0.2719, allocations: 3.953 kB / 0.7354 GB, free: 492 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.272, allocations: 16 kB / 0.7354 GB, free: 476 kB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.762e-05/0.2721, allocations: 16 kB / 0.7354 GB, free: 460 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002895/0.275, allocations: 451.7 kB / 0.7358 GB, free: 8 kB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005931/0.281, allocations: 1.438 MB / 0.7372 GB, free: 14.52 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002689/0.2837, allocations: 489 kB / 0.7377 GB, free: 14.03 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 9.739e-05/0.2839, allocations: 12.44 kB / 0.7377 GB, free: 14.02 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001468/0.2854, allocations: 290.8 kB / 0.738 GB, free: 13.73 MB / 0.573 GB Notification: Performance of pre-optimization done (n=58): time 6.422e-06/0.2854, allocations: 0 / 0.738 GB, free: 13.73 MB / 0.573 GB Notification: Performance of matching and sorting (n=58): time 0.003638/0.2891, allocations: 0.6233 MB / 0.7386 GB, free: 13.1 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.2893, allocations: 71.95 kB / 0.7387 GB, free: 13.02 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009494/0.2902, allocations: 350.5 kB / 0.739 GB, free: 12.66 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002079/0.2905, allocations: 57.69 kB / 0.739 GB, free: 12.6 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003431/0.2908, allocations: 205.2 kB / 0.7392 GB, free: 12.39 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003116/0.2912, allocations: 150.1 kB / 0.7394 GB, free: 12.24 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.866e-05/0.2913, allocations: 12 kB / 0.7394 GB, free: 12.23 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002861/0.2916, allocations: 354.7 kB / 0.7397 GB, free: 11.88 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/0.2928, allocations: 197.2 kB / 0.7399 GB, free: 11.68 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/0.2941, allocations: 274 kB / 0.7402 GB, free: 11.39 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001183/0.2953, allocations: 208.8 kB / 0.7404 GB, free: 11.18 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.2954, allocations: 4 kB / 0.7404 GB, free: 11.18 MB / 0.573 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003099/0.2985, allocations: 0.5805 MB / 0.741 GB, free: 10.58 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 9.381e-05/0.2987, allocations: 29.7 kB / 0.741 GB, free: 10.55 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/0.2987, allocations: 4 kB / 0.741 GB, free: 10.54 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.428e-05/0.2988, allocations: 4 kB / 0.741 GB, free: 10.54 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009935/0.2998, allocations: 75.83 kB / 0.7411 GB, free: 10.46 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.382e-05/0.2998, allocations: 11.89 kB / 0.7411 GB, free: 10.45 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.301, allocations: 99.56 kB / 0.7412 GB, free: 10.36 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/0.3012, allocations: 27.98 kB / 0.7412 GB, free: 10.33 MB / 0.573 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,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.condition,varSpePumSta.con1.enableFire,varSpePumSta.con1.fire,$PRE.varSpePumSta.con1.t_start,varSpePumSta.con1.t_start,$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,varSpePumSta.off.active,$PRE.varSpePumSta.off.localActive,varSpePumSta.off.localActive,$PRE.varSpePumSta.off.newActive,varSpePumSta.off.newActive,$PRE.varSpePumSta.off.oldActive,varSpePumSta.off.oldActive,$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.condition,varSpePumSta.con2.enableFire,varSpePumSta.con2.fire,$PRE.varSpePumSta.con2.t_start,varSpePumSta.con2.t_start,varSpePumSta.con3.condition,varSpePumSta.con3.enableFire,varSpePumSta.con3.fire,$PRE.varSpePumSta.con3.t_start,varSpePumSta.con3.t_start,varSpePumSta.con4.condition,varSpePumSta.con4.enableFire,varSpePumSta.con4.fire,$PRE.varSpePumSta.con4.t_start,varSpePumSta.con4.t_start,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.booToInt.y,varSpePumSta.booToInt1.y,varSpePumSta.addInt.y,$PRE.speSig.T_start,speSig.T_start,$PRE.speSig.count,speSig.count,varSpePumSta.stateGraphRoot.resume,varSpePumSta.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * 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.0007248/0.3019, allocations: 233.7 kB / 0.7414 GB, free: 10.09 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.3021, allocations: 39.53 kB / 0.7415 GB, free: 10.05 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00301/0.3051, allocations: 0.5342 MB / 0.742 GB, free: 9.516 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.222e-05/0.3052, allocations: 8 kB / 0.742 GB, free: 9.508 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.3052, allocations: 0 / 0.742 GB, free: 9.508 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.197e-05/0.3053, allocations: 7.938 kB / 0.742 GB, free: 9.5 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005585/0.3109, allocations: 1.231 MB / 0.7432 GB, free: 8.211 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/0.311, allocations: 3.953 kB / 0.7432 GB, free: 8.207 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008261/0.3118, allocations: 55.91 kB / 0.7432 GB, free: 8.152 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.997e-05/0.3118, allocations: 4 kB / 0.7433 GB, free: 8.148 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-05/0.312, allocations: 15.98 kB / 0.7433 GB, free: 8.133 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.365e-05/0.312, allocations: 4 kB / 0.7433 GB, free: 8.129 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.312, allocations: 0 / 0.7433 GB, free: 8.129 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002767/0.3148, allocations: 0.5812 MB / 0.7438 GB, free: 7.531 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002262/0.3151, allocations: 124.5 kB / 0.744 GB, free: 7.391 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.3152, allocations: 15.98 kB / 0.744 GB, free: 7.375 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.3164, allocations: 71.94 kB / 0.744 GB, free: 7.305 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004723/0.3169, allocations: 76.45 kB / 0.7441 GB, free: 7.23 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.317, allocations: 19.98 kB / 0.7441 GB, free: 7.211 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0005859/0.3176, allocations: 225.9 kB / 0.7443 GB, free: 6.992 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.52e-07/0.3176, allocations: 0 / 0.7443 GB, free: 6.992 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001107/0.3187, allocations: 123.7 kB / 0.7445 GB, free: 6.871 MB / 0.573 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.condition,varSpePumSta.con1.fire,varSpePumSta.con1.t_start,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,varSpePumSta.off.active,varSpePumSta.off.newActive,varSpePumSta.off.oldActive,varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.condition,varSpePumSta.con2.fire,varSpePumSta.con2.t_start,varSpePumSta.con3.condition,varSpePumSta.con3.fire,varSpePumSta.con3.t_start,varSpePumSta.con4.condition,varSpePumSta.con4.fire,varSpePumSta.con4.t_start,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.booToInt.y,varSpePumSta.booToInt1.y,varSpePumSta.addInt.y,speSig.T_start,speSig.count) * Number of discrete states: 4 (speSig.count,varSpePumSta.oneOn.newActive,varSpePumSta.off.newActive,varSpePumSta.twoOn.newActive) * Number of clocked states: 0 () * 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.003918/0.3227, allocations: 1.452 MB / 0.7459 GB, free: 5.516 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001924/0.3247, allocations: 0.5542 MB / 0.7464 GB, free: 4.949 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3247, allocations: 0 / 0.7464 GB, free: 4.949 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008949/0.3256, allocations: 267.4 kB / 0.7467 GB, free: 4.691 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006059/0.3262, allocations: 56.86 kB / 0.7467 GB, free: 4.633 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007654/0.3339, allocations: 3.563 MB / 0.7502 GB, free: 0.9883 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000588/0.3346, allocations: 0.8598 MB / 0.7511 GB, free: 104 kB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0004765/0.3351, allocations: 64.16 kB / 0.7511 GB, free: 40 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004974/0.3356, allocations: 167.4 kB / 0.7513 GB, free: 15.87 MB / 0.5886 GB Notification: Performance of SimCode: time 1.322e-06/0.3356, allocations: 0 / 0.7513 GB, free: 15.87 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03976/0.3753, allocations: 9.296 MB / 0.7604 GB, free: 6.73 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004243/0.3759, allocations: 280 kB / 0.7606 GB, free: 6.363 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.994/3.37, allocations: 0 / 0.7606 GB, free: 6.363 MB / 0.5886 GB