Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Factorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 101.3 kB / 19.72 MB, free: 2.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001933/0.001933, allocations: 206.4 kB / 23.01 MB, free: 4.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.555/1.555, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.39/3.39, allocations: 0.49 GB / 0.7958 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_Buildings.Utilities.Math.Examples.Factorial") translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fac.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Factorial") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.421e-05, allocations: 2.281 kB / 1.155 GB, free: 25.3 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.002661/0.002685, allocations: 1.537 MB / 1.157 GB, free: 24.25 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0003948/0.00308, allocations: 109.5 kB / 1.157 GB, free: 24.19 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.773e-05/0.003127, allocations: 0.9375 kB / 1.157 GB, free: 24.19 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.863e-05/0.003156, allocations: 5.875 kB / 1.157 GB, free: 24.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.432e-05/0.0032, allocations: 6.375 kB / 1.157 GB, free: 24.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002655/0.003466, allocations: 27.09 kB / 1.157 GB, free: 24.16 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.911e-05/0.003555, allocations: 35.84 kB / 1.157 GB, free: 24.15 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.003666, allocations: 9.156 kB / 1.157 GB, free: 24.14 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.772e-05/0.003703, allocations: 13.12 kB / 1.157 GB, free: 24.14 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.405e-05/0.003757, allocations: 17.3 kB / 1.157 GB, free: 24.13 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.003775, allocations: 4.656 kB / 1.157 GB, free: 24.13 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.664e-05/0.003841, allocations: 16.73 kB / 1.157 GB, free: 24.12 MB / 0.9044 GB Notification: Performance of combineBinaries: time 6.668e-05/0.003908, allocations: 55.17 kB / 1.157 GB, free: 24.09 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 1.871e-05/0.003927, allocations: 40.83 kB / 1.157 GB, free: 24.05 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.407e-05/0.003941, allocations: 2.906 kB / 1.157 GB, free: 24.05 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.126e-05/0.003952, allocations: 1.062 kB / 1.157 GB, free: 24.05 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: 5 (5) * Number of variables: 5 (5) Notification: Performance of [SIM] Bindings: time 0.0003829/0.004335, allocations: 287 kB / 1.157 GB, free: 23.73 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.00012/0.004455, allocations: 51.73 kB / 1.157 GB, free: 23.69 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0001209/0.004576, allocations: 131.5 kB / 1.157 GB, free: 23.59 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 8.389e-05/0.00466, allocations: 86.44 kB / 1.157 GB, free: 23.48 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0004019/0.005062, allocations: 217.8 kB / 1.158 GB, free: 23.27 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 5.902e-05/0.005121, allocations: 81.55 kB / 1.158 GB, free: 23.16 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 2.933e-05/0.00515, allocations: 46.12 kB / 1.158 GB, free: 23.1 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 7.481e-05/0.005225, allocations: 91.83 kB / 1.158 GB, free: 22.98 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 7.668e-05/0.005302, allocations: 30.98 kB / 1.158 GB, free: 22.96 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001048/0.005406, allocations: 66.31 kB / 1.158 GB, free: 22.93 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001991/0.005606, allocations: 126.5 kB / 1.158 GB, free: 22.89 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 9.113e-05/0.005697, allocations: 109.5 kB / 1.158 GB, free: 22.84 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001397/0.005836, allocations: 134.2 kB / 1.158 GB, free: 22.68 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001433/0.00598, allocations: 140.5 kB / 1.158 GB, free: 22.6 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.353e-05/0.005993, allocations: 12.06 kB / 1.158 GB, free: 22.59 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 3.009e-05/0.006023, allocations: 25.86 kB / 1.158 GB, free: 22.57 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002693/0.006293, allocations: 163.8 kB / 1.159 GB, free: 22.51 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.31e-05/0.006306, allocations: 1.688 kB / 1.159 GB, free: 22.51 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4.11e-07/0.006306, allocations: 5.031 kB / 1.159 GB, free: 22.51 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.477e-06/0.00631, allocations: 0 / 1.159 GB, free: 22.51 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.338e-06/0.006314, allocations: 5.594 kB / 1.159 GB, free: 22.51 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 7.394e-06/0.006321, allocations: 1.406 kB / 1.159 GB, free: 22.51 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001205/0.006442, allocations: 62.27 kB / 1.159 GB, free: 22.48 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 9.237e-06/0.006451, allocations: 0 / 1.159 GB, free: 22.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: ................. 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 3.813e-05/0.006489, allocations: 20.27 kB / 1.159 GB, free: 22.47 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005131/0.007002, allocations: 222.3 kB / 1.159 GB, free: 22.3 MB / 0.9044 GB Notification: Performance of Templates: time 0.003366/0.01037, allocations: 0.5751 MB / 1.159 GB, free: 22.22 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Factorial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Factorial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Factorial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Factorial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Factorial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Factorial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Factorial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Factorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Factorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.128245108295232]