Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.61/1.61, allocations: 297.4 MB / 312.6 MB, free: 2.93 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 196.7 kB / 382.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 225.7 MB / 0.6617 GB, free: 7.254 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008247/0.0008246, allocations: 88.23 kB / 0.7789 GB, free: 46.83 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003084/0.0003084, allocations: 11.98 kB / 0.9058 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5623/0.5627, allocations: 119.2 MB / 1.022 GB, free: 57.64 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.001903/0.5646, allocations: 1.246 MB / 1.023 GB, free: 57.04 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003356/0.565, allocations: 190.5 kB / 1.024 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.02e-05/0.565, allocations: 5.188 kB / 1.024 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.5651, allocations: 8.781 kB / 1.024 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.196e-05/0.5652, allocations: 3.938 kB / 1.024 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.5654, allocations: 30.92 kB / 1.024 GB, free: 56.87 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.581e-05/0.5654, allocations: 46.31 kB / 1.024 GB, free: 56.86 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.5656, allocations: 20.38 kB / 1.024 GB, free: 56.85 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.939e-05/0.5656, allocations: 23.02 kB / 1.024 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.588e-05/0.5657, allocations: 28.58 kB / 1.024 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.5657, allocations: 1.281 kB / 1.024 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.179e-05/0.5658, allocations: 6.5 kB / 1.024 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.325e-05/0.5658, allocations: 15.47 kB / 1.024 GB, free: 56.82 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.902e-05/0.5659, allocations: 48.69 kB / 1.024 GB, free: 56.78 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.566, allocations: 52.8 kB / 1.024 GB, free: 56.77 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.5661, allocations: 5.281 kB / 1.024 GB, free: 56.76 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.875e-06/0.5661, allocations: 4.547 kB / 1.024 GB, free: 56.76 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.5661, allocations: 0.5 kB / 1.024 GB, free: 56.76 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000496/0.5666, allocations: 383.2 kB / 1.024 GB, free: 56.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.5666, allocations: 9.625 kB / 1.024 GB, free: 56.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.05e-05/0.5667, allocations: 4.25 kB / 1.024 GB, free: 56.39 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.5668, allocations: 183.8 kB / 1.025 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.5668, allocations: 4.531 kB / 1.025 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.5668, allocations: 7.125 kB / 1.025 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.5671, allocations: 99.09 kB / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.5671, allocations: 1.406 kB / 1.025 GB, free: 56.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.5671, allocations: 9.375 kB / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.5672, allocations: 0 / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000314/0.5675, allocations: 99.67 kB / 1.025 GB, free: 56.12 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/0.568, allocations: 345.2 kB / 1.025 GB, free: 55.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.5682, allocations: 70.89 kB / 1.025 GB, free: 55.79 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.5683, allocations: 49.59 kB / 1.025 GB, free: 55.78 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.5684, allocations: 3.078 kB / 1.025 GB, free: 55.78 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.5684, allocations: 34.48 kB / 1.025 GB, free: 55.74 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.883e-06/0.5684, allocations: 0.5625 kB / 1.025 GB, free: 55.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005684/0.569, allocations: 182.9 kB / 1.025 GB, free: 55.68 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.569, allocations: 61.7 kB / 1.025 GB, free: 55.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.292e-05/0.5691, allocations: 113.5 kB / 1.026 GB, free: 55.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/0.5691, allocations: 26.41 kB / 1.026 GB, free: 55.47 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/0.5691, allocations: 93.34 kB / 1.026 GB, free: 55.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.5692, allocations: 15.22 kB / 1.026 GB, free: 55.37 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.5692, allocations: 0 / 1.026 GB, free: 55.37 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.896e-05/0.5692, allocations: 322.2 kB / 1.026 GB, free: 55.05 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.5694, allocations: 46.69 kB / 1.026 GB, free: 55.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.5695, allocations: 42.31 kB / 1.026 GB, free: 55.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.5698, allocations: 98.44 kB / 1.026 GB, free: 55.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.5698, allocations: 0 / 1.026 GB, free: 55.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003164/0.5702, allocations: 127.7 kB / 1.026 GB, free: 54.97 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.5702, allocations: 8.938 kB / 1.026 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.5702, allocations: 0 / 1.026 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.5702, allocations: 0 / 1.026 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.5703, allocations: 25.27 kB / 1.026 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.5704, allocations: 3.938 kB / 1.026 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.999e-05/0.5704, allocations: 24.2 kB / 1.026 GB, free: 54.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.5705, allocations: 2.297 kB / 1.026 GB, free: 54.95 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.566e-05/0.5705, allocations: 118 kB / 1.026 GB, free: 54.83 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.5706, allocations: 7.344 kB / 1.026 GB, free: 54.83 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003628/0.5709, allocations: 139.9 kB / 1.027 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.5709, allocations: 0.9062 kB / 1.027 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.571, allocations: 4.391 kB / 1.027 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.571, allocations: 0 / 1.027 GB, free: 54.77 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.5711, allocations: 179.6 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5711, allocations: 0.6562 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.817e-05/0.5712, allocations: 21.33 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.5712, allocations: 0 / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.5712, allocations: 1.406 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.5712, allocations: 1.125 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5712, allocations: 3.938 kB / 1.027 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003266/0.5716, allocations: 233.8 kB / 1.027 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.822e-05/0.5716, allocations: 78.48 kB / 1.027 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.5716, allocations: 6.312 kB / 1.027 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.5717, allocations: 15.59 kB / 1.027 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/0.5718, allocations: 5.094 kB / 1.027 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.5718, allocations: 1.375 kB / 1.027 GB, free: 54.31 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.653e-05/0.5718, allocations: 95.05 kB / 1.027 GB, free: 54.23 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5718, allocations: 0 / 1.027 GB, free: 54.23 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002003/0.572, allocations: 13.25 kB / 1.027 GB, free: 54.22 MB / 0.698 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001173/0.5722, allocations: 113.7 kB / 1.027 GB, free: 54.13 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003425/0.5725, allocations: 97.78 kB / 1.027 GB, free: 54.11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5725, allocations: 0 / 1.027 GB, free: 54.11 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.5727, allocations: 57.48 kB / 1.027 GB, free: 54.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.573, allocations: 12.81 kB / 1.027 GB, free: 54.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002905/0.5733, allocations: 162.4 kB / 1.028 GB, free: 53.96 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.5734, allocations: 0.6907 MB / 1.028 GB, free: 53.26 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.126e-05/0.5734, allocations: 9.078 kB / 1.028 GB, free: 53.26 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.147e-05/0.5735, allocations: 7.438 kB / 1.028 GB, free: 53.26 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/0.5735, allocations: 0 / 1.028 GB, free: 53.26 MB / 0.698 GB Notification: Performance of Templates: time 0.002402/0.5759, allocations: 0.6278 MB / 1.029 GB, free: 53.2 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)