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.Average.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.Average,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Average",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.0107/0.01071, allocations: 87.97 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.001314/0.001315, allocations: 175.6 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.191/2.191, allocations: 205.5 MB / 222.2 MB, free: 13.59 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.682/2.682, allocations: 252.8 MB / 0.511 GB, free: 8.281 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004721/0.0004722, allocations: 12.53 kB / 0.6243 GB, free: 21.11 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2581, allocations: 106.2 MB / 0.7281 GB, free: 8.078 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Average): time 0.002133/0.2603, allocations: 1.123 MB / 0.7292 GB, free: 6.941 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0004107/0.2608, allocations: 114.2 kB / 0.7293 GB, free: 6.828 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.929e-05/0.2608, allocations: 0 / 0.7293 GB, free: 6.828 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.079e-05/0.2609, allocations: 7.938 kB / 0.7293 GB, free: 6.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 9.627e-05/0.261, allocations: 7.984 kB / 0.7293 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 7.517e-05/0.261, allocations: 11.98 kB / 0.7293 GB, free: 6.801 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 8.302e-05/0.2611, allocations: 23.97 kB / 0.7293 GB, free: 6.777 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.2613, allocations: 7.984 kB / 0.7293 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 7.469e-05/0.2613, allocations: 15.92 kB / 0.7294 GB, free: 6.754 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 6.297e-05/0.2614, allocations: 23.91 kB / 0.7294 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.2615, allocations: 0 / 0.7294 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.424e-05/0.2615, allocations: 4 kB / 0.7294 GB, free: 6.727 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.685e-05/0.2615, allocations: 0 / 0.7294 GB, free: 6.727 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.2615, allocations: 37.58 kB / 0.7294 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 7.796e-05/0.2616, allocations: 31.94 kB / 0.7295 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2616, allocations: 0 / 0.7295 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.963e-06/0.2617, allocations: 0 / 0.7295 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.361e-06/0.2617, allocations: 0 / 0.7295 GB, free: 6.652 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006692/0.2623, allocations: 367.5 kB / 0.7298 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.2624, allocations: 12.03 kB / 0.7298 GB, free: 6.234 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.506e-05/0.2625, allocations: 38.56 kB / 0.7299 GB, free: 6.188 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.781e-05/0.2625, allocations: 0 / 0.7299 GB, free: 6.188 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.2626, allocations: 170.9 kB / 0.73 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.2627, allocations: 0 / 0.73 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.2627, allocations: 3.984 kB / 0.73 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003898/0.2631, allocations: 85.59 kB / 0.7301 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.2631, allocations: 0 / 0.7301 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.2631, allocations: 0 / 0.7301 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.2632, allocations: 4 kB / 0.7301 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005207/0.2637, allocations: 87.86 kB / 0.7302 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004608/0.2642, allocations: 276.8 kB / 0.7305 GB, free: 5.477 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.2645, allocations: 62.55 kB / 0.7305 GB, free: 5.406 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.2646, allocations: 0 / 0.7305 GB, free: 5.406 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.2646, allocations: 34.56 kB / 0.7305 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=3): time 1.923e-06/0.2646, allocations: 3.938 kB / 0.7305 GB, free: 5.359 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3): time 0.0009425/0.2656, allocations: 165.9 kB / 0.7307 GB, free: 5.191 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.2656, allocations: 55.36 kB / 0.7308 GB, free: 5.125 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.2657, allocations: 109.8 kB / 0.7309 GB, free: 5.008 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.2658, allocations: 25.7 kB / 0.7309 GB, free: 4.977 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.656e-05/0.2659, allocations: 92.05 kB / 0.731 GB, free: 4.883 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.2659, allocations: 11.89 kB / 0.731 GB, free: 4.871 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.2659, allocations: 0 / 0.731 GB, free: 4.871 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.2661, allocations: 314.8 kB / 0.7313 GB, free: 4.555 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.2663, allocations: 39.97 kB / 0.7313 GB, free: 4.516 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002584/0.2666, allocations: 51.94 kB / 0.7314 GB, free: 4.465 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.2669, allocations: 43.97 kB / 0.7314 GB, free: 4.422 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2669, allocations: 3.938 kB / 0.7314 GB, free: 4.418 MB / 0.5573 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006009/0.2675, allocations: 113.6 kB / 0.7315 GB, free: 4.301 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.2676, allocations: 8 kB / 0.7315 GB, free: 4.293 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.2676, allocations: 3.938 kB / 0.7315 GB, free: 4.289 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/0.2676, allocations: 7.984 kB / 0.7316 GB, free: 4.281 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.2678, allocations: 19.98 kB / 0.7316 GB, free: 4.262 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.2678, allocations: 0 / 0.7316 GB, free: 4.262 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.268, allocations: 23.94 kB / 0.7316 GB, free: 4.238 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.268, allocations: 0 / 0.7316 GB, free: 4.238 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 (3): * Single equations (assignments): 3 * 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.0001176/0.2682, allocations: 113.8 kB / 0.7317 GB, free: 4.117 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.2682, allocations: 3.906 kB / 0.7317 GB, free: 4.113 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.795e-05/0.2682, allocations: 7.891 kB / 0.7317 GB, free: 4.098 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.2683, allocations: 4 kB / 0.7317 GB, free: 4.094 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2683, allocations: 0 / 0.7317 GB, free: 4.094 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2683, allocations: 4 kB / 0.7317 GB, free: 4.09 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002304/0.2685, allocations: 169.6 kB / 0.7319 GB, free: 3.875 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2686, allocations: 0 / 0.7319 GB, free: 3.875 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.2688, allocations: 23.92 kB / 0.7319 GB, free: 3.852 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.2688, allocations: 0 / 0.7319 GB, free: 3.852 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.2688, allocations: 3.984 kB / 0.7319 GB, free: 3.848 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2688, allocations: 0 / 0.7319 GB, free: 3.848 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2688, allocations: 3.938 kB / 0.7319 GB, free: 3.844 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006518/0.2695, allocations: 219.4 kB / 0.7321 GB, free: 3.613 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.103e-05/0.2696, allocations: 81.02 kB / 0.7322 GB, free: 3.516 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.2696, allocations: 4 kB / 0.7322 GB, free: 3.512 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.2698, allocations: 15.97 kB / 0.7322 GB, free: 3.496 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/0.2699, allocations: 8 kB / 0.7322 GB, free: 3.488 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.2699, allocations: 0 / 0.7322 GB, free: 3.488 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.494e-05/0.27, allocations: 91.27 kB / 0.7323 GB, free: 3.398 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.41e-07/0.27, allocations: 0 / 0.7323 GB, free: 3.398 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003083/0.2703, allocations: 11.94 kB / 0.7323 GB, free: 3.387 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 (3): * Single equations (assignments): 3 * 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.001018/0.2713, allocations: 0.7592 MB / 0.7331 GB, free: 2.602 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005932/0.2719, allocations: 87.92 kB / 0.7331 GB, free: 2.516 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.272, allocations: 4 kB / 0.7332 GB, free: 2.512 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002805/0.2722, allocations: 47.91 kB / 0.7332 GB, free: 2.465 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.2726, allocations: 4 kB / 0.7332 GB, free: 2.461 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006163/0.2732, allocations: 174.2 kB / 0.7334 GB, free: 2.254 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.2735, allocations: 0.6852 MB / 0.734 GB, free: 1.543 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.248e-05/0.2736, allocations: 0 / 0.734 GB, free: 1.543 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.907e-05/0.2736, allocations: 11.44 kB / 0.734 GB, free: 1.531 MB / 0.5573 GB Notification: Performance of SimCode: time 1.172e-06/0.2736, allocations: 0 / 0.734 GB, free: 1.531 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02025/0.2939, allocations: 1.289 MB / 0.7353 GB, free: 360 kB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003339/0.2943, allocations: 189 kB / 0.7355 GB, free: 116 kB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.591/2.885, allocations: 0 / 0.7355 GB, free: 116 kB / 0.5573 GB