Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 112.5 kB / 18.34 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 189.9 kB / 21.51 MB, free: 0.8945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 225.6 MB / 250.1 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3/3, allocations: 443.4 MB / 0.7311 GB, free: 13.89 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|fac",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.Math.Functions.Examples.Factorial") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.361e-05/2.361e-05, allocations: 4.531 kB / 1.06 GB, free: 392 kB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.001531/0.001555, allocations: 0.5962 MB / 1.06 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002729/0.001828, allocations: 55.78 kB / 1.06 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.637e-05/0.001844, allocations: 0 / 1.06 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.628e-05/0.00186, allocations: 0 / 1.06 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.821e-06/0.001866, allocations: 0 / 1.06 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.002072, allocations: 4 kB / 1.06 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.65e-05/0.002139, allocations: 19.91 kB / 1.061 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.222e-05/0.002191, allocations: 4 kB / 1.061 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.504e-05/0.002206, allocations: 3.938 kB / 1.061 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.007e-05/0.002226, allocations: 0 / 1.061 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.002235, allocations: 0 / 1.061 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.886e-05/0.002304, allocations: 12 kB / 1.061 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of combineBinaries: time 2.567e-05/0.00233, allocations: 7.969 kB / 1.061 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 9.017e-06/0.002339, allocations: 15.78 kB / 1.061 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.193e-05/0.002351, allocations: 0 / 1.061 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.456e-06/0.002359, allocations: 0 / 1.061 GB, free: 15.66 MB / 0.8106 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.0003206/0.00268, allocations: 175.7 kB / 1.061 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of FunctionAlias: time 7.043e-05/0.00275, allocations: 18.75 kB / 1.061 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of Early Inline: time 8.626e-05/0.002837, allocations: 60.72 kB / 1.061 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of Simplify 1: time 4.611e-05/0.002883, allocations: 40.42 kB / 1.061 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of Alias: time 0.0003088/0.003191, allocations: 113.2 kB / 1.061 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of Simplify 2: time 3.846e-05/0.00323, allocations: 36.42 kB / 1.061 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of Remove Stream: time 3.713e-05/0.003267, allocations: 32.44 kB / 1.061 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of Detect States: time 0.000145/0.003412, allocations: 76.14 kB / 1.061 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of Events: time 9.457e-06/0.003422, allocations: 0 / 1.061 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of Partitioning: time 5.688e-05/0.003478, allocations: 32.08 kB / 1.061 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of Causalize: time 0.0001074/0.003586, allocations: 60.09 kB / 1.061 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of After Index Reduction Inline: time 1.83e-05/0.003604, allocations: 15.92 kB / 1.061 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of Simplify: time 9.493e-05/0.003699, allocations: 72.8 kB / 1.061 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of Inline: time 2.931e-05/0.003728, allocations: 28.03 kB / 1.061 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of Partitioning: time 1.014e-05/0.003738, allocations: 8.125 kB / 1.061 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of Cleanup: time 1.245e-05/0.003751, allocations: 8 kB / 1.061 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of Causalize: time 0.0001121/0.003863, allocations: 72.02 kB / 1.061 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of Tearing: time 8.787e-06/0.003872, allocations: 0 / 1.061 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of Initialization: time 2.8e-07/0.003872, allocations: 0 / 1.061 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of Remove Dummies: time 3.316e-06/0.003875, allocations: 0 / 1.061 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of Tearing: time 4.279e-06/0.00388, allocations: 7.938 kB / 1.061 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of Categorize: time 5.26e-06/0.003885, allocations: 0 / 1.061 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of Solve: time 2.98e-05/0.003915, allocations: 8 kB / 1.061 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of Jacobian: time 3.978e-06/0.003919, allocations: 0 / 1.061 GB, free: 14.41 MB / 0.8106 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.004e-05/0.003949, allocations: 20.19 kB / 1.061 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of SimCode: time 0.0005866/0.004535, allocations: 0.7631 MB / 1.062 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of Templates: time 0.002416/0.006952, allocations: 322.9 kB / 1.062 GB, free: 13.3 MB / 0.8106 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Factorial.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Factorial.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.Factorial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Factorial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Factorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_Factorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.566907359287143]