Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.649/1.649, allocations: 306.1 MB / 321.4 MB, free: 10.71 MB / 250.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.0009933/0.0009933, allocations: 183.5 kB / 393.1 MB, free: 4.062 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.32/1.32, allocations: 225.7 MB / 0.6743 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007422/0.0007421, allocations: 100.1 kB / 0.7935 GB, free: 40.13 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003489, allocations: 12 kB / 0.9224 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5829/0.5833, allocations: 121.3 MB / 1.041 GB, free: 58.79 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.001643/0.585, allocations: 1.244 MB / 1.042 GB, free: 57.97 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003263/0.5853, allocations: 188 kB / 1.042 GB, free: 57.8 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.893e-05/0.5854, allocations: 3.531 kB / 1.042 GB, free: 57.8 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.5855, allocations: 11.5 kB / 1.042 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.216e-05/0.5855, allocations: 5.938 kB / 1.042 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.5857, allocations: 29.48 kB / 1.042 GB, free: 57.77 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.213e-05/0.5858, allocations: 47.12 kB / 1.042 GB, free: 57.75 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.5859, allocations: 23.66 kB / 1.042 GB, free: 57.75 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.295e-05/0.586, allocations: 20.23 kB / 1.042 GB, free: 57.74 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.275e-05/0.586, allocations: 26.75 kB / 1.042 GB, free: 57.73 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.5861, allocations: 1.969 kB / 1.042 GB, free: 57.73 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.515e-05/0.5861, allocations: 5.062 kB / 1.042 GB, free: 57.73 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.078e-05/0.5862, allocations: 15.42 kB / 1.042 GB, free: 57.72 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.635e-05/0.5862, allocations: 49.08 kB / 1.042 GB, free: 57.68 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.5863, allocations: 53.44 kB / 1.043 GB, free: 57.66 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.5864, allocations: 6.406 kB / 1.043 GB, free: 57.65 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5864, allocations: 1.156 kB / 1.043 GB, free: 57.65 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.367e-06/0.5864, allocations: 0 / 1.043 GB, free: 57.65 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.0004081/0.5868, allocations: 382.2 kB / 1.043 GB, free: 57.28 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.5868, allocations: 8.875 kB / 1.043 GB, free: 57.28 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.5869, allocations: 8.469 kB / 1.043 GB, free: 57.28 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.587, allocations: 190.8 kB / 1.043 GB, free: 57.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.506e-06/0.587, allocations: 1.906 kB / 1.043 GB, free: 57.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.587, allocations: 8.562 kB / 1.043 GB, free: 57.07 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.5873, allocations: 96.92 kB / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.5873, allocations: 192 / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.5873, allocations: 9.062 kB / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.5873, allocations: 6.562 kB / 1.043 GB, free: 57.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.5876, allocations: 94.98 kB / 1.043 GB, free: 57.01 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.5881, allocations: 341.5 kB / 1.044 GB, free: 56.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.5883, allocations: 71.8 kB / 1.044 GB, free: 56.68 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.5885, allocations: 48.8 kB / 1.044 GB, free: 56.67 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.5885, allocations: 7.422 kB / 1.044 GB, free: 56.67 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.197e-05/0.5885, allocations: 35.59 kB / 1.044 GB, free: 56.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.893e-06/0.5885, allocations: 3.984 kB / 1.044 GB, free: 56.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005219/0.5891, allocations: 176.5 kB / 1.044 GB, free: 56.57 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.759e-05/0.5891, allocations: 51.41 kB / 1.044 GB, free: 56.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.446e-05/0.5892, allocations: 120.9 kB / 1.044 GB, free: 56.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.5892, allocations: 25.7 kB / 1.044 GB, free: 56.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.175e-05/0.5892, allocations: 100.8 kB / 1.044 GB, free: 56.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.5892, allocations: 12.75 kB / 1.044 GB, free: 56.26 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.5892, allocations: 0 / 1.044 GB, free: 56.26 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.566e-05/0.5893, allocations: 320 kB / 1.045 GB, free: 55.94 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.5894, allocations: 46.97 kB / 1.045 GB, free: 55.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.5896, allocations: 43.25 kB / 1.045 GB, free: 55.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.5898, allocations: 93.11 kB / 1.045 GB, free: 55.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5899, allocations: 0 / 1.045 GB, free: 55.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002972/0.5902, allocations: 135.9 kB / 1.045 GB, free: 55.85 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.5902, allocations: 7.844 kB / 1.045 GB, free: 55.85 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5902, allocations: 0 / 1.045 GB, free: 55.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.5902, allocations: 7.125 kB / 1.045 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.5903, allocations: 21.5 kB / 1.045 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.5903, allocations: 0 / 1.045 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.632e-05/0.5904, allocations: 15.45 kB / 1.045 GB, free: 55.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.5904, allocations: 0 / 1.045 GB, free: 55.84 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.794e-05/0.5905, allocations: 127.9 kB / 1.045 GB, free: 55.72 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.5905, allocations: 0 / 1.045 GB, free: 55.72 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003598/0.5909, allocations: 138.2 kB / 1.045 GB, free: 55.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5909, allocations: 4 kB / 1.045 GB, free: 55.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.5909, allocations: 0 / 1.045 GB, free: 55.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5909, allocations: 3.703 kB / 1.045 GB, free: 55.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.5911, allocations: 178.1 kB / 1.045 GB, free: 55.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.5911, allocations: 1.344 kB / 1.045 GB, free: 55.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.931e-05/0.5912, allocations: 24.02 kB / 1.045 GB, free: 55.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.5912, allocations: 0 / 1.045 GB, free: 55.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.5912, allocations: 11.36 kB / 1.045 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5912, allocations: 0 / 1.045 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5912, allocations: 0 / 1.045 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.5916, allocations: 220.9 kB / 1.046 GB, free: 55.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.291e-05/0.5916, allocations: 86.83 kB / 1.046 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.5916, allocations: 4.219 kB / 1.046 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.5917, allocations: 24.38 kB / 1.046 GB, free: 55.19 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.5918, allocations: 1.688 kB / 1.046 GB, free: 55.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.5918, allocations: 2.484 kB / 1.046 GB, free: 55.19 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.307e-05/0.5918, allocations: 92.27 kB / 1.046 GB, free: 55.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5918, allocations: 3.562 kB / 1.046 GB, free: 55.11 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002405/0.5921, allocations: 10.59 kB / 1.046 GB, free: 55.11 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.0001114/0.5922, allocations: 112.4 kB / 1.046 GB, free: 55.02 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003252/0.5925, allocations: 100.8 kB / 1.046 GB, free: 55 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5925, allocations: 7.5 kB / 1.046 GB, free: 55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.5927, allocations: 47.58 kB / 1.046 GB, free: 54.99 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.593, allocations: 13.62 kB / 1.046 GB, free: 54.98 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002824/0.5933, allocations: 163.9 kB / 1.046 GB, free: 54.84 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.5934, allocations: 0.6893 MB / 1.047 GB, free: 54.14 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.158e-05/0.5934, allocations: 9.656 kB / 1.047 GB, free: 54.14 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.261e-05/0.5935, allocations: 9.188 kB / 1.047 GB, free: 54.13 MB / 0.698 GB Notification: Performance of SimCode: time 2.4e-07/0.5935, allocations: 3.938 kB / 1.047 GB, free: 54.13 MB / 0.698 GB Notification: Performance of Templates: time 0.002317/0.5958, allocations: 0.623 MB / 1.048 GB, free: 54.06 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)