Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.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.001389/0.001389, allocations: 96.42 kB / 19.71 MB, free: 2.125 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.001649/0.001649, allocations: 213.1 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.559/1.559, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.937/3.937, allocations: 0.49 GB / 0.7958 GB, free: 35.42 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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.1.|falFac.2.|falFac.3.|falFac.4.|falFac.5.|falFac.6.|falFac.7.|falFac.8.|falFac.9.|falFac.10.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.1.|falFac.2.|falFac.3.|falFac.4.|falFac.5.|falFac.6.|falFac.7.|falFac.8.|falFac.9.|falFac.10.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.458e-05, allocations: 4.391 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001511/0.001536, allocations: 0.5858 MB / 1.156 GB, free: 24.91 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0002689/0.001805, allocations: 56.06 kB / 1.156 GB, free: 24.88 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.349e-05/0.001828, allocations: 0 / 1.156 GB, free: 24.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 3.01e-05/0.001858, allocations: 0 / 1.156 GB, free: 24.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.522e-06/0.001865, allocations: 3.938 kB / 1.156 GB, free: 24.88 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.002149, allocations: 19.06 kB / 1.156 GB, free: 24.87 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 7.489e-05/0.002224, allocations: 17.17 kB / 1.156 GB, free: 24.86 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.568e-05/0.00227, allocations: 4.969 kB / 1.156 GB, free: 24.86 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 1.949e-05/0.002289, allocations: 2.75 kB / 1.156 GB, free: 24.86 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 2.924e-05/0.002319, allocations: 2.844 kB / 1.156 GB, free: 24.86 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.00233, allocations: 0 / 1.156 GB, free: 24.86 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 8.864e-05/0.002419, allocations: 23.53 kB / 1.156 GB, free: 24.85 MB / 0.9044 GB Notification: Performance of combineBinaries: time 3.687e-05/0.002456, allocations: 18.78 kB / 1.156 GB, free: 24.84 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 5.761e-06/0.002462, allocations: 6.344 kB / 1.156 GB, free: 24.83 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.099e-05/0.002473, allocations: 0 / 1.156 GB, free: 24.83 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.042e-05/0.002483, allocations: 2.438 kB / 1.156 GB, free: 24.83 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: 11 (2) * Number of variables: 11 (2) Notification: Performance of [SIM] Bindings: time 0.0003147/0.002798, allocations: 207.3 kB / 1.156 GB, free: 24.55 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001048/0.002903, allocations: 40.11 kB / 1.156 GB, free: 24.52 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 7.883e-05/0.002981, allocations: 90.42 kB / 1.156 GB, free: 24.43 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 4.566e-05/0.003027, allocations: 63.36 kB / 1.156 GB, free: 24.34 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 7.238e-05/0.003099, allocations: 89.62 kB / 1.156 GB, free: 24.22 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 3.988e-05/0.003139, allocations: 67.78 kB / 1.156 GB, free: 24.12 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 2.384e-05/0.003163, allocations: 41.31 kB / 1.156 GB, free: 24.06 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 6.751e-05/0.003231, allocations: 80.7 kB / 1.156 GB, free: 23.94 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 1.718e-05/0.003248, allocations: 4.391 kB / 1.156 GB, free: 23.94 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 9.16e-05/0.003339, allocations: 46.67 kB / 1.156 GB, free: 23.91 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0003043/0.003644, allocations: 146.8 kB / 1.157 GB, free: 23.87 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 4.298e-05/0.003687, allocations: 41.72 kB / 1.157 GB, free: 23.85 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 7.686e-05/0.003764, allocations: 104.6 kB / 1.157 GB, free: 23.7 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 5.653e-05/0.00382, allocations: 79.64 kB / 1.157 GB, free: 23.66 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 8.086e-06/0.003828, allocations: 11.78 kB / 1.157 GB, free: 23.64 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 1.64e-05/0.003845, allocations: 11.5 kB / 1.157 GB, free: 23.63 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0002394/0.004084, allocations: 169.6 kB / 1.157 GB, free: 23.59 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 9.598e-06/0.004094, allocations: 0.9375 kB / 1.157 GB, free: 23.59 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.8e-07/0.004094, allocations: 0 / 1.157 GB, free: 23.59 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.076e-06/0.004097, allocations: 1.562 kB / 1.157 GB, free: 23.59 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 2.134e-06/0.004099, allocations: 6.031 kB / 1.157 GB, free: 23.58 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 7.585e-06/0.004107, allocations: 2.422 kB / 1.157 GB, free: 23.58 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 6.011e-05/0.004167, allocations: 11.81 kB / 1.157 GB, free: 23.58 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 8.095e-06/0.004175, allocations: 1.844 kB / 1.157 GB, free: 23.58 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: ................. 21 (3) {falFac, n, $FUN_2} * 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: ........... 2 (scalar:2, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (resizable: 2, 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: ........... 2 (scalar:2, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (resizable: 2, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.335e-05/0.004208, allocations: 22.56 kB / 1.157 GB, free: 23.56 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005174/0.004726, allocations: 289.1 kB / 1.157 GB, free: 23.38 MB / 0.9044 GB Notification: Performance of Templates: time 0.003071/0.007797, allocations: 430.4 kB / 1.158 GB, free: 23.3 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.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.391958588268608]