Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 111.8 kB / 18.34 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 188.5 kB / 21.52 MB, free: 0.7969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 225.6 MB / 250.1 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.925/2.925, allocations: 496.2 MB / 0.7826 GB, free: 12.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|average.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Average") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.604e-05/2.604e-05, allocations: 4.953 kB / 1.137 GB, free: 12.55 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002624/0.00265, allocations: 1.553 MB / 1.138 GB, free: 10.99 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003386/0.002988, allocations: 131.5 kB / 1.138 GB, free: 10.86 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.693e-05/0.003035, allocations: 0 / 1.138 GB, free: 10.86 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.003162, allocations: 11.86 kB / 1.138 GB, free: 10.85 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.127e-05/0.003193, allocations: 11.94 kB / 1.138 GB, free: 10.84 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.003418, allocations: 27.91 kB / 1.138 GB, free: 10.81 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001207/0.003539, allocations: 59.88 kB / 1.138 GB, free: 10.75 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.00366, allocations: 11.94 kB / 1.138 GB, free: 10.74 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.888e-05/0.003709, allocations: 27.91 kB / 1.138 GB, free: 10.71 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.505e-05/0.003774, allocations: 23.91 kB / 1.138 GB, free: 10.69 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.00379, allocations: 8 kB / 1.138 GB, free: 10.68 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.528e-05/0.003846, allocations: 12 kB / 1.138 GB, free: 10.67 MB / 0.92 GB Notification: Performance of combineBinaries: time 0.0001069/0.003953, allocations: 98.92 kB / 1.138 GB, free: 10.57 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 3.445e-05/0.003987, allocations: 51.22 kB / 1.138 GB, free: 10.52 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.252e-05/0.00401, allocations: 8 kB / 1.138 GB, free: 10.51 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.297e-05/0.004023, allocations: 0 / 1.138 GB, free: 10.51 MB / 0.92 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 Bindings: time 0.0004343/0.004457, allocations: 336.5 kB / 1.139 GB, free: 10.06 MB / 0.92 GB Notification: Performance of FunctionAlias: time 3.688e-05/0.004494, allocations: 26.78 kB / 1.139 GB, free: 10.04 MB / 0.92 GB Notification: Performance of Early Inline: time 0.0001813/0.004675, allocations: 140.6 kB / 1.139 GB, free: 9.875 MB / 0.92 GB Notification: Performance of Simplify 1: time 5.349e-05/0.004729, allocations: 56.34 kB / 1.139 GB, free: 9.793 MB / 0.92 GB Notification: Performance of Alias: time 0.0003688/0.005097, allocations: 153.1 kB / 1.139 GB, free: 9.586 MB / 0.92 GB Notification: Performance of Simplify 2: time 4.544e-05/0.005143, allocations: 44.42 kB / 1.139 GB, free: 9.516 MB / 0.92 GB Notification: Performance of Remove Stream: time 5.647e-05/0.005199, allocations: 52.36 kB / 1.139 GB, free: 9.438 MB / 0.92 GB Notification: Performance of Detect States: time 0.0001447/0.005344, allocations: 88.73 kB / 1.139 GB, free: 9.312 MB / 0.92 GB Notification: Performance of Events: time 0.0001012/0.005445, allocations: 56.02 kB / 1.139 GB, free: 9.258 MB / 0.92 GB Notification: Performance of Partitioning: time 8.856e-05/0.005534, allocations: 56.09 kB / 1.139 GB, free: 9.195 MB / 0.92 GB Notification: Performance of Causalize: time 0.0002887/0.005822, allocations: 207.8 kB / 1.14 GB, free: 8.984 MB / 0.92 GB Notification: Performance of After Index Reduction Inline: time 9.893e-05/0.005921, allocations: 99.91 kB / 1.14 GB, free: 8.887 MB / 0.92 GB Notification: Performance of Simplify: time 0.0001524/0.006074, allocations: 124.5 kB / 1.14 GB, free: 8.715 MB / 0.92 GB Notification: Performance of Inline: time 0.0001555/0.006229, allocations: 163.9 kB / 1.14 GB, free: 8.551 MB / 0.92 GB Notification: Performance of Partitioning: time 1.749e-05/0.006247, allocations: 16.11 kB / 1.14 GB, free: 8.527 MB / 0.92 GB Notification: Performance of Cleanup: time 3.179e-05/0.006278, allocations: 31.97 kB / 1.14 GB, free: 8.496 MB / 0.92 GB Notification: Performance of Causalize: time 0.0002873/0.006566, allocations: 219.9 kB / 1.14 GB, free: 8.273 MB / 0.92 GB Notification: Performance of Tearing: time 9.207e-06/0.006575, allocations: 0 / 1.14 GB, free: 8.273 MB / 0.92 GB Notification: Performance of Initialization: time 3.2e-07/0.006575, allocations: 3.938 kB / 1.14 GB, free: 8.27 MB / 0.92 GB Notification: Performance of Remove Dummies: time 3.507e-06/0.006579, allocations: 0 / 1.14 GB, free: 8.27 MB / 0.92 GB Notification: Performance of Tearing: time 9.32e-07/0.00658, allocations: 0 / 1.14 GB, free: 8.27 MB / 0.92 GB Notification: Performance of Categorize: time 9.598e-06/0.006589, allocations: 4 kB / 1.14 GB, free: 8.266 MB / 0.92 GB Notification: Performance of Solve: time 7.977e-05/0.006669, allocations: 31.97 kB / 1.14 GB, free: 8.234 MB / 0.92 GB Notification: Performance of Jacobian: time 4.809e-06/0.006674, allocations: 0 / 1.14 GB, free: 8.234 MB / 0.92 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 4.572e-05/0.00672, allocations: 27.78 kB / 1.14 GB, free: 8.211 MB / 0.92 GB Notification: Performance of SimCode: time 0.000788/0.007508, allocations: 0.8801 MB / 1.141 GB, free: 7.297 MB / 0.92 GB Notification: Performance of Templates: time 0.003271/0.01078, allocations: 0.6327 MB / 1.142 GB, free: 6.668 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Average.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Average.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.208943963050842]