Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.001778/0.001778, allocations: 104.3 kB / 19.72 MB, free: 2.145 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.001471/0.001471, allocations: 212.8 kB / 23.01 MB, free: 4.965 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.679/1.679, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.902/3.902, allocations: 0.49 GB / 0.7958 GB, free: 35.49 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.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|fac",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.Factorial") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/1.84e-05, allocations: 2.281 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.001335/0.001354, allocations: 0.5865 MB / 1.156 GB, free: 24.88 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0002337/0.001588, allocations: 52.64 kB / 1.156 GB, free: 24.85 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.58e-05/0.001603, allocations: 0 / 1.156 GB, free: 24.85 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 1.482e-05/0.001618, allocations: 2.5 kB / 1.156 GB, free: 24.85 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.833e-06/0.001625, allocations: 0 / 1.156 GB, free: 24.85 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.001825, allocations: 5.359 kB / 1.156 GB, free: 24.85 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 4.193e-05/0.001867, allocations: 17.48 kB / 1.156 GB, free: 24.84 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.516e-05/0.001912, allocations: 1.312 kB / 1.156 GB, free: 24.84 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 1.168e-05/0.001924, allocations: 1.156 kB / 1.156 GB, free: 24.84 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 1.735e-05/0.001941, allocations: 5.094 kB / 1.156 GB, free: 24.84 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.706e-06/0.00195, allocations: 0 / 1.156 GB, free: 24.84 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.052e-05/0.00201, allocations: 14.23 kB / 1.156 GB, free: 24.83 MB / 0.9044 GB Notification: Performance of combineBinaries: time 2.483e-05/0.002035, allocations: 12.31 kB / 1.156 GB, free: 24.82 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 5.761e-06/0.002041, allocations: 10.33 kB / 1.156 GB, free: 24.82 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.087e-06/0.00205, allocations: 0 / 1.156 GB, free: 24.82 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.278e-06/0.002059, allocations: 0 / 1.156 GB, free: 24.82 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 [SIM] Bindings: time 0.0002431/0.002302, allocations: 190.7 kB / 1.156 GB, free: 24.55 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 8.83e-05/0.00239, allocations: 35.77 kB / 1.156 GB, free: 24.51 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 5.715e-05/0.002448, allocations: 65.28 kB / 1.156 GB, free: 24.44 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 4.215e-05/0.00249, allocations: 60.97 kB / 1.156 GB, free: 24.34 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0002904/0.00278, allocations: 119.2 kB / 1.156 GB, free: 24.2 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 3.752e-05/0.002818, allocations: 70.06 kB / 1.156 GB, free: 24.1 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 2.179e-05/0.002839, allocations: 39.41 kB / 1.156 GB, free: 24.04 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 4.983e-05/0.002889, allocations: 82.45 kB / 1.156 GB, free: 23.92 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 1.312e-05/0.002902, allocations: 6.547 kB / 1.156 GB, free: 23.92 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 5.006e-05/0.002952, allocations: 25.22 kB / 1.156 GB, free: 23.89 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 9.529e-05/0.003048, allocations: 56.38 kB / 1.156 GB, free: 23.87 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 2.083e-05/0.003069, allocations: 20.38 kB / 1.156 GB, free: 23.86 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 7.163e-05/0.00314, allocations: 101.3 kB / 1.157 GB, free: 23.71 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 2.917e-05/0.003169, allocations: 34.92 kB / 1.157 GB, free: 23.68 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 8.977e-06/0.003178, allocations: 13.3 kB / 1.157 GB, free: 23.67 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 1.169e-05/0.00319, allocations: 10.52 kB / 1.157 GB, free: 23.66 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0001087/0.003299, allocations: 57.84 kB / 1.157 GB, free: 23.64 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 9.198e-06/0.003308, allocations: 9.031 kB / 1.157 GB, free: 23.63 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.71e-07/0.003308, allocations: 0.5 kB / 1.157 GB, free: 23.63 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.929e-06/0.003313, allocations: 4.672 kB / 1.157 GB, free: 23.63 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 9.11e-07/0.003314, allocations: 0 / 1.157 GB, free: 23.63 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 4.188e-06/0.003318, allocations: 1.344 kB / 1.157 GB, free: 23.63 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 4.361e-05/0.003362, allocations: 15.73 kB / 1.157 GB, free: 23.62 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 7.935e-06/0.00337, allocations: 0 / 1.157 GB, free: 23.62 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 3.589e-05/0.003406, allocations: 31.72 kB / 1.157 GB, free: 23.6 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003259/0.003732, allocations: 154.9 kB / 1.157 GB, free: 23.47 MB / 0.9044 GB Notification: Performance of Templates: time 0.002414/0.006146, allocations: 311.7 kB / 1.157 GB, free: 23.41 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Factorial.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Factorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Factorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.647694275714457]