Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.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.Controls.OBC.CDL.Continuous.Validation.MultiSum,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum",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.01584/0.01585, allocations: 89.53 kB / 15.04 MB, free: 5.578 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.001204/0.001204, allocations: 174.7 kB / 15.93 MB, free: 5.551 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.105/2.105, 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.724/2.724, allocations: 252.8 MB / 0.511 GB, free: 8.34 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004801/0.0004801, allocations: 12.41 kB / 0.6243 GB, free: 28.34 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2551, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum): time 0.00218/0.2573, allocations: 1.296 MB / 0.7293 GB, free: 8.848 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0005544/0.2579, allocations: 196.3 kB / 0.7295 GB, free: 8.652 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.731e-05/0.258, allocations: 0 / 0.7295 GB, free: 8.652 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.2581, allocations: 15.86 kB / 0.7296 GB, free: 8.637 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.2583, allocations: 27.89 kB / 0.7296 GB, free: 8.609 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.2585, allocations: 35.89 kB / 0.7296 GB, free: 8.574 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.2587, allocations: 79.83 kB / 0.7297 GB, free: 8.496 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.2588, allocations: 45.5 kB / 0.7297 GB, free: 8.441 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 9.075e-05/0.2589, allocations: 43.84 kB / 0.7298 GB, free: 8.398 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.2591, allocations: 71.73 kB / 0.7298 GB, free: 8.328 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.062e-05/0.2592, allocations: 8 kB / 0.7298 GB, free: 8.32 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 2.709e-05/0.2592, allocations: 4 kB / 0.7299 GB, free: 8.316 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.957e-05/0.2593, allocations: 39.89 kB / 0.7299 GB, free: 8.277 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.2593, allocations: 41.58 kB / 0.7299 GB, free: 8.23 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.2595, allocations: 119.7 kB / 0.73 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.2595, allocations: 0 / 0.73 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2596, allocations: 0 / 0.73 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.2596, allocations: 0 / 0.73 GB, free: 8.113 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001326/0.2609, allocations: 0.5106 MB / 0.7305 GB, free: 7.555 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.261, allocations: 8.031 kB / 0.7306 GB, free: 7.547 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.174e-05/0.261, allocations: 46.55 kB / 0.7306 GB, free: 7.492 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.949e-05/0.2611, allocations: 23.75 kB / 0.7306 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.2614, allocations: 202.8 kB / 0.7308 GB, free: 7.23 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.2614, allocations: 7.938 kB / 0.7308 GB, free: 7.223 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.2615, allocations: 12 kB / 0.7308 GB, free: 7.211 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009208/0.2624, allocations: 209.5 kB / 0.731 GB, free: 7 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.2624, allocations: 0 / 0.731 GB, free: 7 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.2624, allocations: 8 kB / 0.731 GB, free: 6.992 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.2625, allocations: 0 / 0.731 GB, free: 6.992 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.2639, allocations: 271.8 kB / 0.7313 GB, free: 6.727 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.2656, allocations: 0.5471 MB / 0.7318 GB, free: 6.129 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008339/0.2665, allocations: 170.5 kB / 0.732 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.2665, allocations: 4.125 kB / 0.732 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.2666, allocations: 38.55 kB / 0.732 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=9): time 2.705e-06/0.2666, allocations: 0 / 0.732 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9): time 0.00235/0.2689, allocations: 453.5 kB / 0.7325 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.269, allocations: 51.41 kB / 0.7325 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.2693, allocations: 186.2 kB / 0.7327 GB, free: 5.199 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.2693, allocations: 25.7 kB / 0.7327 GB, free: 5.168 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.2695, allocations: 124.7 kB / 0.7328 GB, free: 5.043 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/0.2695, allocations: 31.55 kB / 0.7329 GB, free: 5.012 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.363e-05/0.2695, allocations: 0 / 0.7329 GB, free: 5.012 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.2697, allocations: 326.8 kB / 0.7332 GB, free: 4.684 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007132/0.2704, allocations: 131.9 kB / 0.7333 GB, free: 4.555 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000702/0.2711, allocations: 127.9 kB / 0.7334 GB, free: 4.43 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006995/0.2718, allocations: 131.9 kB / 0.7336 GB, free: 4.301 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.2719, allocations: 0 / 0.7336 GB, free: 4.301 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001541/0.2734, allocations: 313.2 kB / 0.7339 GB, free: 3.988 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.2735, allocations: 4 kB / 0.7339 GB, free: 3.984 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2735, allocations: 0 / 0.7339 GB, free: 3.984 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.2735, allocations: 12 kB / 0.7339 GB, free: 3.973 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005266/0.274, allocations: 63.83 kB / 0.7339 GB, free: 3.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.2741, allocations: 3.938 kB / 0.7339 GB, free: 3.906 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/0.2745, allocations: 47.95 kB / 0.734 GB, free: 3.859 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.2745, allocations: 4 kB / 0.734 GB, free: 3.855 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001673/0.2747, allocations: 125.8 kB / 0.7341 GB, free: 3.723 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-05/0.2747, allocations: 15.81 kB / 0.7341 GB, free: 3.707 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.572e-05/0.2748, allocations: 25.39 kB / 0.7341 GB, free: 3.684 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2748, allocations: 0 / 0.7341 GB, free: 3.684 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.2748, allocations: 3.953 kB / 0.7341 GB, free: 3.68 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.2749, allocations: 4.375 kB / 0.7341 GB, free: 3.676 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003831/0.2752, allocations: 249.5 kB / 0.7344 GB, free: 3.383 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.2753, allocations: 0 / 0.7344 GB, free: 3.383 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004699/0.2758, allocations: 63.94 kB / 0.7344 GB, free: 3.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.2758, allocations: 3.938 kB / 0.7345 GB, free: 3.316 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.2758, allocations: 0 / 0.7345 GB, free: 3.316 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.2758, allocations: 3.938 kB / 0.7345 GB, free: 3.312 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.2758, allocations: 0 / 0.7345 GB, free: 3.312 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.2774, allocations: 415.1 kB / 0.7349 GB, free: 2.891 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.497e-05/0.2775, allocations: 92.86 kB / 0.7349 GB, free: 2.781 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.472e-05/0.2776, allocations: 0 / 0.7349 GB, free: 2.781 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004168/0.278, allocations: 51.94 kB / 0.735 GB, free: 2.73 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.2781, allocations: 11.98 kB / 0.735 GB, free: 2.719 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.2781, allocations: 0 / 0.735 GB, free: 2.719 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001583/0.2783, allocations: 132.4 kB / 0.7351 GB, free: 2.59 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2783, allocations: 0 / 0.7351 GB, free: 2.59 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003579/0.2787, allocations: 31.95 kB / 0.7352 GB, free: 2.559 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.001943/0.2806, allocations: 0.9425 MB / 0.7361 GB, free: 1.59 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001508/0.2822, allocations: 279.7 kB / 0.7363 GB, free: 1.316 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2822, allocations: 0 / 0.7363 GB, free: 1.316 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007556/0.283, allocations: 144.2 kB / 0.7365 GB, free: 1.176 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.2834, allocations: 28.23 kB / 0.7365 GB, free: 1.148 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003907/0.2873, allocations: 1.187 MB / 0.7377 GB, free: 15.91 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.2877, allocations: 0.7355 MB / 0.7384 GB, free: 15.15 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000175/0.2879, allocations: 20.41 kB / 0.7384 GB, free: 15.13 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.2881, allocations: 43.36 kB / 0.7384 GB, free: 15.09 MB / 0.573 GB Notification: Performance of SimCode: time 1.703e-06/0.2881, allocations: 0 / 0.7384 GB, free: 15.09 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02867/0.3168, allocations: 3 MB / 0.7414 GB, free: 12.21 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002475/0.3171, allocations: 201.9 kB / 0.7416 GB, free: 11.96 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.392/2.709, allocations: 0 / 0.7416 GB, free: 11.96 MB / 0.573 GB