Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001366/0.001366, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.00153/0.00153, allocations: 161 kB / 23.82 MB, free: 0.7461 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.029/1.029, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.857/1.857, allocations: 377.8 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.8115 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.177e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002/0.002022, allocations: 1.59 MB / 0.8131 GB, free: 132 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003116/0.002334, allocations: 141 kB / 0.8132 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.435e-05/0.002368, allocations: 4 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.282e-05/0.002401, allocations: 0 / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.309e-05/0.002444, allocations: 5.156 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.002729, allocations: 39.77 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.473e-05/0.002794, allocations: 35.86 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.956e-05/0.002873, allocations: 12.67 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.859e-05/0.002912, allocations: 23.97 kB / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.39e-05/0.002946, allocations: 12.86 kB / 0.8134 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.00296, allocations: 4 kB / 0.8134 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.969e-05/0.00303, allocations: 16.83 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.459e-05/0.003044, allocations: 15.91 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.907e-05/0.003063, allocations: 8.875 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.003178, allocations: 47.81 kB / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.00318, allocations: 0 / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.72e-07/0.003181, allocations: 1.25 kB / 0.8135 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.003185, allocations: 0 / 0.8135 GB, free: 15.77 MB / 0.7761 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.000347/0.003532, allocations: 372.6 kB / 0.8138 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.003565, allocations: 9.781 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.003599, allocations: 4.938 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.487e-05/0.003684, allocations: 120.5 kB / 0.8139 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.003702, allocations: 384 / 0.8139 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.003713, allocations: 5.594 kB / 0.8139 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.003844, allocations: 66.94 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.003853, allocations: 192 / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.003863, allocations: 6.188 kB / 0.814 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.036e-06/0.003871, allocations: 4.375 kB / 0.814 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.78e-05/0.003909, allocations: 15.92 kB / 0.814 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002962/0.004205, allocations: 267.7 kB / 0.8143 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.00437, allocations: 48.58 kB / 0.8143 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.191e-05/0.004392, allocations: 11.75 kB / 0.8143 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.572e-05/0.004488, allocations: 15.98 kB / 0.8144 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.004509, allocations: 41.33 kB / 0.8144 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.00451, allocations: 1.406 kB / 0.8144 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001472/0.004657, allocations: 53.58 kB / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/0.004679, allocations: 55.41 kB / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.456e-05/0.004743, allocations: 162.5 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.004754, allocations: 26.39 kB / 0.8147 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.0048, allocations: 142.8 kB / 0.8148 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.004815, allocations: 9.844 kB / 0.8148 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/0.004841, allocations: 19.38 kB / 0.8149 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.004945, allocations: 0.4884 MB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.589e-05/0.00496, allocations: 3.984 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.264e-05/0.004973, allocations: 4 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.541e-05/0.005009, allocations: 24.25 kB / 0.8154 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.00501, allocations: 0 / 0.8154 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.737e-05/0.005067, allocations: 50.34 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.005079, allocations: 5.219 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.005084, allocations: 4 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.005097, allocations: 0 / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.525e-05/0.005142, allocations: 7.984 kB / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.005147, allocations: 0.5625 kB / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.976e-05/0.005167, allocations: 5.156 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.005171, allocations: 0 / 0.8154 GB, free: 13.55 MB / 0.7761 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.794e-05/0.005229, allocations: 157.9 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.00525, allocations: 7.922 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.341e-05/0.005343, allocations: 66.03 kB / 0.8157 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.005345, allocations: 0 / 0.8157 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.005349, allocations: 5.062 kB / 0.8157 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.005351, allocations: 0 / 0.8157 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.987e-05/0.005441, allocations: 124.6 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.005443, allocations: 0.8125 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.877e-05/0.005471, allocations: 11.98 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.005473, allocations: 0.9375 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.005479, allocations: 3.938 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.00548, allocations: 1.344 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.005481, allocations: 0 / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.213e-05/0.005574, allocations: 195.9 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.072e-06/0.00558, allocations: 11.86 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.00559, allocations: 4.812 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.227e-05/0.005622, allocations: 4 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.00567, allocations: 14.11 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.005673, allocations: 0 / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.066e-05/0.005703, allocations: 123.2 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005703, allocations: 0 / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001534/0.005857, allocations: 12 kB / 0.8161 GB, free: 12.76 MB / 0.7761 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.0001004/0.005957, allocations: 103.8 kB / 0.8162 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.603e-05/0.006033, allocations: 23.11 kB / 0.8163 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.006034, allocations: 0 / 0.8163 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.487e-05/0.006059, allocations: 23.62 kB / 0.8163 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/0.006227, allocations: 4 kB / 0.8163 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002348/0.006462, allocations: 130.3 kB / 0.8164 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.218e-05/0.006494, allocations: 59.22 kB / 0.8165 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.999e-05/0.006514, allocations: 5.062 kB / 0.8165 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.006541, allocations: 17.27 kB / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of SimCode: time 5.61e-07/0.006542, allocations: 0 / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of Templates: time 0.002273/0.008815, allocations: 0.7879 MB / 0.8173 GB, free: 11.59 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.276163418777287]