Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy.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.Fluid.CHPs.BaseClasses.Validation.StandBy,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_CHPs_BaseClasses_Validation_StandBy",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.009462/0.009462, allocations: 88.36 kB / 15.04 MB, free: 6.059 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.001146/0.001147, allocations: 170.2 kB / 15.92 MB, free: 5.996 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.412/2.412, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.637/2.637, allocations: 252.8 MB / 0.511 GB, free: 8.359 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005195/0.0005196, allocations: 16.09 kB / 0.6243 GB, free: 28.23 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2502, allocations: 106.2 MB / 0.7281 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.StandBy): time 0.00519/0.2554, allocations: 2.551 MB / 0.7306 GB, free: 7.574 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.004322/0.2598, allocations: 1.566 MB / 0.7321 GB, free: 6 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004971/0.2604, allocations: 15.94 kB / 0.7321 GB, free: 5.984 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001709/0.2621, allocations: 386.6 kB / 0.7325 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.2632, allocations: 223.4 kB / 0.7327 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.265, allocations: 355.3 kB / 0.733 GB, free: 5.039 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001465/0.2664, allocations: 0.4994 MB / 0.7335 GB, free: 4.539 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000945/0.2674, allocations: 398 kB / 0.7339 GB, free: 4.148 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005838/0.2681, allocations: 243.1 kB / 0.7341 GB, free: 3.91 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005005/0.2686, allocations: 250.8 kB / 0.7344 GB, free: 3.664 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.2687, allocations: 24 kB / 0.7344 GB, free: 3.641 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003453/0.2691, allocations: 67.95 kB / 0.7344 GB, free: 3.574 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002839/0.2694, allocations: 175.4 kB / 0.7346 GB, free: 3.402 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002191/0.2696, allocations: 141.2 kB / 0.7347 GB, free: 3.258 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.2708, allocations: 0.5887 MB / 0.7353 GB, free: 2.668 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2708, allocations: 4 kB / 0.7353 GB, free: 2.664 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.735e-06/0.2709, allocations: 0 / 0.7353 GB, free: 2.664 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.2709, allocations: 0 / 0.7353 GB, free: 2.664 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.002319/0.2732, allocations: 0.9718 MB / 0.7363 GB, free: 1.625 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.2733, allocations: 12.03 kB / 0.7363 GB, free: 1.613 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002339/0.2735, allocations: 94.47 kB / 0.7364 GB, free: 1.512 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002482/0.2738, allocations: 94.81 kB / 0.7365 GB, free: 1.418 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.2751, allocations: 496.3 kB / 0.7369 GB, free: 0.8945 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/0.2753, allocations: 66.7 kB / 0.737 GB, free: 0.8203 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.2754, allocations: 55.98 kB / 0.7371 GB, free: 0.7656 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.2769, allocations: 0.5346 MB / 0.7376 GB, free: 188 kB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.277, allocations: 0 / 0.7376 GB, free: 188 kB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.3e-05/0.2771, allocations: 31.89 kB / 0.7376 GB, free: 156 kB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.2771, allocations: 16 kB / 0.7376 GB, free: 140 kB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001271/0.2784, allocations: 351.8 kB / 0.738 GB, free: 15.79 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004153/0.2826, allocations: 2.06 MB / 0.74 GB, free: 13.64 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.2837, allocations: 299.6 kB / 0.7403 GB, free: 13.34 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.852e-05/0.2838, allocations: 4.328 kB / 0.7403 GB, free: 13.34 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006614/0.2845, allocations: 215.4 kB / 0.7405 GB, free: 13.12 MB / 0.573 GB Notification: Performance of pre-optimization done (n=42): time 3.526e-06/0.2845, allocations: 0 / 0.7405 GB, free: 13.12 MB / 0.573 GB Notification: Performance of matching and sorting (n=42): time 0.001634/0.2862, allocations: 464 kB / 0.7409 GB, free: 12.66 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.2863, allocations: 122.7 kB / 0.741 GB, free: 12.51 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001533/0.2879, allocations: 0.7421 MB / 0.7418 GB, free: 11.76 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.00014/0.2881, allocations: 45.7 kB / 0.7418 GB, free: 11.71 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004895/0.2886, allocations: 376.7 kB / 0.7422 GB, free: 11.34 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.2888, allocations: 114.5 kB / 0.7423 GB, free: 11.22 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.2888, allocations: 12 kB / 0.7423 GB, free: 11.21 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002466/0.2891, allocations: 394.7 kB / 0.7427 GB, free: 10.82 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005067/0.2896, allocations: 129.2 kB / 0.7428 GB, free: 10.69 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006708/0.2903, allocations: 316.4 kB / 0.7431 GB, free: 10.3 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005096/0.2908, allocations: 156.7 kB / 0.7432 GB, free: 10.15 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.2908, allocations: 0 / 0.7432 GB, free: 10.15 MB / 0.573 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001521/0.2924, allocations: 0.5104 MB / 0.7437 GB, free: 9.629 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.2924, allocations: 8 kB / 0.7437 GB, free: 9.621 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.2925, allocations: 4 kB / 0.7437 GB, free: 9.617 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.047e-05/0.2925, allocations: 12.66 kB / 0.7437 GB, free: 9.605 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004821/0.293, allocations: 75.83 kB / 0.7438 GB, free: 9.531 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.313e-05/0.293, allocations: 15.94 kB / 0.7438 GB, free: 9.516 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005192/0.2936, allocations: 59.42 kB / 0.7439 GB, free: 9.457 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.991e-05/0.2937, allocations: 28 kB / 0.7439 GB, free: 9.43 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$whenCondition2,$PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.avaSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,pumOn.outPort[2].reset,$whenCondition3,actMod,transition1.condition,transition1.enableFire,transition2.condition,transition2.enableFire,staBy.active,$PRE.staBy.localActive,staBy.localActive,staBy.outPort[2].available,$PRE.staBy.newActive,staBy.newActive,$PRE.staBy.oldActive,staBy.oldActive,pumOn.active,$PRE.pumOn.localActive,pumOn.localActive,pumOn.outPort[2].available,$PRE.pumOn.newActive,pumOn.newActive,$PRE.pumOn.oldActive,pumOn.oldActive,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,off.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,stateGraphRoot.activeSteps,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,transition3.localCondition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * 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.0006668/0.2944, allocations: 278.8 kB / 0.7442 GB, free: 9.148 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.2946, allocations: 67.16 kB / 0.7442 GB, free: 9.082 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/0.2959, allocations: 435.4 kB / 0.7447 GB, free: 8.652 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.296, allocations: 4 kB / 0.7447 GB, free: 8.648 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.296, allocations: 0 / 0.7447 GB, free: 8.648 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.296, allocations: 3.984 kB / 0.7447 GB, free: 8.645 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002762/0.2988, allocations: 1.06 MB / 0.7457 GB, free: 7.523 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.2988, allocations: 0 / 0.7457 GB, free: 7.523 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.2991, allocations: 27.92 kB / 0.7457 GB, free: 7.496 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/0.2991, allocations: 0 / 0.7457 GB, free: 7.496 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.285e-05/0.2991, allocations: 12 kB / 0.7457 GB, free: 7.484 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.2992, allocations: 4 kB / 0.7457 GB, free: 7.48 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.2992, allocations: 7.891 kB / 0.7458 GB, free: 7.473 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.3004, allocations: 495.2 kB / 0.7462 GB, free: 6.973 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002447/0.3007, allocations: 160 kB / 0.7464 GB, free: 6.797 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.3008, allocations: 8 kB / 0.7464 GB, free: 6.789 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.3012, allocations: 19.98 kB / 0.7464 GB, free: 6.77 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002042/0.3014, allocations: 52.34 kB / 0.7465 GB, free: 6.719 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.79e-05/0.3015, allocations: 23.94 kB / 0.7465 GB, free: 6.695 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001066/0.3026, allocations: 499 kB / 0.747 GB, free: 6.211 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.746e-06/0.3026, allocations: 4 kB / 0.747 GB, free: 6.207 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.000927/0.3035, allocations: 139.6 kB / 0.7471 GB, free: 6.07 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: 37 (transition3.enableFire,off.active,pumOn.localActive,staBy.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition3,$whenCondition2,$whenCondition1,actMod,transition1.condition,transition1.enableFire,transition2.condition,transition2.enableFire,staBy.active,staBy.outPort[2].available,staBy.newActive,staBy.oldActive,pumOn.active,pumOn.outPort[2].available,pumOn.newActive,pumOn.oldActive,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,off.localActive,off.inPort[2].occupied,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition3.fire,transition3.t_start,transition4.enableFire) * Number of discrete states: 7 (runSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,staBy.newActive,pumOn.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00301/0.3066, allocations: 1.398 MB / 0.7485 GB, free: 4.797 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001331/0.308, allocations: 376.8 kB / 0.7488 GB, free: 4.43 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.308, allocations: 0 / 0.7488 GB, free: 4.43 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005584/0.3086, allocations: 182.4 kB / 0.749 GB, free: 4.25 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009723/0.3096, allocations: 111.6 kB / 0.7491 GB, free: 4.152 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/0.3211, allocations: 6.866 MB / 0.7558 GB, free: 13.14 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008024/0.3219, allocations: 0.9704 MB / 0.7568 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0006127/0.3226, allocations: 100.8 kB / 0.7568 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006072/0.3232, allocations: 279.3 kB / 0.7571 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of SimCode: time 1.533e-06/0.3232, allocations: 0 / 0.7571 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05062/0.3738, allocations: 13.16 MB / 0.77 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003021/0.3742, allocations: 240.3 kB / 0.7702 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.257/3.632, allocations: 0 / 0.7702 GB, free: 14.55 MB / 0.6042 GB