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.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.002105/0.002105, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002653/0.002653, allocations: 210.7 kB / 22.24 MB, free: 5.262 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.864/2.864, allocations: 476 MB / 0.7699 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002892/0.002892, allocations: 70.34 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2868, allocations: 169.9 MB / 1.283 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001881/0.2887, allocations: 0.6013 MB / 1.284 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002879/0.2889, allocations: 47.81 kB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.873e-05/0.289, allocations: 0 / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.93e-05/0.289, allocations: 0 / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.781e-06/0.289, allocations: 4 kB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.2893, allocations: 19.92 kB / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.955e-05/0.2894, allocations: 35.95 kB / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.336e-05/0.2894, allocations: 0 / 1.284 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.176e-05/0.2894, allocations: 8 kB / 1.284 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.293e-05/0.2895, allocations: 15.97 kB / 1.284 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.2895, allocations: 0 / 1.284 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.892e-05/0.2896, allocations: 27.97 kB / 1.284 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.135e-05/0.2896, allocations: 11.94 kB / 1.284 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.891e-05/0.2896, allocations: 11.92 kB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.2897, allocations: 35.83 kB / 1.284 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2898, allocations: 8 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.193e-06/0.2898, allocations: 0 / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.2898, allocations: 0 / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003555/0.2901, allocations: 262.3 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.2902, allocations: 12.03 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.129e-05/0.2902, allocations: 4.891 kB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.685e-05/0.2903, allocations: 102.5 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.2903, allocations: 4.375 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.2903, allocations: 4.375 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.2905, allocations: 74.09 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2905, allocations: 192 / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.2905, allocations: 7.938 kB / 1.284 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.2905, allocations: 4 kB / 1.284 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001557/0.2906, allocations: 91.88 kB / 1.284 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.2908, allocations: 117.2 kB / 1.285 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.291, allocations: 70.59 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.223e-05/0.291, allocations: 32.88 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001959/0.2912, allocations: 23.97 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.2912, allocations: 34.56 kB / 1.285 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 3.677e-06/0.2912, allocations: 3.984 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0002794/0.2915, allocations: 117.5 kB / 1.285 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.2916, allocations: 59.41 kB / 1.285 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.47e-05/0.2916, allocations: 94.08 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.2917, allocations: 25.7 kB / 1.285 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.2917, allocations: 84.08 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.2917, allocations: 23.84 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-05/0.2918, allocations: 33.7 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.2919, allocations: 310.8 kB / 1.285 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.989e-05/0.292, allocations: 23.92 kB / 1.285 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.043e-05/0.292, allocations: 23.98 kB / 1.285 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.2921, allocations: 56.83 kB / 1.285 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.22e-05/0.2922, allocations: 4 kB / 1.285 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001525/0.2923, allocations: 93.56 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.2923, allocations: 8 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2923, allocations: 0 / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.2923, allocations: 3.938 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.2925, allocations: 27.92 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.2925, allocations: 0 / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.233e-05/0.2925, allocations: 3.938 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.2925, allocations: 4 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001639/0.2927, allocations: 121.8 kB / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.2927, allocations: 11.95 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002514/0.2929, allocations: 125.4 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2929, allocations: 0 / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.81e-06/0.2929, allocations: 3.938 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.2929, allocations: 0 / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.2931, allocations: 121.2 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2931, allocations: 0 / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.409e-05/0.2932, allocations: 23.92 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.2932, allocations: 4 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.2932, allocations: 4 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.386e-05/0.2932, allocations: 7.938 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2932, allocations: 0 / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.2934, allocations: 129.9 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-06/0.2934, allocations: 0 / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.2934, allocations: 7.938 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.494e-05/0.2934, allocations: 0 / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.2934, allocations: 11.98 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.2935, allocations: 0 / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.72e-05/0.2935, allocations: 79.22 kB / 1.286 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.2935, allocations: 4 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002055/0.2937, allocations: 15.98 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001713/0.2939, allocations: 107.2 kB / 1.286 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001526/0.294, allocations: 63.94 kB / 1.286 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.294, allocations: 0 / 1.286 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.387e-05/0.2941, allocations: 35.98 kB / 1.286 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.2942, allocations: 0 / 1.286 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.2945, allocations: 154.2 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.404e-05/0.2946, allocations: 63.34 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.17e-05/0.2947, allocations: 39.94 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.323e-05/0.2947, allocations: 19.42 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.2947, allocations: 3.938 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of Templates: time 0.003179/0.2979, allocations: 0.5588 MB / 1.287 GB, free: 7.246 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.90278965048492]