Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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=5000,variableFilter="time|fac.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Factorial") translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fac.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 111.6 kB / 16.42 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 188.2 kB / 17.36 MB, free: 5.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.15/1.15, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.261/2.261, allocations: 469.8 MB / 0.7432 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.028e-05, allocations: 6.219 kB / 1.066 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.002488/0.002517, allocations: 1.509 MB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003547/0.002884, allocations: 123.6 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.041e-05/0.002927, allocations: 3.938 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.509e-05/0.002957, allocations: 3.984 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.143e-05/0.003, allocations: 3.938 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.00319, allocations: 23.92 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.238e-05/0.00327, allocations: 31.92 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.229e-05/0.00336, allocations: 19.97 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.778e-05/0.003394, allocations: 7.938 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.046e-05/0.00344, allocations: 15.92 kB / 1.068 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.003457, allocations: 4 kB / 1.068 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.573e-05/0.003517, allocations: 15.98 kB / 1.068 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of combineBinaries: time 4.748e-05/0.00357, allocations: 39.58 kB / 1.068 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 1.364e-05/0.003596, allocations: 31.55 kB / 1.068 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.275e-05/0.003613, allocations: 4 kB / 1.068 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.332e-05/0.00363, allocations: 3.938 kB / 1.068 GB, free: 11.76 MB / 0.8419 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.0002579/0.003892, allocations: 228.7 kB / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 7.923e-05/0.003977, allocations: 35.91 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of Early Inline: time 9.27e-05/0.004076, allocations: 100.3 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of simplify1: time 5.043e-05/0.004133, allocations: 40.42 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of Alias: time 0.000267/0.004407, allocations: 152.8 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of simplify2: time 3.622e-05/0.004452, allocations: 40.98 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001875/0.004646, allocations: 44.17 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of Events: time 6.912e-05/0.004721, allocations: 27.91 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of Partitioning: time 4.911e-05/0.00478, allocations: 40.12 kB / 1.068 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0001837/0.00497, allocations: 144 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 9.164e-05/0.005069, allocations: 108.3 kB / 1.069 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of Inline: time 0.0001202/0.005195, allocations: 144.4 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.337e-05/0.005215, allocations: 12.12 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of Cleanup: time 3.11e-05/0.00525, allocations: 23.92 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0001809/0.005436, allocations: 164.4 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of Tearing: time 7.554e-06/0.005451, allocations: 0 / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of Initialization: time 3.9e-07/0.005457, allocations: 0 / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of Tearing: time 1.743e-06/0.005462, allocations: 0 / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of Categorize: time 7.635e-06/0.005474, allocations: 3.938 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of Solve: time 4.525e-05/0.005523, allocations: 23.92 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.474e-06/0.005532, allocations: 4 kB / 1.069 GB, free: 10.1 MB / 0.8419 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) {NOT YET AVAILABLE} * Number of discrete variables: ................. 5 (5) {fac.y, rea2Int.y, $SEV_0, $TEV_1, $TEV_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 (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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.812e-05/0.005575, allocations: 33.84 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0005193/0.006099, allocations: 0.8214 MB / 1.07 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of Templates: time 0.002111/0.00822, allocations: 0.5387 MB / 1.07 GB, free: 8.691 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Factorial.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Factorial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Factorial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Factorial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Factorial.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Factorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Factorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Factorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches