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.001924/0.001924, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002344/0.002344, allocations: 161.6 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.468/1.468, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.779/2.779, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.509e-05/2.674e-05, allocations: 5.547 kB / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001618/0.001644, allocations: 0.5954 MB / 0.787 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002744/0.001919, allocations: 55.73 kB / 0.7871 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.892e-05/0.001938, allocations: 0 / 0.7871 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.458e-05/0.001982, allocations: 5.125 kB / 0.7871 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.971e-06/0.001988, allocations: 0 / 0.7871 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.002263, allocations: 19.89 kB / 0.7871 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.059e-05/0.002343, allocations: 32.81 kB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.388e-05/0.002377, allocations: 4 kB / 0.7871 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.837e-05/0.002415, allocations: 12.73 kB / 0.7871 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.099e-05/0.002446, allocations: 15.97 kB / 0.7871 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.00246, allocations: 0.75 kB / 0.7872 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.752e-05/0.002548, allocations: 15.98 kB / 0.7872 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.398e-05/0.002582, allocations: 20.47 kB / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.002613, allocations: 8 kB / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.002723, allocations: 41.25 kB / 0.7872 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.002725, allocations: 4 kB / 0.7872 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.91e-07/0.002725, allocations: 0 / 0.7872 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.00273, allocations: 1.156 kB / 0.7872 GB, free: 11.93 MB / 0.7448 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.0004097/0.003139, allocations: 262.3 kB / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.003174, allocations: 8.031 kB / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.323e-05/0.003227, allocations: 13.52 kB / 0.7875 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.756e-05/0.003325, allocations: 105.8 kB / 0.7876 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.003337, allocations: 1.781 kB / 0.7876 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.00335, allocations: 8.375 kB / 0.7876 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.003501, allocations: 66.22 kB / 0.7877 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.00351, allocations: 192 / 0.7877 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.00352, allocations: 1.406 kB / 0.7877 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.003525, allocations: 4.312 kB / 0.7877 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001849/0.00371, allocations: 95.81 kB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.003893, allocations: 118.2 kB / 0.7879 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.004032, allocations: 66.55 kB / 0.788 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.782e-05/0.00409, allocations: 30.27 kB / 0.788 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001991/0.004289, allocations: 23.91 kB / 0.788 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.00433, allocations: 38.56 kB / 0.788 GB, free: 11 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.004331, allocations: 1.25 kB / 0.788 GB, free: 11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002967/0.004628, allocations: 113.5 kB / 0.7882 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.004745, allocations: 55.41 kB / 0.7882 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.929e-05/0.004814, allocations: 99.41 kB / 0.7883 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.004835, allocations: 25.7 kB / 0.7883 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.895e-05/0.004883, allocations: 84.08 kB / 0.7884 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.004918, allocations: 27.78 kB / 0.7884 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/0.004967, allocations: 31 kB / 0.7885 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.005143, allocations: 326.8 kB / 0.7888 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.649e-05/0.00519, allocations: 19.98 kB / 0.7888 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.637e-05/0.005226, allocations: 19.98 kB / 0.7888 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.00534, allocations: 63.73 kB / 0.7889 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.005341, allocations: 0 / 0.7889 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001548/0.005496, allocations: 93.61 kB / 0.789 GB, free: 10 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.005508, allocations: 4 kB / 0.789 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.005512, allocations: 4 kB / 0.789 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.005528, allocations: 0 / 0.789 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.005645, allocations: 19.98 kB / 0.789 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.005649, allocations: 0 / 0.789 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.651e-05/0.005676, allocations: 12.61 kB / 0.789 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.005685, allocations: 4 kB / 0.789 GB, free: 9.961 MB / 0.7448 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.0001314/0.005817, allocations: 127.4 kB / 0.7891 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.005833, allocations: 4 kB / 0.7891 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.006073, allocations: 122.7 kB / 0.7892 GB, free: 9.703 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.006077, allocations: 4 kB / 0.7892 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.006081, allocations: 0 / 0.7892 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.006086, allocations: 5.688 kB / 0.7893 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.006213, allocations: 121.2 kB / 0.7894 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.006214, allocations: 3.938 kB / 0.7894 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.876e-05/0.006293, allocations: 23.92 kB / 0.7894 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.006295, allocations: 1.188 kB / 0.7894 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.006305, allocations: 4 kB / 0.7894 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.006306, allocations: 0 / 0.7894 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.006307, allocations: 0 / 0.7894 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.006507, allocations: 134.4 kB / 0.7895 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-06/0.006512, allocations: 1.562 kB / 0.7895 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.006524, allocations: 0 / 0.7895 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.111e-05/0.006545, allocations: 8 kB / 0.7895 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.006587, allocations: 11.92 kB / 0.7896 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.006592, allocations: 0 / 0.7896 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.091e-05/0.006633, allocations: 76.97 kB / 0.7896 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.006633, allocations: 3.938 kB / 0.7896 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000208/0.006841, allocations: 19.98 kB / 0.7896 GB, free: 9.25 MB / 0.7448 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.0001754/0.007017, allocations: 114 kB / 0.7898 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001431/0.00716, allocations: 64.53 kB / 0.7898 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.007161, allocations: 0.6875 kB / 0.7898 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.845e-05/0.007219, allocations: 35.92 kB / 0.7899 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001388/0.007358, allocations: 4.531 kB / 0.7899 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.00777, allocations: 149.8 kB / 0.79 GB, free: 8.859 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.212e-05/0.007842, allocations: 67.34 kB / 0.7901 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.368e-05/0.007926, allocations: 41.83 kB / 0.7901 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.007957, allocations: 16.48 kB / 0.7901 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/0.007958, allocations: 0 / 0.7901 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of Templates: time 0.003047/0.011, allocations: 0.5866 MB / 0.7907 GB, free: 8.16 MB / 0.7448 GB " [Timeout remaining time 300] 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: 7.646313533070497]