Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.27/1.27, allocations: 255.9 MB / 271.2 MB, free: 8.902 MB / 218.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.0008548/0.0008548, allocations: 195.5 kB / 330.8 MB, free: 472 kB / 250.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.331/1.331, allocations: 225.7 MB / 0.6016 GB, free: 15.86 MB / 442.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.0007198/0.0007198, allocations: 117.3 kB / 0.709 GB, free: 5.348 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003023/0.0003023, allocations: 10.25 kB / 0.8261 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1625, allocations: 109.2 MB / 0.9327 GB, free: 24.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.001339/0.1639, allocations: 1.252 MB / 0.934 GB, free: 22.85 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003123/0.1642, allocations: 185.7 kB / 0.9341 GB, free: 22.64 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.041e-05/0.1643, allocations: 0 / 0.9341 GB, free: 22.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.1644, allocations: 11.92 kB / 0.9342 GB, free: 22.63 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.218e-05/0.1644, allocations: 7.938 kB / 0.9342 GB, free: 22.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.1646, allocations: 23.95 kB / 0.9342 GB, free: 22.6 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.306e-05/0.1647, allocations: 55.78 kB / 0.9342 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1648, allocations: 20 kB / 0.9343 GB, free: 22.53 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.731e-05/0.1649, allocations: 19.92 kB / 0.9343 GB, free: 22.51 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.501e-05/0.1649, allocations: 27.84 kB / 0.9343 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.1649, allocations: 0 / 0.9343 GB, free: 22.48 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.1e-05/0.165, allocations: 8 kB / 0.9343 GB, free: 22.47 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.545e-05/0.165, allocations: 15.97 kB / 0.9343 GB, free: 22.46 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.1651, allocations: 49.5 kB / 0.9344 GB, free: 22.4 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.904e-05/0.1652, allocations: 51.86 kB / 0.9344 GB, free: 22.35 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1652, allocations: 4 kB / 0.9344 GB, free: 22.35 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1652, allocations: 0 / 0.9344 GB, free: 22.35 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.1652, allocations: 0 / 0.9344 GB, free: 22.35 MB / 0.5886 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.0004152/0.1656, allocations: 375.6 kB / 0.9348 GB, free: 21.93 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.1657, allocations: 11.98 kB / 0.9348 GB, free: 21.92 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.1657, allocations: 16.78 kB / 0.9348 GB, free: 21.9 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.1659, allocations: 196.1 kB / 0.935 GB, free: 21.67 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.1659, allocations: 384 / 0.935 GB, free: 21.67 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.1659, allocations: 4.375 kB / 0.935 GB, free: 21.67 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.1661, allocations: 94.2 kB / 0.9351 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.1662, allocations: 4.188 kB / 0.9351 GB, free: 21.57 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1662, allocations: 7.938 kB / 0.9351 GB, free: 21.56 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.1662, allocations: 0 / 0.9351 GB, free: 21.56 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002787/0.1665, allocations: 103.8 kB / 0.9352 GB, free: 21.46 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.1669, allocations: 344.7 kB / 0.9355 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.1671, allocations: 66.56 kB / 0.9356 GB, free: 21 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001379/0.1673, allocations: 52.92 kB / 0.9356 GB, free: 20.94 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.413e-05/0.1673, allocations: 7.984 kB / 0.9357 GB, free: 20.93 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.1673, allocations: 30.56 kB / 0.9357 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1673, allocations: 0 / 0.9357 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0004916/0.1678, allocations: 173.8 kB / 0.9359 GB, free: 20.72 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/0.1679, allocations: 51.41 kB / 0.9359 GB, free: 20.66 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.725e-05/0.1679, allocations: 113.8 kB / 0.936 GB, free: 20.54 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.174e-06/0.1679, allocations: 29.64 kB / 0.936 GB, free: 20.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.087e-05/0.168, allocations: 104 kB / 0.9361 GB, free: 20.39 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.486e-05/0.168, allocations: 11.84 kB / 0.9361 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.168, allocations: 0 / 0.9361 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.308e-05/0.1681, allocations: 326.8 kB / 0.9365 GB, free: 20.05 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.1682, allocations: 39.97 kB / 0.9365 GB, free: 20.02 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.1683, allocations: 47.95 kB / 0.9365 GB, free: 19.97 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.1686, allocations: 92.78 kB / 0.9366 GB, free: 19.88 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1686, allocations: 0 / 0.9366 GB, free: 19.88 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002851/0.1689, allocations: 125.5 kB / 0.9368 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.1689, allocations: 7.984 kB / 0.9368 GB, free: 19.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.1689, allocations: 0 / 0.9368 GB, free: 19.74 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1689, allocations: 0 / 0.9368 GB, free: 19.74 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.169, allocations: 27.92 kB / 0.9368 GB, free: 19.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.1691, allocations: 0 / 0.9368 GB, free: 19.71 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.112e-05/0.1691, allocations: 19.98 kB / 0.9368 GB, free: 19.69 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.1692, allocations: 4 kB / 0.9368 GB, free: 19.69 MB / 0.5886 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.276e-05/0.1692, allocations: 122.4 kB / 0.9369 GB, free: 19.56 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.1692, allocations: 11.84 kB / 0.9369 GB, free: 19.55 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003296/0.1696, allocations: 133.5 kB / 0.9371 GB, free: 19.41 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1696, allocations: 0 / 0.9371 GB, free: 19.41 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1696, allocations: 0 / 0.9371 GB, free: 19.41 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-06/0.1696, allocations: 0 / 0.9371 GB, free: 19.41 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.1697, allocations: 177.6 kB / 0.9372 GB, free: 19.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1697, allocations: 0 / 0.9372 GB, free: 19.18 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.826e-05/0.1698, allocations: 23.97 kB / 0.9373 GB, free: 19.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1698, allocations: 7.938 kB / 0.9373 GB, free: 19.15 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.1699, allocations: 0 / 0.9373 GB, free: 19.15 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1699, allocations: 4 kB / 0.9373 GB, free: 19.15 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1699, allocations: 0 / 0.9373 GB, free: 19.15 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/0.1702, allocations: 219.4 kB / 0.9375 GB, free: 18.92 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.837e-05/0.1702, allocations: 85.02 kB / 0.9376 GB, free: 18.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.1702, allocations: 0 / 0.9376 GB, free: 18.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.841e-05/0.1703, allocations: 23.98 kB / 0.9376 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.1704, allocations: 3.984 kB / 0.9376 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.1704, allocations: 7.938 kB / 0.9376 GB, free: 18.78 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.123e-05/0.1704, allocations: 95.64 kB / 0.9377 GB, free: 18.69 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1704, allocations: 0 / 0.9377 GB, free: 18.69 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001919/0.1706, allocations: 11.94 kB / 0.9377 GB, free: 18.68 MB / 0.5886 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.0001068/0.1707, allocations: 107.2 kB / 0.9378 GB, free: 18.56 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003136/0.1711, allocations: 111.8 kB / 0.9379 GB, free: 18.45 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1711, allocations: 0 / 0.9379 GB, free: 18.45 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.1712, allocations: 44.3 kB / 0.9379 GB, free: 18.41 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.1715, allocations: 7.906 kB / 0.938 GB, free: 18.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002699/0.1717, allocations: 172.6 kB / 0.9381 GB, free: 18.21 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.1719, allocations: 0.6888 MB / 0.9388 GB, free: 17.49 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.072e-05/0.1719, allocations: 16.22 kB / 0.9388 GB, free: 17.48 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.201e-05/0.1719, allocations: 11.44 kB / 0.9388 GB, free: 17.46 MB / 0.5886 GB Notification: Performance of SimCode: time 6.81e-07/0.1719, allocations: 4 kB / 0.9388 GB, free: 17.46 MB / 0.5886 GB Notification: Performance of Templates: time 0.002286/0.1742, allocations: 0.624 MB / 0.9394 GB, free: 16.84 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)