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.000967/0.000967, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.0008951/0.0008951, allocations: 185 kB / 24.09 MB, free: 412 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.9328/0.9328, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.779/1.779, 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.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.763e-06/1.763e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.351e-05/1.527e-05, allocations: 5.156 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001796/0.001811, allocations: 1.577 MB / 0.7891 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002883/0.0021, allocations: 140 kB / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.378e-05/0.002134, allocations: 1.125 kB / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.321e-05/0.002157, allocations: 3.938 kB / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.951e-05/0.002196, allocations: 0 / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002613/0.002458, allocations: 45.67 kB / 0.7893 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.606e-05/0.002514, allocations: 31.86 kB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.321e-05/0.002597, allocations: 11.98 kB / 0.7893 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.32e-05/0.00264, allocations: 23.97 kB / 0.7893 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.202e-05/0.002672, allocations: 12.73 kB / 0.7894 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.002684, allocations: 7.938 kB / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.357e-05/0.002758, allocations: 16.73 kB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.00277, allocations: 11.97 kB / 0.7894 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.329e-05/0.002784, allocations: 9.281 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.831e-05/0.002882, allocations: 47.81 kB / 0.7895 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.824e-06/0.002884, allocations: 3.938 kB / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.6e-07/0.002884, allocations: 0 / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.002888, allocations: 1.062 kB / 0.7895 GB, free: 10.25 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.0002844/0.003172, allocations: 368.6 kB / 0.7898 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.003207, allocations: 13.5 kB / 0.7898 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.436e-05/0.003231, allocations: 4.938 kB / 0.7898 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.529e-05/0.003297, allocations: 116.5 kB / 0.7899 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.003313, allocations: 12.38 kB / 0.7899 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-06/0.00332, allocations: 2.062 kB / 0.7899 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.003423, allocations: 62.94 kB / 0.79 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.003429, allocations: 192 / 0.79 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.003437, allocations: 4.375 kB / 0.79 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.003442, allocations: 2.938 kB / 0.79 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.137e-05/0.003473, allocations: 19.86 kB / 0.79 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002331/0.003706, allocations: 248.4 kB / 0.7903 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.003831, allocations: 43.11 kB / 0.7903 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.512e-05/0.003846, allocations: 11.69 kB / 0.7903 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.127e-05/0.003917, allocations: 28.47 kB / 0.7904 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.003934, allocations: 33.39 kB / 0.7904 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.003935, allocations: 1.656 kB / 0.7904 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001135/0.004049, allocations: 57.58 kB / 0.7904 GB, free: 9.121 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/0.004072, allocations: 51.41 kB / 0.7905 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.004283, allocations: 162 kB / 0.7906 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.004292, allocations: 27.45 kB / 0.7907 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.11e-05/0.004333, allocations: 138.8 kB / 0.7908 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.004348, allocations: 7.938 kB / 0.7908 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.004374, allocations: 23.36 kB / 0.7908 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.00448, allocations: 496.1 kB / 0.7913 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.859e-06/0.00449, allocations: 4.5 kB / 0.7913 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.137e-05/0.004502, allocations: 8.953 kB / 0.7913 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.472e-05/0.004526, allocations: 15.69 kB / 0.7913 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.004528, allocations: 4 kB / 0.7913 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.59e-05/0.004574, allocations: 39.28 kB / 0.7914 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.004584, allocations: 11.94 kB / 0.7914 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.004588, allocations: 0 / 0.7914 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.004598, allocations: 336 / 0.7914 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.655e-05/0.004635, allocations: 14.08 kB / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-06/0.004636, allocations: 0 / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.613e-05/0.004653, allocations: 3.938 kB / 0.7914 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.004657, allocations: 4 kB / 0.7914 GB, free: 8.066 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 5.807e-05/0.004715, allocations: 165 kB / 0.7916 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.004728, allocations: 4 kB / 0.7916 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.038e-05/0.004799, allocations: 53.83 kB / 0.7916 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.0048, allocations: 0.7188 kB / 0.7916 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.004802, allocations: 0.5312 kB / 0.7916 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.004804, allocations: 4 kB / 0.7916 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.268e-05/0.004887, allocations: 102.7 kB / 0.7917 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.004887, allocations: 3.938 kB / 0.7917 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.348e-05/0.004911, allocations: 8 kB / 0.7917 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.004912, allocations: 0 / 0.7917 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.004919, allocations: 8.766 kB / 0.7917 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.00492, allocations: 5.312 kB / 0.7917 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.004921, allocations: 3.938 kB / 0.7918 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.07e-05/0.005002, allocations: 191.9 kB / 0.7919 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5e-06/0.005007, allocations: 3.938 kB / 0.7919 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.314e-06/0.005014, allocations: 1.156 kB / 0.7919 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.133e-05/0.005046, allocations: 8 kB / 0.7919 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.005076, allocations: 9.297 kB / 0.792 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.005079, allocations: 4 kB / 0.792 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.12e-05/0.005111, allocations: 127.2 kB / 0.7921 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005111, allocations: 4 kB / 0.7921 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001384/0.005249, allocations: 12.91 kB / 0.7921 GB, free: 7.301 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 8.988e-05/0.005339, allocations: 96.09 kB / 0.7922 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.519e-05/0.005404, allocations: 27.61 kB / 0.7922 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.91e-07/0.005405, allocations: 1.344 kB / 0.7922 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.779e-05/0.005433, allocations: 19.67 kB / 0.7922 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.005582, allocations: 4 kB / 0.7922 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001934/0.005775, allocations: 129.5 kB / 0.7924 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.114e-05/0.005806, allocations: 59.34 kB / 0.7924 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.822e-05/0.005824, allocations: 5.75 kB / 0.7924 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.005869, allocations: 74.2 kB / 0.7925 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of SimCode: time 3.7e-07/0.005869, allocations: 0.875 kB / 0.7925 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of Templates: time 0.002096/0.007965, allocations: 0.8747 MB / 0.7934 GB, free: 5.984 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: 4.730260501150042]