Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 108.3 kB / 19.71 MB, free: 2.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 213.5 kB / 23.01 MB, free: 4.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.627/1.627, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.503/3.503, allocations: 0.49 GB / 0.7958 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|average.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|average.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Average") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.107e-05, allocations: 8.609 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002329/0.00235, allocations: 1.546 MB / 1.157 GB, free: 24.14 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0003542/0.002705, allocations: 110.6 kB / 1.157 GB, free: 24.07 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.098e-05/0.002756, allocations: 1.094 kB / 1.157 GB, free: 24.07 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.002878, allocations: 15.42 kB / 1.157 GB, free: 24.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 3.019e-05/0.002908, allocations: 6.516 kB / 1.157 GB, free: 24.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.003169, allocations: 29.47 kB / 1.157 GB, free: 24.05 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.003283, allocations: 61.84 kB / 1.157 GB, free: 24.02 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.003396, allocations: 15.22 kB / 1.157 GB, free: 24.02 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 5.254e-05/0.003449, allocations: 28.08 kB / 1.157 GB, free: 24 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.144e-05/0.00352, allocations: 27.88 kB / 1.157 GB, free: 23.99 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.00354, allocations: 9.562 kB / 1.157 GB, free: 23.99 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.295e-05/0.003603, allocations: 14.86 kB / 1.157 GB, free: 23.98 MB / 0.9044 GB Notification: Performance of combineBinaries: time 9.41e-05/0.003697, allocations: 105 kB / 1.157 GB, free: 23.91 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 2.815e-05/0.003725, allocations: 62.91 kB / 1.157 GB, free: 23.87 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.362e-05/0.003748, allocations: 5.062 kB / 1.157 GB, free: 23.87 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.293e-05/0.003761, allocations: 11.56 kB / 1.157 GB, free: 23.86 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 (7) * Number of variables: 9 (7) Notification: Performance of [SIM] Bindings: time 0.0004134/0.004175, allocations: 392.3 kB / 1.157 GB, free: 23.47 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 6.271e-05/0.004237, allocations: 42.45 kB / 1.157 GB, free: 23.43 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0001938/0.004431, allocations: 189.1 kB / 1.158 GB, free: 23.3 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 9.353e-05/0.004525, allocations: 89.06 kB / 1.158 GB, free: 23.2 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0003724/0.004897, allocations: 183.9 kB / 1.158 GB, free: 23.02 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 6.254e-05/0.00496, allocations: 82.75 kB / 1.158 GB, free: 22.92 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 2.836e-05/0.004988, allocations: 42.48 kB / 1.158 GB, free: 22.86 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 7.391e-05/0.005062, allocations: 103.6 kB / 1.158 GB, free: 22.73 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 9.928e-05/0.005161, allocations: 51.23 kB / 1.158 GB, free: 22.7 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001165/0.005278, allocations: 85.59 kB / 1.158 GB, free: 22.65 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0002459/0.005524, allocations: 155.9 kB / 1.158 GB, free: 22.61 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001305/0.005654, allocations: 149.2 kB / 1.158 GB, free: 22.54 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001774/0.005832, allocations: 158.2 kB / 1.159 GB, free: 22.36 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0002308/0.006062, allocations: 238.7 kB / 1.159 GB, free: 22.24 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.826e-05/0.006081, allocations: 19.38 kB / 1.159 GB, free: 22.21 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 3.73e-05/0.006118, allocations: 29.33 kB / 1.159 GB, free: 22.2 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002888/0.006407, allocations: 178.8 kB / 1.159 GB, free: 22.15 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.439e-05/0.006421, allocations: 6.281 kB / 1.159 GB, free: 22.14 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 5.31e-07/0.006422, allocations: 0 / 1.159 GB, free: 22.14 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.428e-06/0.006426, allocations: 8.906 kB / 1.159 GB, free: 22.14 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.699e-06/0.006431, allocations: 14.06 kB / 1.159 GB, free: 22.12 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 8.145e-06/0.006439, allocations: 0.9688 kB / 1.159 GB, free: 22.12 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001593/0.006598, allocations: 85.67 kB / 1.159 GB, free: 22.1 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.804e-06/0.006606, allocations: 0 / 1.159 GB, free: 22.1 MB / 0.9044 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {$TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 11 (scalar:11, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 11 (scalar:11, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.795e-05/0.006644, allocations: 19.28 kB / 1.159 GB, free: 22.09 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006127/0.007257, allocations: 301.9 kB / 1.16 GB, free: 21.88 MB / 0.9044 GB Notification: Performance of Templates: time 0.00346/0.01072, allocations: 0.6583 MB / 1.16 GB, free: 21.78 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Average.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Average.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.309913844801486]