Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.001371/0.001371, allocations: 112.5 kB / 18.35 MB, free: 4.074 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.001295/0.001295, allocations: 189.9 kB / 21.51 MB, free: 0.9141 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.403/1.403, allocations: 225.6 MB / 250.1 MB, free: 13.53 MB / 206.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 3.187/3.187, allocations: 496.1 MB / 0.7826 GB, free: 33.65 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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fac",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Factorial") translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fac",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Factorial") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/1.981e-05, allocations: 6.219 kB / 1.137 GB, free: 33.89 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.001311/0.001331, allocations: 0.5902 MB / 1.137 GB, free: 33.55 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0002445/0.001575, allocations: 51.58 kB / 1.137 GB, free: 33.51 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.61e-05/0.001591, allocations: 0 / 1.137 GB, free: 33.51 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.001608, allocations: 2.531 kB / 1.137 GB, free: 33.51 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.581e-06/0.001614, allocations: 1.094 kB / 1.137 GB, free: 33.51 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.001813, allocations: 9.625 kB / 1.137 GB, free: 33.51 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 4.361e-05/0.001856, allocations: 11.05 kB / 1.137 GB, free: 33.5 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.959e-05/0.001906, allocations: 4.438 kB / 1.137 GB, free: 33.5 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 1.267e-05/0.001919, allocations: 7.094 kB / 1.137 GB, free: 33.5 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 1.993e-05/0.001938, allocations: 0 / 1.137 GB, free: 33.5 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.001949, allocations: 1.062 kB / 1.137 GB, free: 33.5 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.736e-05/0.002017, allocations: 12.23 kB / 1.137 GB, free: 33.49 MB / 0.9044 GB Notification: Performance of combineBinaries: time 2.371e-05/0.00204, allocations: 14.77 kB / 1.137 GB, free: 33.48 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 5.229e-06/0.002046, allocations: 7.938 kB / 1.137 GB, free: 33.48 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.082e-05/0.002056, allocations: 0 / 1.137 GB, free: 33.48 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.105e-06/0.002064, allocations: 0.5312 kB / 1.137 GB, free: 33.48 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: 2 (2) * Number of variables: 2 (2) Notification: Performance of Bindings: time 0.0002272/0.002292, allocations: 183.2 kB / 1.137 GB, free: 33.21 MB / 0.9044 GB Notification: Performance of FunctionAlias: time 6.478e-05/0.002356, allocations: 19.5 kB / 1.137 GB, free: 33.21 MB / 0.9044 GB Notification: Performance of Early Inline: time 4.469e-05/0.002401, allocations: 60.33 kB / 1.137 GB, free: 33.14 MB / 0.9044 GB Notification: Performance of Simplify 1: time 2.109e-05/0.002422, allocations: 35.47 kB / 1.138 GB, free: 33.08 MB / 0.9044 GB Notification: Performance of Alias: time 0.0002463/0.002669, allocations: 110.1 kB / 1.138 GB, free: 32.95 MB / 0.9044 GB Notification: Performance of Simplify 2: time 1.66e-05/0.002685, allocations: 34.52 kB / 1.138 GB, free: 32.89 MB / 0.9044 GB Notification: Performance of Remove Stream: time 1.688e-05/0.002702, allocations: 40.59 kB / 1.138 GB, free: 32.83 MB / 0.9044 GB Notification: Performance of Detect States: time 9.235e-05/0.002794, allocations: 69.17 kB / 1.138 GB, free: 32.73 MB / 0.9044 GB Notification: Performance of Events: time 1.006e-05/0.002804, allocations: 3.219 kB / 1.138 GB, free: 32.73 MB / 0.9044 GB Notification: Performance of Partitioning: time 3.916e-05/0.002844, allocations: 29.95 kB / 1.138 GB, free: 32.7 MB / 0.9044 GB Notification: Performance of Causalize: time 7.681e-05/0.00292, allocations: 59.81 kB / 1.138 GB, free: 32.68 MB / 0.9044 GB Notification: Performance of After Index Reduction Inline: time 1.095e-05/0.002931, allocations: 10.38 kB / 1.138 GB, free: 32.67 MB / 0.9044 GB Notification: Performance of Simplify: time 4.516e-05/0.002976, allocations: 79.19 kB / 1.138 GB, free: 32.56 MB / 0.9044 GB Notification: Performance of Inline: time 1.64e-05/0.002993, allocations: 26.95 kB / 1.138 GB, free: 32.54 MB / 0.9044 GB Notification: Performance of Partitioning: time 6.452e-06/0.002999, allocations: 14.59 kB / 1.138 GB, free: 32.52 MB / 0.9044 GB Notification: Performance of Cleanup: time 9.518e-06/0.003009, allocations: 7.125 kB / 1.138 GB, free: 32.52 MB / 0.9044 GB Notification: Performance of Causalize: time 8.314e-05/0.003092, allocations: 65.5 kB / 1.138 GB, free: 32.49 MB / 0.9044 GB Notification: Performance of Tearing: time 9.177e-06/0.003101, allocations: 0 / 1.138 GB, free: 32.49 MB / 0.9044 GB Notification: Performance of Initialization: time 1.212e-06/0.003102, allocations: 4 kB / 1.138 GB, free: 32.48 MB / 0.9044 GB Notification: Performance of Remove Dummies: time 3.957e-06/0.003106, allocations: 2.719 kB / 1.138 GB, free: 32.48 MB / 0.9044 GB Notification: Performance of Tearing: time 5.31e-07/0.003107, allocations: 0 / 1.138 GB, free: 32.48 MB / 0.9044 GB Notification: Performance of Categorize: time 4.749e-06/0.003112, allocations: 0 / 1.138 GB, free: 32.48 MB / 0.9044 GB Notification: Performance of Solve: time 2.7e-05/0.003139, allocations: 6.969 kB / 1.138 GB, free: 32.48 MB / 0.9044 GB Notification: Performance of Jacobian: time 4.519e-06/0.003143, allocations: 4 kB / 1.138 GB, free: 32.48 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: ................. 2 (2) {fac, n} * 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: ........... 3 (scalar:3, 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: ........... 3 (scalar:3, 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 2.871e-05/0.003172, allocations: 24.39 kB / 1.138 GB, free: 32.46 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003539/0.003526, allocations: 0.7649 MB / 1.139 GB, free: 31.71 MB / 0.9044 GB Notification: Performance of Templates: time 0.002328/0.005854, allocations: 318.1 kB / 1.139 GB, free: 31.65 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Factorial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Factorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Factorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.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.319062895141542]