Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.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.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.1.|falFac.2.|falFac.3.|falFac.4.|falFac.5.|falFac.6.|falFac.7.|falFac.8.|falFac.9.|falFac.10.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.1.|falFac.2.|falFac.3.|falFac.4.|falFac.5.|falFac.6.|falFac.7.|falFac.8.|falFac.9.|falFac.10.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 112.4 kB / 16.43 MB, free: 6.531 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.001053/0.001052, allocations: 183.2 kB / 17.36 MB, free: 5.723 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.143/1.143, allocations: 222.9 MB / 241.1 MB, free: 15.13 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.225/2.225, allocations: 469.8 MB / 0.7431 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.194e-05/1.196e-05, allocations: 2.281 kB / 1.066 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001047/0.001067, allocations: 0.5772 MB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000202/0.001279, allocations: 67.7 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.485e-05/0.001303, allocations: 0 / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.628e-05/0.001335, allocations: 0 / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.182e-06/0.001346, allocations: 4 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.001555, allocations: 19.92 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.086e-05/0.001615, allocations: 4 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 2.994e-05/0.00165, allocations: 0 / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.398e-05/0.001668, allocations: 4 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.386e-05/0.001697, allocations: 7.969 kB / 1.067 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.666e-06/0.001709, allocations: 0 / 1.067 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.898e-05/0.001772, allocations: 19.98 kB / 1.067 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of combineBinaries: time 2.489e-05/0.001803, allocations: 15.84 kB / 1.067 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 2.424e-06/0.001816, allocations: 3.938 kB / 1.067 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.436e-06/0.00183, allocations: 4 kB / 1.067 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of FrontEnd: time 6.332e-06/0.00184, allocations: 0 / 1.067 GB, free: 12.88 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: 11 (2) * Number of variables: 11 (2) Notification: Performance of Bindings: time 0.0002304/0.002074, allocations: 169.2 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 6.481e-05/0.002146, allocations: 27.84 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of Early Inline: time 6.993e-05/0.002223, allocations: 68.36 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of simplify1: time 2.703e-05/0.002256, allocations: 40.42 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of Alias: time 4.673e-05/0.002307, allocations: 52.55 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of simplify2: time 2.093e-05/0.002333, allocations: 36.44 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of Detect States: time 4.909e-05/0.002386, allocations: 36.19 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of Events: time 1.213e-05/0.002403, allocations: 3.938 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of Partitioning: time 4.087e-05/0.00245, allocations: 28.11 kB / 1.067 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0002766/0.002731, allocations: 192 kB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 6.106e-05/0.0028, allocations: 72.33 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of Inline: time 7.637e-05/0.002884, allocations: 100.5 kB / 1.067 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of Partitioning: time 8.406e-06/0.002898, allocations: 12.06 kB / 1.067 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of Cleanup: time 1.315e-05/0.002915, allocations: 11.98 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0002182/0.003137, allocations: 203.1 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of Tearing: time 6.552e-06/0.003152, allocations: 0 / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of Initialization: time 2.9e-07/0.003157, allocations: 0 / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of Tearing: time 2.224e-06/0.003162, allocations: 3.938 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of Categorize: time 5.75e-06/0.003172, allocations: 4 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of Solve: time 3.623e-05/0.003211, allocations: 7.984 kB / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.014e-06/0.003218, allocations: 3.938 kB / 1.068 GB, free: 11.5 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: ................. 21 (3) {falFac, n, $FUN_2} * 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 (generic: 2, 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 (generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.429e-05/0.003256, allocations: 34.2 kB / 1.068 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0005001/0.00376, allocations: 0.8851 MB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of Templates: time 0.00179/0.005565, allocations: 396.4 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches