Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Factorial.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.002274/0.002274, allocations: 112.7 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.00199/0.00199, allocations: 190 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.441/1.441, allocations: 225.6 MB / 250.1 MB, free: 3.156 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.862/2.862, allocations: 496.2 MB / 0.7826 GB, free: 12.26 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.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fac.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Factorial") translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fac.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Factorial") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.541e-05, allocations: 2.281 kB / 1.137 GB, free: 12.48 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.002674/0.002699, allocations: 1.531 MB / 1.138 GB, free: 10.94 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0004296/0.003129, allocations: 127.5 kB / 1.138 GB, free: 10.81 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.003172, allocations: 0 / 1.138 GB, free: 10.81 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.574e-05/0.003197, allocations: 7.875 kB / 1.138 GB, free: 10.8 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.086e-05/0.003248, allocations: 7.922 kB / 1.138 GB, free: 10.8 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.003491, allocations: 19.98 kB / 1.138 GB, free: 10.78 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.711e-05/0.003589, allocations: 35.91 kB / 1.138 GB, free: 10.74 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.00369, allocations: 8 kB / 1.138 GB, free: 10.73 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.779e-05/0.003728, allocations: 11.98 kB / 1.138 GB, free: 10.72 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.382e-05/0.003782, allocations: 19.91 kB / 1.138 GB, free: 10.7 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.003798, allocations: 4 kB / 1.138 GB, free: 10.7 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.608e-05/0.003864, allocations: 12 kB / 1.138 GB, free: 10.69 MB / 0.92 GB Notification: Performance of combineBinaries: time 6.949e-05/0.003934, allocations: 47.5 kB / 1.138 GB, free: 10.64 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 2.223e-05/0.003956, allocations: 31.55 kB / 1.138 GB, free: 10.61 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.479e-05/0.003971, allocations: 4 kB / 1.138 GB, free: 10.61 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.035e-05/0.003981, allocations: 0 / 1.138 GB, free: 10.61 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: 5 (5) * Number of variables: 5 (5) Notification: Performance of Bindings: time 0.0004019/0.004383, allocations: 257.4 kB / 1.139 GB, free: 10.23 MB / 0.92 GB Notification: Performance of FunctionAlias: time 0.0001166/0.0045, allocations: 38.7 kB / 1.139 GB, free: 10.2 MB / 0.92 GB Notification: Performance of Early Inline: time 0.0001254/0.004625, allocations: 104.6 kB / 1.139 GB, free: 10.07 MB / 0.92 GB Notification: Performance of Simplify 1: time 5.818e-05/0.004683, allocations: 44.42 kB / 1.139 GB, free: 10 MB / 0.92 GB Notification: Performance of Alias: time 0.0004049/0.005088, allocations: 193.8 kB / 1.139 GB, free: 9.738 MB / 0.92 GB Notification: Performance of Simplify 2: time 5.319e-05/0.005141, allocations: 48.36 kB / 1.139 GB, free: 9.664 MB / 0.92 GB Notification: Performance of Remove Stream: time 4.7e-05/0.005188, allocations: 44.41 kB / 1.139 GB, free: 9.594 MB / 0.92 GB Notification: Performance of Detect States: time 0.0001369/0.005325, allocations: 70.17 kB / 1.139 GB, free: 9.484 MB / 0.92 GB Notification: Performance of Events: time 9.086e-05/0.005416, allocations: 43.89 kB / 1.139 GB, free: 9.441 MB / 0.92 GB Notification: Performance of Partitioning: time 7.6e-05/0.005492, allocations: 44.11 kB / 1.139 GB, free: 9.391 MB / 0.92 GB Notification: Performance of Causalize: time 0.000237/0.005729, allocations: 171.9 kB / 1.139 GB, free: 9.215 MB / 0.92 GB Notification: Performance of After Index Reduction Inline: time 6.87e-05/0.005798, allocations: 71.88 kB / 1.139 GB, free: 9.145 MB / 0.92 GB Notification: Performance of Simplify: time 0.0001213/0.005919, allocations: 96.75 kB / 1.14 GB, free: 9 MB / 0.92 GB Notification: Performance of Inline: time 9.208e-05/0.006011, allocations: 91.97 kB / 1.14 GB, free: 8.906 MB / 0.92 GB Notification: Performance of Partitioning: time 1.591e-05/0.006027, allocations: 12.12 kB / 1.14 GB, free: 8.887 MB / 0.92 GB Notification: Performance of Cleanup: time 2.418e-05/0.006051, allocations: 27.92 kB / 1.14 GB, free: 8.859 MB / 0.92 GB Notification: Performance of Causalize: time 0.0002541/0.006305, allocations: 196.3 kB / 1.14 GB, free: 8.66 MB / 0.92 GB Notification: Performance of Tearing: time 9.318e-06/0.006315, allocations: 0 / 1.14 GB, free: 8.66 MB / 0.92 GB Notification: Performance of Initialization: time 2.8e-07/0.006315, allocations: 0 / 1.14 GB, free: 8.66 MB / 0.92 GB Notification: Performance of Remove Dummies: time 5.621e-06/0.006321, allocations: 4 kB / 1.14 GB, free: 8.656 MB / 0.92 GB Notification: Performance of Tearing: time 7.11e-07/0.006321, allocations: 0 / 1.14 GB, free: 8.656 MB / 0.92 GB Notification: Performance of Categorize: time 5.691e-06/0.006327, allocations: 0 / 1.14 GB, free: 8.656 MB / 0.92 GB Notification: Performance of Solve: time 4.858e-05/0.006376, allocations: 15.98 kB / 1.14 GB, free: 8.641 MB / 0.92 GB Notification: Performance of Jacobian: time 4.318e-06/0.00638, allocations: 4 kB / 1.14 GB, free: 8.637 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: ................. 5 (5) {fac.y, rea2Int.y, $SEV_0, $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: ........... 8 (scalar:8, 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: ........... 8 (scalar:8, 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.3e-05/0.006423, allocations: 30.5 kB / 1.14 GB, free: 8.617 MB / 0.92 GB Notification: Performance of SimCode: time 0.0006918/0.007115, allocations: 0.8156 MB / 1.141 GB, free: 7.777 MB / 0.92 GB Notification: Performance of Templates: time 0.003347/0.01046, allocations: 0.551 MB / 1.141 GB, free: 7.23 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Factorial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Factorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Factorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Factorial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Factorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Factorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Factorial.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.025499478913844]