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.002605/0.002605, allocations: 79.7 kB / 20.23 MB, free: 4.191 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.003127/0.003127, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.579/1.579, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.852/2.852, allocations: 359 MB / 0.6048 GB, free: 10.95 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.663e-06/1.663e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.14e-05/3.306e-05, allocations: 6.25 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001835/0.001868, allocations: 0.5977 MB / 0.787 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002845/0.002153, allocations: 55.73 kB / 0.7871 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.044e-05/0.002173, allocations: 4.719 kB / 0.7871 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.375e-05/0.002217, allocations: 0 / 0.7871 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.64e-06/0.002222, allocations: 1.25 kB / 0.7871 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002732/0.002496, allocations: 15.91 kB / 0.7871 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.934e-05/0.002585, allocations: 35.95 kB / 0.7871 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.417e-05/0.002619, allocations: 5.625 kB / 0.7871 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.145e-05/0.00266, allocations: 7.984 kB / 0.7871 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.461e-05/0.002695, allocations: 15.98 kB / 0.7872 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.00271, allocations: 0 / 0.7872 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.002816, allocations: 23.97 kB / 0.7872 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.924e-05/0.002845, allocations: 13.14 kB / 0.7872 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.002874, allocations: 7.984 kB / 0.7872 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.003008, allocations: 43.83 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.00301, allocations: 0.625 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003011, allocations: 0 / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.003015, allocations: 1.406 kB / 0.7872 GB, free: 11.96 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.0004319/0.003447, allocations: 360.3 kB / 0.7876 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.003493, allocations: 12.03 kB / 0.7876 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.453e-05/0.003547, allocations: 13.73 kB / 0.7876 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.003655, allocations: 112.5 kB / 0.7877 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.003671, allocations: 4.375 kB / 0.7877 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.003683, allocations: 4.938 kB / 0.7877 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.003829, allocations: 54.92 kB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.003839, allocations: 192 / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.003851, allocations: 5.281 kB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.003855, allocations: 384 / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.004025, allocations: 92.47 kB / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002957/0.004321, allocations: 128.6 kB / 0.788 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.00445, allocations: 67.75 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.025e-05/0.0045, allocations: 27.67 kB / 0.7881 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001836/0.004684, allocations: 21.64 kB / 0.7881 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.004718, allocations: 33.39 kB / 0.7881 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 9.72e-07/0.004719, allocations: 0 / 0.7881 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002786/0.004997, allocations: 101.6 kB / 0.7882 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.005041, allocations: 52.97 kB / 0.7883 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.826e-05/0.005139, allocations: 158.2 kB / 0.7884 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.005161, allocations: 29.64 kB / 0.7885 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.508e-05/0.005226, allocations: 130.8 kB / 0.7886 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.005268, allocations: 25.39 kB / 0.7886 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.865e-05/0.005337, allocations: 43.36 kB / 0.7887 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002512/0.005588, allocations: 496.1 kB / 0.7891 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.048e-05/0.005628, allocations: 15.98 kB / 0.7891 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.175e-05/0.00566, allocations: 12.95 kB / 0.7892 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.955e-05/0.005749, allocations: 44.34 kB / 0.7892 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.005751, allocations: 0 / 0.7892 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000164/0.005915, allocations: 96.77 kB / 0.7893 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.00593, allocations: 4 kB / 0.7893 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.005935, allocations: 0 / 0.7893 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.005948, allocations: 0 / 0.7893 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.006057, allocations: 19.98 kB / 0.7893 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.006061, allocations: 0 / 0.7893 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.887e-05/0.00609, allocations: 15.89 kB / 0.7893 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.006097, allocations: 0 / 0.7893 GB, free: 9.633 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.0001337/0.006231, allocations: 168.3 kB / 0.7895 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.937e-05/0.00625, allocations: 7.984 kB / 0.7895 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.006488, allocations: 114.6 kB / 0.7896 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.006491, allocations: 3.938 kB / 0.7896 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.006495, allocations: 0.5938 kB / 0.7896 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.0065, allocations: 3.938 kB / 0.7896 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.006635, allocations: 133.1 kB / 0.7897 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.006637, allocations: 1.375 kB / 0.7897 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.758e-05/0.006715, allocations: 20 kB / 0.7898 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/0.006727, allocations: 3.984 kB / 0.7898 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.974e-06/0.006735, allocations: 0 / 0.7898 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.006737, allocations: 1.156 kB / 0.7898 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.006738, allocations: 0 / 0.7898 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.006938, allocations: 136.2 kB / 0.7899 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-06/0.006947, allocations: 4.938 kB / 0.7899 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.006959, allocations: 0 / 0.7899 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.899e-05/0.006978, allocations: 4 kB / 0.7899 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.007019, allocations: 13.48 kB / 0.7899 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.007026, allocations: 7.938 kB / 0.7899 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.119e-05/0.007088, allocations: 119.2 kB / 0.79 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007088, allocations: 0 / 0.79 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002016/0.007289, allocations: 18.31 kB / 0.7901 GB, free: 8.828 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.0001947/0.007484, allocations: 115.2 kB / 0.7902 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001764/0.00766, allocations: 55.59 kB / 0.7902 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.007662, allocations: 3.438 kB / 0.7902 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.639e-05/0.007729, allocations: 39.61 kB / 0.7903 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.007865, allocations: 10.34 kB / 0.7903 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000324/0.008189, allocations: 143.6 kB / 0.7904 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.384e-05/0.008263, allocations: 63.34 kB / 0.7905 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.26e-05/0.008345, allocations: 39.92 kB / 0.7905 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.52e-05/0.00838, allocations: 25.11 kB / 0.7905 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of SimCode: time 6.32e-07/0.008381, allocations: 0 / 0.7905 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of Templates: time 0.003506/0.01189, allocations: 0.5885 MB / 0.7911 GB, free: 7.723 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] 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.875420597963966]