Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001917/0.001917, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.002095/0.002095, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.581/1.581, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.016/3.016, allocations: 0.49 GB / 0.7923 GB, free: 1.453 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.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_12_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_12_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.002088/0.002088, allocations: 73.94 kB / 1.15 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9768/0.9788, allocations: 176.1 MB / 1.322 GB, free: 25.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001552/0.9804, allocations: 0.5903 MB / 1.323 GB, free: 24.66 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002465/0.9806, allocations: 57.83 kB / 1.323 GB, free: 24.63 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.735e-05/0.9807, allocations: 0 / 1.323 GB, free: 24.63 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.834e-05/0.9807, allocations: 0 / 1.323 GB, free: 24.63 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.971e-06/0.9807, allocations: 0 / 1.323 GB, free: 24.63 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.981, allocations: 24.45 kB / 1.323 GB, free: 24.61 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.841e-05/0.981, allocations: 26.09 kB / 1.323 GB, free: 24.61 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.129e-05/0.9811, allocations: 2.625 kB / 1.323 GB, free: 24.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.787e-05/0.9811, allocations: 12.33 kB / 1.323 GB, free: 24.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.542e-05/0.9811, allocations: 17.39 kB / 1.323 GB, free: 24.59 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.9811, allocations: 2.625 kB / 1.323 GB, free: 24.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.588e-05/0.9812, allocations: 18.73 kB / 1.323 GB, free: 24.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.478e-05/0.9813, allocations: 13.33 kB / 1.323 GB, free: 24.58 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.9813, allocations: 13.22 kB / 1.323 GB, free: 24.57 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.152e-05/0.9814, allocations: 37.81 kB / 1.323 GB, free: 24.56 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.9814, allocations: 0 / 1.323 GB, free: 24.56 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9814, allocations: 0 / 1.323 GB, free: 24.56 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.9814, allocations: 0 / 1.323 GB, free: 24.56 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002508/0.9816, allocations: 337.9 kB / 1.323 GB, free: 24.2 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.9817, allocations: 11.97 kB / 1.323 GB, free: 24.2 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.9817, allocations: 3.406 kB / 1.323 GB, free: 24.2 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.436e-05/0.9818, allocations: 178.1 kB / 1.323 GB, free: 23.99 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.9818, allocations: 384 / 1.323 GB, free: 23.99 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.9818, allocations: 5.938 kB / 1.323 GB, free: 23.99 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.9819, allocations: 65 kB / 1.323 GB, free: 23.95 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.9819, allocations: 192 / 1.323 GB, free: 23.95 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.9819, allocations: 7.938 kB / 1.323 GB, free: 23.94 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.9819, allocations: 2.719 kB / 1.323 GB, free: 23.94 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.982, allocations: 100.9 kB / 1.323 GB, free: 23.93 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.9822, allocations: 182.2 kB / 1.324 GB, free: 23.72 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.284e-05/0.9823, allocations: 67.95 kB / 1.324 GB, free: 23.68 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.935e-05/0.9823, allocations: 30.03 kB / 1.324 GB, free: 23.67 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002242/0.9825, allocations: 399.6 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.9825, allocations: 30.56 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.022e-06/0.9825, allocations: 0 / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0002208/0.9828, allocations: 122.6 kB / 1.324 GB, free: 23.1 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/0.9828, allocations: 60.72 kB / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.448e-05/0.9828, allocations: 97.8 kB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.9828, allocations: 25.7 kB / 1.324 GB, free: 22.89 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.04e-05/0.9828, allocations: 86.31 kB / 1.325 GB, free: 22.81 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.9828, allocations: 22.33 kB / 1.325 GB, free: 22.79 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.9829, allocations: 36.53 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.14e-05/0.9829, allocations: 310.8 kB / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.434e-05/0.983, allocations: 21.56 kB / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.924e-05/0.983, allocations: 22.91 kB / 1.325 GB, free: 22.44 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.038e-05/0.9831, allocations: 60.11 kB / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.9831, allocations: 0 / 1.325 GB, free: 22.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001104/0.9832, allocations: 94.11 kB / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.9832, allocations: 6.125 kB / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.9832, allocations: 3.938 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.9832, allocations: 0 / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.346e-05/0.9833, allocations: 22.23 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.9833, allocations: 7.062 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.915e-05/0.9833, allocations: 4 kB / 1.325 GB, free: 22.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.9833, allocations: 6.812 kB / 1.325 GB, free: 22.35 MB / 1.061 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 9.1e-05/0.9834, allocations: 122 kB / 1.325 GB, free: 22.23 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.9834, allocations: 3.953 kB / 1.325 GB, free: 22.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.9836, allocations: 129.4 kB / 1.325 GB, free: 22.15 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.9836, allocations: 0 / 1.325 GB, free: 22.15 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.9836, allocations: 0 / 1.325 GB, free: 22.15 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.9836, allocations: 7.172 kB / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.053e-05/0.9837, allocations: 182.8 kB / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.9837, allocations: 0 / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.9838, allocations: 17.09 kB / 1.326 GB, free: 21.94 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.9838, allocations: 7.406 kB / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.9838, allocations: 4 kB / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.9838, allocations: 3.156 kB / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.9838, allocations: 0 / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.9839, allocations: 120.1 kB / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.687e-05/0.9839, allocations: 89 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.9839, allocations: 3.031 kB / 1.326 GB, free: 21.74 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.525e-05/0.984, allocations: 4 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.984, allocations: 6.047 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.984, allocations: 8.906 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.167e-05/0.984, allocations: 75.28 kB / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.984, allocations: 0 / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001945/0.9842, allocations: 14.53 kB / 1.326 GB, free: 21.66 MB / 1.061 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.0001514/0.9843, allocations: 117.2 kB / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.9845, allocations: 64.17 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.9845, allocations: 0 / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.019e-05/0.9845, allocations: 42.7 kB / 1.326 GB, free: 21.53 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.9847, allocations: 8.875 kB / 1.326 GB, free: 21.52 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002497/0.9849, allocations: 172 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.576e-05/0.985, allocations: 0.681 MB / 1.327 GB, free: 20.68 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.985, allocations: 27.08 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.985, allocations: 0 / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of Templates: time 0.002267/0.9873, allocations: 0.9484 MB / 1.328 GB, free: 20.59 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.140859947990975]