Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) 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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fac",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.Factorial") translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fac",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 107.7 kB / 16.42 MB, free: 6.016 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.001102/0.001102, allocations: 185.2 kB / 17.35 MB, free: 5.605 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.16/1.16, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.243/2.243, allocations: 469.8 MB / 0.7431 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.408e-06/9.418e-06, allocations: 2.281 kB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.001063/0.001081, allocations: 0.5877 MB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002052/0.001296, allocations: 51.8 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.246e-05/0.001318, allocations: 0 / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.309e-05/0.001337, allocations: 4 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.628e-06/0.001346, allocations: 0 / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001685/0.001522, allocations: 15.92 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 3.556e-05/0.001566, allocations: 0 / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.00161, allocations: 4 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.618e-06/0.001624, allocations: 0 / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 1.941e-05/0.001648, allocations: 7.922 kB / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.143e-06/0.001659, allocations: 0 / 1.066 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.27e-05/0.001717, allocations: 15.98 kB / 1.067 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of combineBinaries: time 1.917e-05/0.001743, allocations: 7.844 kB / 1.067 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 3.978e-06/0.001751, allocations: 4 kB / 1.067 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.01e-05/0.001766, allocations: 4 kB / 1.067 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of FrontEnd: time 6.893e-06/0.001777, allocations: 3.938 kB / 1.067 GB, free: 12.86 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: 2 (2) * Number of variables: 2 (2) Notification: Performance of Bindings: time 0.0002037/0.001984, allocations: 157.3 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 5.259e-05/0.002044, allocations: 15.89 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of Early Inline: time 5.957e-05/0.00211, allocations: 56.34 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of simplify1: time 2.759e-05/0.002143, allocations: 40.42 kB / 1.067 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of Alias: time 0.0001854/0.002332, allocations: 84.86 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of simplify2: time 2.356e-05/0.002364, allocations: 36.42 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of Detect States: time 4.136e-05/0.00241, allocations: 24.2 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of Events: time 9.087e-06/0.002425, allocations: 4 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of Partitioning: time 3.19e-05/0.002461, allocations: 16.11 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of Causalize: time 8.856e-05/0.002556, allocations: 60.17 kB / 1.067 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 4.205e-05/0.002606, allocations: 56.48 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of Inline: time 5.325e-05/0.002667, allocations: 72.47 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.011e-05/0.002682, allocations: 12.12 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of Cleanup: time 9.157e-06/0.002695, allocations: 4 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of Causalize: time 8.764e-05/0.002789, allocations: 60.02 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of Tearing: time 7.434e-06/0.002805, allocations: 0 / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of Initialization: time 2.7e-07/0.002809, allocations: 0 / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of Tearing: time 8.92e-07/0.002814, allocations: 0 / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of Categorize: time 6.322e-06/0.002824, allocations: 3.984 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of Solve: time 2.358e-05/0.002853, allocations: 11.98 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of Jacobian: time 3.497e-06/0.002861, allocations: 0 / 1.067 GB, free: 11.83 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: ................. 2 (2) {fac, n} * 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 (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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.225e-05/0.002897, allocations: 33.66 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0004223/0.003324, allocations: 0.767 MB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of Templates: time 0.001791/0.005124, allocations: 314.1 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Factorial.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Factorial.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Factorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Factorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Factorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches