Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.0009886/0.0009886, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001068/0.001068, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.007/1.007, allocations: 177.2 MB / 205.3 MB, free: 5.477 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.773/1.773, allocations: 359 MB / 0.6063 GB, free: 10.86 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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.763e-05/1.91e-05, allocations: 2.875 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001965/0.001984, allocations: 1.591 MB / 0.7899 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002852/0.002269, allocations: 135.6 kB / 0.79 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.083e-05/0.0023, allocations: 0.5625 kB / 0.79 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.397e-05/0.002324, allocations: 3.938 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.017e-05/0.002364, allocations: 4.672 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.002607, allocations: 36.75 kB / 0.79 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.679e-05/0.002664, allocations: 35.86 kB / 0.7901 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.415e-05/0.002738, allocations: 16.62 kB / 0.7901 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.583e-05/0.002774, allocations: 19.98 kB / 0.7901 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.497e-05/0.002809, allocations: 20.64 kB / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.002821, allocations: 0 / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.386e-05/0.002895, allocations: 25.61 kB / 0.7902 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.002907, allocations: 8 kB / 0.7902 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.547e-05/0.002922, allocations: 8 kB / 0.7902 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.003026, allocations: 43.81 kB / 0.7902 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.003028, allocations: 0 / 0.7902 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003029, allocations: 5.281 kB / 0.7902 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.003032, allocations: 0 / 0.7902 GB, free: 10.27 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00054/0.003572, allocations: 372.6 kB / 0.7906 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.003601, allocations: 13.62 kB / 0.7906 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.385e-05/0.003625, allocations: 4.938 kB / 0.7906 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.714e-05/0.003692, allocations: 112.5 kB / 0.7907 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.003708, allocations: 8.375 kB / 0.7907 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-06/0.003714, allocations: 3.812 kB / 0.7907 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.003817, allocations: 62.94 kB / 0.7908 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.97e-06/0.003822, allocations: 192 / 0.7908 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.003831, allocations: 12.34 kB / 0.7908 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.003835, allocations: 384 / 0.7908 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.537e-05/0.00386, allocations: 19.81 kB / 0.7908 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.004091, allocations: 248.4 kB / 0.791 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.004225, allocations: 47.11 kB / 0.7911 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.633e-05/0.004241, allocations: 12.22 kB / 0.7911 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.878e-05/0.00431, allocations: 16.64 kB / 0.7911 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.004327, allocations: 37.86 kB / 0.7912 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.004328, allocations: 0 / 0.7912 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001139/0.004442, allocations: 54.36 kB / 0.7912 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/0.004463, allocations: 55.41 kB / 0.7913 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.712e-05/0.00452, allocations: 158.8 kB / 0.7914 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.00453, allocations: 25.7 kB / 0.7914 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.004574, allocations: 143.3 kB / 0.7916 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.279e-05/0.004586, allocations: 5.328 kB / 0.7916 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.004614, allocations: 23.36 kB / 0.7916 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.004718, allocations: 496.1 kB / 0.7921 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.698e-05/0.004735, allocations: 4 kB / 0.7921 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.344e-05/0.004748, allocations: 13.2 kB / 0.7921 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.401e-05/0.004782, allocations: 15.94 kB / 0.7921 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.004785, allocations: 4 kB / 0.7921 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.061e-05/0.004876, allocations: 42.34 kB / 0.7921 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.004896, allocations: 11.94 kB / 0.7922 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.004902, allocations: 0.7188 kB / 0.7922 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.004914, allocations: 1.031 kB / 0.7922 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.833e-05/0.004972, allocations: 11.98 kB / 0.7922 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.004976, allocations: 0 / 0.7922 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.587e-05/0.005002, allocations: 0.9062 kB / 0.7922 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.00501, allocations: 7.938 kB / 0.7922 GB, free: 8.078 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: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.473e-05/0.005105, allocations: 158.8 kB / 0.7923 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.005127, allocations: 4 kB / 0.7923 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.005249, allocations: 53.3 kB / 0.7924 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.005251, allocations: 3.938 kB / 0.7924 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.005253, allocations: 0 / 0.7924 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.00526, allocations: 7.5 kB / 0.7924 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.005387, allocations: 105.2 kB / 0.7925 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.00539, allocations: 0 / 0.7925 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.925e-05/0.005429, allocations: 11.98 kB / 0.7925 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.005432, allocations: 0 / 0.7925 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.005438, allocations: 0 / 0.7925 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.005441, allocations: 0 / 0.7925 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.005444, allocations: 3.938 kB / 0.7925 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.005586, allocations: 201.1 kB / 0.7927 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-06/0.005594, allocations: 3.938 kB / 0.7927 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.514e-06/0.005601, allocations: 0 / 0.7927 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.342e-05/0.005635, allocations: 7.984 kB / 0.7927 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.00567, allocations: 8.562 kB / 0.7927 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.005675, allocations: 4.562 kB / 0.7927 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.496e-05/0.00571, allocations: 123.2 kB / 0.7928 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.00571, allocations: 4.969 kB / 0.7928 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001565/0.005867, allocations: 8 kB / 0.7929 GB, free: 7.324 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: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001051/0.005972, allocations: 100.2 kB / 0.793 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.183e-05/0.006034, allocations: 28.7 kB / 0.793 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.006035, allocations: 0 / 0.793 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.246e-05/0.006058, allocations: 19.67 kB / 0.793 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.006214, allocations: 1.5 kB / 0.793 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002046/0.006419, allocations: 134.1 kB / 0.7931 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.132e-05/0.00645, allocations: 60.16 kB / 0.7932 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.239e-05/0.006473, allocations: 8.922 kB / 0.7932 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.544e-05/0.006518, allocations: 74.2 kB / 0.7933 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of SimCode: time 4.9e-07/0.006519, allocations: 1.219 kB / 0.7933 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of Templates: time 0.002197/0.008716, allocations: 0.8715 MB / 0.7941 GB, free: 6 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_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.024052827153355]