Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.001706/0.001706, allocations: 77.33 kB / 19.76 MB, free: 2.031 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.001963/0.001963, allocations: 155.9 kB / 23.01 MB, free: 4.961 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.404/1.404, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 179] 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.596/2.596, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.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.002456/0.002456, allocations: 63.84 kB / 0.9515 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2964, allocations: 169.9 MB / 1.117 GB, free: 2.508 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003188/0.2996, allocations: 1.559 MB / 1.119 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004091/0.3, allocations: 127.7 kB / 1.119 GB, free: 0.8125 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.371e-05/0.3001, allocations: 3.938 kB / 1.119 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.686e-05/0.3001, allocations: 0 / 1.119 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.97e-05/0.3001, allocations: 11.91 kB / 1.119 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003245/0.3005, allocations: 27.92 kB / 1.119 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.504e-05/0.3005, allocations: 43.84 kB / 1.119 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.404e-05/0.3006, allocations: 11.98 kB / 1.119 GB, free: 0.7148 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.324e-05/0.3007, allocations: 19.92 kB / 1.119 GB, free: 0.6953 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.591e-05/0.3007, allocations: 19.92 kB / 1.119 GB, free: 0.6758 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.3008, allocations: 4 kB / 1.119 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.286e-05/0.3008, allocations: 19.98 kB / 1.119 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.097e-05/0.3009, allocations: 11.97 kB / 1.119 GB, free: 0.6406 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.864e-05/0.3009, allocations: 11.94 kB / 1.119 GB, free: 0.6289 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.301, allocations: 39.89 kB / 1.119 GB, free: 0.5898 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.301, allocations: 0 / 1.119 GB, free: 0.5898 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.172e-06/0.301, allocations: 0 / 1.119 GB, free: 0.5898 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.301, allocations: 0 / 1.119 GB, free: 0.5898 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00051/0.3016, allocations: 282.1 kB / 1.12 GB, free: 288 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.3016, allocations: 12.03 kB / 1.12 GB, free: 276 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.107e-05/0.3016, allocations: 8.891 kB / 1.12 GB, free: 268 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.3018, allocations: 110.5 kB / 1.12 GB, free: 132 kB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.3018, allocations: 8.375 kB / 1.12 GB, free: 124 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.3018, allocations: 384 / 1.12 GB, free: 124 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002146/0.302, allocations: 74.14 kB / 1.12 GB, free: 44 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.302, allocations: 192 / 1.12 GB, free: 44 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.302, allocations: 3.938 kB / 1.12 GB, free: 40 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.302, allocations: 0 / 1.12 GB, free: 40 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.3022, allocations: 48 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003606/0.3026, allocations: 216.4 kB / 1.12 GB, free: 15.75 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003425/0.303, allocations: 62.47 kB / 1.12 GB, free: 15.68 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.3031, allocations: 24.91 kB / 1.12 GB, free: 15.65 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.3032, allocations: 11.98 kB / 1.12 GB, free: 15.64 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.3032, allocations: 38.56 kB / 1.12 GB, free: 15.59 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.3032, allocations: 0 / 1.12 GB, free: 15.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.0004085/0.3036, allocations: 101.5 kB / 1.12 GB, free: 15.49 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.3037, allocations: 51.41 kB / 1.12 GB, free: 15.43 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.14e-05/0.3037, allocations: 105.8 kB / 1.12 GB, free: 15.31 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.3038, allocations: 25.7 kB / 1.12 GB, free: 15.28 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.3038, allocations: 92.09 kB / 1.121 GB, free: 15.19 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.673e-05/0.3038, allocations: 7.891 kB / 1.121 GB, free: 15.18 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.3039, allocations: 21.7 kB / 1.121 GB, free: 15.15 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.304, allocations: 310.8 kB / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.767e-05/0.3041, allocations: 23.98 kB / 1.121 GB, free: 14.82 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.091e-05/0.3042, allocations: 23.97 kB / 1.121 GB, free: 14.79 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.3044, allocations: 44.77 kB / 1.121 GB, free: 14.75 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.3044, allocations: 11.86 kB / 1.121 GB, free: 14.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002295/0.3046, allocations: 69.66 kB / 1.121 GB, free: 14.66 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.3046, allocations: 4 kB / 1.121 GB, free: 14.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3046, allocations: 4 kB / 1.121 GB, free: 14.65 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.3046, allocations: 4 kB / 1.121 GB, free: 14.65 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.571e-05/0.3047, allocations: 11.98 kB / 1.121 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.3047, allocations: 0 / 1.121 GB, free: 14.64 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.641e-05/0.3048, allocations: 12.23 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.3048, allocations: 4 kB / 1.121 GB, free: 14.62 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 8.683e-05/0.3049, allocations: 113.8 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.3049, allocations: 3.953 kB / 1.121 GB, free: 14.5 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002914/0.3052, allocations: 93.27 kB / 1.121 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3052, allocations: 0 / 1.121 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3052, allocations: 0 / 1.121 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3052, allocations: 0 / 1.121 GB, free: 14.39 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.3054, allocations: 117.3 kB / 1.121 GB, free: 14.25 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3054, allocations: 0 / 1.121 GB, free: 14.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.188e-05/0.3055, allocations: 11.98 kB / 1.121 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3055, allocations: 0 / 1.121 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.3055, allocations: 0 / 1.121 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3055, allocations: 7.938 kB / 1.121 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3055, allocations: 0 / 1.121 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.3058, allocations: 175.4 kB / 1.122 GB, free: 14.04 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.057e-05/0.3058, allocations: 11.95 kB / 1.122 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.3058, allocations: 0 / 1.122 GB, free: 14.03 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-05/0.3059, allocations: 8.406 kB / 1.122 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.3059, allocations: 7.984 kB / 1.122 GB, free: 14.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.3059, allocations: 0 / 1.122 GB, free: 14.02 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.733e-05/0.306, allocations: 83.28 kB / 1.122 GB, free: 13.93 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.306, allocations: 4 kB / 1.122 GB, free: 13.93 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002375/0.3062, allocations: 8 kB / 1.122 GB, free: 13.92 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001465/0.3063, allocations: 103.2 kB / 1.122 GB, free: 13.81 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002443/0.3066, allocations: 47.94 kB / 1.122 GB, free: 13.77 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3066, allocations: 0 / 1.122 GB, free: 13.77 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.3067, allocations: 27.92 kB / 1.122 GB, free: 13.74 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.307, allocations: 15.81 kB / 1.122 GB, free: 13.72 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/0.3073, allocations: 121.5 kB / 1.122 GB, free: 13.58 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.345e-05/0.3074, allocations: 63.34 kB / 1.122 GB, free: 13.5 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.039e-05/0.3074, allocations: 4 kB / 1.122 GB, free: 13.49 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.3074, allocations: 8.5 kB / 1.122 GB, free: 13.48 MB / 1.076 GB Notification: Performance of SimCode: time 3.2e-07/0.3074, allocations: 0 / 1.122 GB, free: 13.48 MB / 1.076 GB Notification: Performance of Templates: time 0.003379/0.3108, allocations: 0.7842 MB / 1.123 GB, free: 12.71 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.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: 7.9764220849610865]