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.0009358/0.0009358, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009381/0.0009381, allocations: 181 kB / 24.09 MB, free: 416 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.9247/0.9247, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.742/1.742, allocations: 359 MB / 0.6055 GB, free: 10.88 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.983e-06/1.983e-06, allocations: 0 / 0.7876 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.539e-05/2.737e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002506/0.002534, allocations: 0.6127 MB / 0.7882 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003449/0.002879, allocations: 43.88 kB / 0.7883 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.996e-05/0.002909, allocations: 0 / 0.7883 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.469e-05/0.002953, allocations: 3.938 kB / 0.7883 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.076e-06/0.002961, allocations: 0 / 0.7883 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003837/0.003345, allocations: 24.78 kB / 0.7883 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.654e-05/0.003442, allocations: 31.97 kB / 0.7883 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.573e-05/0.003487, allocations: 0.625 kB / 0.7883 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.106e-05/0.003538, allocations: 15.97 kB / 0.7883 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.516e-05/0.003574, allocations: 17.38 kB / 0.7883 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.003592, allocations: 7.938 kB / 0.7884 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.003715, allocations: 11.98 kB / 0.7884 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.122e-05/0.003747, allocations: 17.27 kB / 0.7884 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.471e-05/0.003771, allocations: 11.92 kB / 0.7884 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.003893, allocations: 31.89 kB / 0.7884 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.003898, allocations: 0 / 0.7884 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.242e-06/0.003899, allocations: 1.062 kB / 0.7884 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.003904, allocations: 0 / 0.7884 GB, free: 11.34 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.0004939/0.004398, allocations: 372.3 kB / 0.7888 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.004439, allocations: 9.375 kB / 0.7888 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.00448, allocations: 9.234 kB / 0.7888 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.37e-05/0.004543, allocations: 112.6 kB / 0.7889 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.004557, allocations: 5.938 kB / 0.7889 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.004567, allocations: 8.312 kB / 0.7889 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.695e-05/0.004664, allocations: 50.23 kB / 0.789 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.004671, allocations: 192 / 0.789 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.004679, allocations: 3.062 kB / 0.789 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.004687, allocations: 8.359 kB / 0.789 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.478e-05/0.004781, allocations: 75.81 kB / 0.789 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000122/0.004903, allocations: 105.2 kB / 0.7892 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.138e-05/0.004985, allocations: 66.95 kB / 0.7892 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.749e-05/0.005012, allocations: 15.69 kB / 0.7892 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/0.005179, allocations: 35.89 kB / 0.7893 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.005203, allocations: 34.11 kB / 0.7893 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.005204, allocations: 0 / 0.7893 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0001891/0.005393, allocations: 87.61 kB / 0.7894 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.005422, allocations: 59.34 kB / 0.7894 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.838e-05/0.00548, allocations: 150.2 kB / 0.7896 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.005491, allocations: 25.7 kB / 0.7896 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.439e-05/0.005535, allocations: 128 kB / 0.7897 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.005569, allocations: 27.78 kB / 0.7898 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/0.005617, allocations: 39.34 kB / 0.7898 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.005753, allocations: 0.4937 MB / 0.7903 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.264e-05/0.005776, allocations: 7.984 kB / 0.7903 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.105e-05/0.005797, allocations: 12.42 kB / 0.7903 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.785e-05/0.005865, allocations: 43.83 kB / 0.7903 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.005867, allocations: 0 / 0.7903 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001148/0.005981, allocations: 75.58 kB / 0.7904 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.005995, allocations: 8 kB / 0.7904 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.006, allocations: 0 / 0.7904 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.006015, allocations: 0 / 0.7904 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.439e-05/0.006109, allocations: 23.92 kB / 0.7904 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.006113, allocations: 0.625 kB / 0.7904 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.781e-05/0.00613, allocations: 3.953 kB / 0.7904 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.00614, allocations: 8.469 kB / 0.7904 GB, free: 9.086 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 8.973e-05/0.006229, allocations: 161.8 kB / 0.7906 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.006247, allocations: 8 kB / 0.7906 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001684/0.006416, allocations: 114.8 kB / 0.7907 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.006418, allocations: 4 kB / 0.7907 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.006421, allocations: 4 kB / 0.7907 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.006424, allocations: 0.5312 kB / 0.7907 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.156e-05/0.006515, allocations: 114.5 kB / 0.7908 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.006517, allocations: 0 / 0.7908 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.162e-05/0.006578, allocations: 16 kB / 0.7909 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.006581, allocations: 0 / 0.7909 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.00659, allocations: 13.14 kB / 0.7909 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.006591, allocations: 0 / 0.7909 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.006592, allocations: 0 / 0.7909 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.00673, allocations: 121.6 kB / 0.791 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-06/0.006737, allocations: 0 / 0.791 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.006751, allocations: 4 kB / 0.791 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.716e-05/0.006768, allocations: 4 kB / 0.791 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.0068, allocations: 13.67 kB / 0.791 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-06/0.006806, allocations: 0 / 0.791 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.154e-05/0.006838, allocations: 119.2 kB / 0.7911 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.1e-08/0.006838, allocations: 4 kB / 0.7911 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002086/0.007046, allocations: 15.94 kB / 0.7911 GB, free: 8.328 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.0001702/0.007216, allocations: 115.1 kB / 0.7912 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001064/0.007323, allocations: 56.2 kB / 0.7913 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.007325, allocations: 0 / 0.7913 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.844e-05/0.007363, allocations: 32.78 kB / 0.7913 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.007499, allocations: 14.03 kB / 0.7913 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002443/0.007743, allocations: 134.8 kB / 0.7915 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.935e-05/0.007783, allocations: 63.28 kB / 0.7915 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.571e-05/0.007828, allocations: 16.84 kB / 0.7915 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.312e-05/0.007881, allocations: 82.19 kB / 0.7916 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of SimCode: time 6.72e-07/0.007882, allocations: 3.469 kB / 0.7916 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of Templates: time 0.003088/0.01097, allocations: 0.6733 MB / 0.7923 GB, free: 7.117 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.937407513149083]