Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.512/2.512, allocations: 254.9 MB / 269.9 MB, free: 9.641 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.001396/0.001396, allocations: 193.3 kB / 329.5 MB, free: 1.172 MB / 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 2.306/2.306, allocations: 225.6 MB / 0.6001 GB, free: 2.125 MB / 426.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.0009972/0.0009971, allocations: 91.67 kB / 0.7074 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004915/0.0004918, allocations: 15.97 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2108, allocations: 109.1 MB / 0.9308 GB, free: 25.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.001815/0.2126, allocations: 1.24 MB / 0.932 GB, free: 23.87 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003415/0.213, allocations: 112.6 kB / 0.9321 GB, free: 23.76 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.167e-05/0.2131, allocations: 7.875 kB / 0.9321 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.2132, allocations: 0 / 0.9321 GB, free: 23.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 3.015e-05/0.2133, allocations: 7.938 kB / 0.9321 GB, free: 23.74 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.2135, allocations: 27.91 kB / 0.9321 GB, free: 23.71 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.994e-05/0.2136, allocations: 43.84 kB / 0.9322 GB, free: 23.67 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.2137, allocations: 35.88 kB / 0.9322 GB, free: 23.64 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.288e-05/0.2138, allocations: 19.91 kB / 0.9322 GB, free: 23.62 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.817e-05/0.2139, allocations: 19.92 kB / 0.9322 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.2139, allocations: 0 / 0.9322 GB, free: 23.6 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.27e-05/0.214, allocations: 15.98 kB / 0.9322 GB, free: 23.58 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 3.061e-05/0.214, allocations: 11.92 kB / 0.9323 GB, free: 23.57 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.2141, allocations: 29.7 kB / 0.9323 GB, free: 23.54 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.2142, allocations: 35.94 kB / 0.9323 GB, free: 23.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.2142, allocations: 8 kB / 0.9323 GB, free: 23.49 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2142, allocations: 0 / 0.9323 GB, free: 23.49 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2142, allocations: 0 / 0.9323 GB, free: 23.49 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.0005803/0.2148, allocations: 371.7 kB / 0.9327 GB, free: 23.08 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.2149, allocations: 19.97 kB / 0.9327 GB, free: 23.06 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.2149, allocations: 8.844 kB / 0.9327 GB, free: 23.05 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.2151, allocations: 188.2 kB / 0.9329 GB, free: 22.83 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.2151, allocations: 4.375 kB / 0.9329 GB, free: 22.82 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.2151, allocations: 4.375 kB / 0.9329 GB, free: 22.82 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003956/0.2155, allocations: 102.2 kB / 0.933 GB, free: 22.71 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.2156, allocations: 4.172 kB / 0.933 GB, free: 22.71 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.2156, allocations: 7.938 kB / 0.933 GB, free: 22.7 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2156, allocations: 0 / 0.933 GB, free: 22.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005255/0.2161, allocations: 99.86 kB / 0.9331 GB, free: 22.61 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006794/0.2168, allocations: 340.7 kB / 0.9334 GB, free: 22.22 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.2172, allocations: 70.56 kB / 0.9335 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002615/0.2174, allocations: 52.91 kB / 0.9335 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.684e-05/0.2175, allocations: 4 kB / 0.9335 GB, free: 22.09 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.2175, allocations: 30.56 kB / 0.9336 GB, free: 22.05 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 3.306e-06/0.2175, allocations: 4 kB / 0.9336 GB, free: 22.04 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0009275/0.2185, allocations: 169.5 kB / 0.9337 GB, free: 21.87 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.2185, allocations: 55.41 kB / 0.9338 GB, free: 21.8 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.178e-05/0.2186, allocations: 113.8 kB / 0.9339 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.2186, allocations: 25.7 kB / 0.9339 GB, free: 21.65 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.2187, allocations: 104 kB / 0.934 GB, free: 21.55 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.2187, allocations: 7.891 kB / 0.934 GB, free: 21.54 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.2187, allocations: 3.938 kB / 0.934 GB, free: 21.54 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.541e-05/0.2188, allocations: 322.8 kB / 0.9343 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.2191, allocations: 43.95 kB / 0.9344 GB, free: 21.17 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002466/0.2193, allocations: 43.97 kB / 0.9344 GB, free: 21.12 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.2196, allocations: 47.95 kB / 0.9345 GB, free: 21.08 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2196, allocations: 0 / 0.9345 GB, free: 21.08 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005674/0.2202, allocations: 121.6 kB / 0.9346 GB, free: 20.95 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.2202, allocations: 7.938 kB / 0.9346 GB, free: 20.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.2203, allocations: 0 / 0.9346 GB, free: 20.95 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.2203, allocations: 3.984 kB / 0.9346 GB, free: 20.94 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002029/0.2205, allocations: 19.98 kB / 0.9346 GB, free: 20.92 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.2205, allocations: 0 / 0.9346 GB, free: 20.92 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.2207, allocations: 27.89 kB / 0.9347 GB, free: 20.89 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.53e-05/0.2207, allocations: 0 / 0.9347 GB, free: 20.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.862e-05/0.2208, allocations: 125.6 kB / 0.9348 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.44e-05/0.2208, allocations: 4 kB / 0.9348 GB, free: 20.76 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006087/0.2215, allocations: 137.5 kB / 0.9349 GB, free: 20.61 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.2215, allocations: 4 kB / 0.9349 GB, free: 20.61 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.2215, allocations: 0 / 0.9349 GB, free: 20.61 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2215, allocations: 4 kB / 0.9349 GB, free: 20.61 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.2217, allocations: 177.6 kB / 0.9351 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.2217, allocations: 0 / 0.9351 GB, free: 20.38 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.2219, allocations: 23.97 kB / 0.9351 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2219, allocations: 0 / 0.9351 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.222, allocations: 384 / 0.9351 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.222, allocations: 0 / 0.9351 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.222, allocations: 3.984 kB / 0.9351 GB, free: 20.36 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005958/0.2226, allocations: 239.2 kB / 0.9353 GB, free: 20.11 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.906e-05/0.2226, allocations: 81.11 kB / 0.9354 GB, free: 20.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.2227, allocations: 0 / 0.9354 GB, free: 20.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.2228, allocations: 19.98 kB / 0.9354 GB, free: 19.99 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.2229, allocations: 3.984 kB / 0.9354 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.2229, allocations: 4 kB / 0.9354 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.897e-05/0.223, allocations: 95.27 kB / 0.9355 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.91e-07/0.223, allocations: 0 / 0.9355 GB, free: 19.89 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002907/0.2233, allocations: 15.84 kB / 0.9355 GB, free: 19.87 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 (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.0001534/0.2235, allocations: 103.2 kB / 0.9356 GB, free: 19.76 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000576/0.224, allocations: 103.9 kB / 0.9357 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.2241, allocations: 0 / 0.9357 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002694/0.2243, allocations: 55.89 kB / 0.9358 GB, free: 19.6 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.2247, allocations: 4 kB / 0.9358 GB, free: 19.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004198/0.2251, allocations: 168.4 kB / 0.936 GB, free: 19.41 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.2253, allocations: 0.6926 MB / 0.9366 GB, free: 18.69 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.173e-05/0.2254, allocations: 7.984 kB / 0.9366 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.2254, allocations: 7.438 kB / 0.9367 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of SimCode: time 1.072e-06/0.2254, allocations: 0 / 0.9367 GB, free: 18.68 MB / 0.5886 GB Notification: Performance of Templates: time 0.003678/0.2291, allocations: 0.6181 MB / 0.9373 GB, free: 18.06 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)