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.001009/0.001009, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001085/0.001085, allocations: 169 kB / 24.28 MB, free: 280 kB / 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 0.9777/0.9777, allocations: 177.2 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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 1.757/1.757, allocations: 359 MB / 0.6055 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 178] 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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.7872 GB, free: 11.61 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.328e-05, allocations: 2.312 kB / 0.7872 GB, free: 11.61 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001587/0.00161, allocations: 0.6027 MB / 0.7877 GB, free: 11.02 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.000218/0.001828, allocations: 56.48 kB / 0.7878 GB, free: 10.96 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.128e-05/0.00186, allocations: 0 / 0.7878 GB, free: 10.96 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.179e-05/0.001901, allocations: 0.5625 kB / 0.7878 GB, free: 10.96 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.023e-06/0.001908, allocations: 0 / 0.7878 GB, free: 10.96 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.002229, allocations: 24.53 kB / 0.7878 GB, free: 10.94 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.094e-05/0.00232, allocations: 23.97 kB / 0.7878 GB, free: 10.92 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.002361, allocations: 9.391 kB / 0.7879 GB, free: 10.91 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.124e-05/0.002402, allocations: 15.98 kB / 0.7879 GB, free: 10.89 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.659e-05/0.002428, allocations: 7.984 kB / 0.7879 GB, free: 10.89 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.002445, allocations: 0.8438 kB / 0.7879 GB, free: 10.89 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.814e-05/0.002544, allocations: 23.97 kB / 0.7879 GB, free: 10.86 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.066e-05/0.002574, allocations: 15.92 kB / 0.7879 GB, free: 10.85 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.002609, allocations: 4.562 kB / 0.7879 GB, free: 10.84 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.002722, allocations: 41.12 kB / 0.788 GB, free: 10.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.002724, allocations: 0 / 0.788 GB, free: 10.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.81e-07/0.002725, allocations: 0 / 0.788 GB, free: 10.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.002729, allocations: 0 / 0.788 GB, free: 10.8 MB / 0.698 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.0003216/0.003051, allocations: 365.9 kB / 0.7883 GB, free: 10.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.003092, allocations: 12.03 kB / 0.7883 GB, free: 10.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.003138, allocations: 4.938 kB / 0.7883 GB, free: 10.39 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.606e-05/0.003214, allocations: 116.5 kB / 0.7884 GB, free: 10.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.00323, allocations: 9.594 kB / 0.7884 GB, free: 10.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.003243, allocations: 4.375 kB / 0.7884 GB, free: 10.24 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.003367, allocations: 54.23 kB / 0.7885 GB, free: 10.18 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.003376, allocations: 4.859 kB / 0.7885 GB, free: 10.18 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.003385, allocations: 384 / 0.7885 GB, free: 10.18 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.003395, allocations: 5.281 kB / 0.7885 GB, free: 10.18 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.00352, allocations: 83.81 kB / 0.7886 GB, free: 10.09 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.003659, allocations: 137.1 kB / 0.7887 GB, free: 9.926 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.003761, allocations: 63.05 kB / 0.7888 GB, free: 9.852 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.309e-05/0.003804, allocations: 25.27 kB / 0.7888 GB, free: 9.824 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/0.003977, allocations: 19.98 kB / 0.7888 GB, free: 9.805 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.004005, allocations: 37.72 kB / 0.7889 GB, free: 9.758 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.004006, allocations: 0 / 0.7889 GB, free: 9.758 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0002312/0.004238, allocations: 98.14 kB / 0.789 GB, free: 9.656 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.004271, allocations: 51.41 kB / 0.789 GB, free: 9.594 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.121e-05/0.004332, allocations: 157.6 kB / 0.7892 GB, free: 9.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.004345, allocations: 29.7 kB / 0.7892 GB, free: 9.395 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.004382, allocations: 130.8 kB / 0.7893 GB, free: 9.262 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.004415, allocations: 23.8 kB / 0.7893 GB, free: 9.238 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.623e-05/0.004471, allocations: 39.36 kB / 0.7894 GB, free: 9.191 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.004577, allocations: 0.4884 MB / 0.7898 GB, free: 8.691 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.087e-05/0.004598, allocations: 11.98 kB / 0.7899 GB, free: 8.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.916e-05/0.004617, allocations: 15.92 kB / 0.7899 GB, free: 8.664 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.936e-05/0.004676, allocations: 40.34 kB / 0.7899 GB, free: 8.621 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.004679, allocations: 0.7188 kB / 0.7899 GB, free: 8.621 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 8.683e-05/0.004766, allocations: 81.55 kB / 0.79 GB, free: 8.535 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.004778, allocations: 9.656 kB / 0.79 GB, free: 8.527 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.004781, allocations: 0 / 0.79 GB, free: 8.527 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.004792, allocations: 3.938 kB / 0.79 GB, free: 8.523 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.985e-05/0.004862, allocations: 23.98 kB / 0.79 GB, free: 8.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.004866, allocations: 1.219 kB / 0.79 GB, free: 8.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.244e-05/0.004879, allocations: 7.891 kB / 0.79 GB, free: 8.492 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.022e-06/0.004885, allocations: 4 kB / 0.79 GB, free: 8.488 MB / 0.698 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 6.992e-05/0.004955, allocations: 166.6 kB / 0.7902 GB, free: 8.316 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.157e-06/0.004964, allocations: 8 kB / 0.7902 GB, free: 8.309 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.005091, allocations: 109.5 kB / 0.7903 GB, free: 8.195 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.005094, allocations: 4 kB / 0.7903 GB, free: 8.191 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.005097, allocations: 1.156 kB / 0.7903 GB, free: 8.191 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.0051, allocations: 3.938 kB / 0.7903 GB, free: 8.188 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.881e-05/0.005169, allocations: 128.5 kB / 0.7904 GB, free: 8.027 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.00517, allocations: 0.7812 kB / 0.7904 GB, free: 8.027 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.331e-05/0.005203, allocations: 16 kB / 0.7905 GB, free: 8.012 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.005205, allocations: 1.281 kB / 0.7905 GB, free: 8.012 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.005213, allocations: 7.984 kB / 0.7905 GB, free: 8.004 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.005216, allocations: 7.938 kB / 0.7905 GB, free: 7.996 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.005218, allocations: 13.23 kB / 0.7905 GB, free: 7.984 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.137e-05/0.005309, allocations: 120.3 kB / 0.7906 GB, free: 7.844 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-06/0.005315, allocations: 4 kB / 0.7906 GB, free: 7.84 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.076e-06/0.005323, allocations: 0 / 0.7906 GB, free: 7.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.624e-06/0.005331, allocations: 4.531 kB / 0.7906 GB, free: 7.836 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.005359, allocations: 12.45 kB / 0.7906 GB, free: 7.824 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.005363, allocations: 4 kB / 0.7906 GB, free: 7.82 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.206e-05/0.005395, allocations: 120.1 kB / 0.7907 GB, free: 7.703 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-08/0.005395, allocations: 0 / 0.7907 GB, free: 7.703 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001269/0.005522, allocations: 16.81 kB / 0.7908 GB, free: 7.688 MB / 0.698 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.0001155/0.005638, allocations: 117 kB / 0.7909 GB, free: 7.562 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.405e-05/0.005732, allocations: 55.59 kB / 0.7909 GB, free: 7.504 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.005734, allocations: 4 kB / 0.7909 GB, free: 7.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.102e-05/0.005765, allocations: 36.8 kB / 0.791 GB, free: 7.461 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.095e-05/0.005856, allocations: 4 kB / 0.791 GB, free: 7.457 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000209/0.006065, allocations: 143.5 kB / 0.7911 GB, free: 7.289 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.974e-05/0.006095, allocations: 59.95 kB / 0.7912 GB, free: 7.211 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.451e-05/0.00614, allocations: 33.47 kB / 0.7912 GB, free: 7.18 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.222e-05/0.006162, allocations: 20.5 kB / 0.7912 GB, free: 7.16 MB / 0.698 GB Notification: Performance of SimCode: time 3.8e-07/0.006162, allocations: 0.9375 kB / 0.7912 GB, free: 7.16 MB / 0.698 GB Notification: Performance of Templates: time 0.001974/0.008137, allocations: 0.5887 MB / 0.7918 GB, free: 6.598 MB / 0.698 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.046984127955511]