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.001392/0.001392, 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.001165/0.001165, allocations: 164.5 kB / 24.86 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.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.923/1.923, allocations: 377.9 MB / 0.6247 GB, free: 8.441 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.113e-06/1.113e-06, allocations: 0 / 0.8128 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.174e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002086/0.002108, allocations: 1.586 MB / 0.8143 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0003551/0.002463, allocations: 139.5 kB / 0.8145 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.459e-05/0.002517, allocations: 0 / 0.8145 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.476e-05/0.002552, allocations: 1.688 kB / 0.8145 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.911e-05/0.002611, allocations: 3.938 kB / 0.8145 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003537/0.002965, allocations: 43.77 kB / 0.8145 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.672e-05/0.003042, allocations: 31.92 kB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.642e-05/0.003138, allocations: 11.98 kB / 0.8146 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.628e-05/0.003184, allocations: 25.31 kB / 0.8146 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.986e-05/0.003224, allocations: 11.92 kB / 0.8146 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.003241, allocations: 4 kB / 0.8146 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.476e-05/0.003336, allocations: 21.58 kB / 0.8146 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.003353, allocations: 11.97 kB / 0.8146 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.003372, allocations: 8 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.003507, allocations: 47.81 kB / 0.8147 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.00351, allocations: 0.7188 kB / 0.8147 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.613e-06/0.003512, allocations: 0 / 0.8147 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.003515, allocations: 0.5312 kB / 0.8147 GB, free: 15.55 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.0003406/0.003856, allocations: 370.2 kB / 0.815 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.103e-05/0.003887, allocations: 8.031 kB / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.003915, allocations: 4.938 kB / 0.8151 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.317e-05/0.003998, allocations: 124.4 kB / 0.8152 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.004016, allocations: 4.375 kB / 0.8152 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.125e-06/0.004024, allocations: 5.031 kB / 0.8152 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.004141, allocations: 64.16 kB / 0.8152 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.004147, allocations: 192 / 0.8152 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.004156, allocations: 8.312 kB / 0.8152 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.004161, allocations: 5.531 kB / 0.8153 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.916e-05/0.004191, allocations: 15.92 kB / 0.8153 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.004449, allocations: 252.3 kB / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.004596, allocations: 40.42 kB / 0.8155 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.907e-05/0.004615, allocations: 11.75 kB / 0.8156 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.18e-05/0.004697, allocations: 21.73 kB / 0.8156 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.004718, allocations: 33.39 kB / 0.8156 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.004719, allocations: 0 / 0.8156 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001355/0.004855, allocations: 61.64 kB / 0.8157 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.004881, allocations: 51.41 kB / 0.8157 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.588e-05/0.004947, allocations: 167.8 kB / 0.8159 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.004956, allocations: 25.7 kB / 0.8159 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.262e-05/0.004999, allocations: 130.8 kB / 0.816 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.005017, allocations: 15.94 kB / 0.816 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.005044, allocations: 23.36 kB / 0.8161 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.005153, allocations: 492.9 kB / 0.8165 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.452e-05/0.005168, allocations: 4 kB / 0.8165 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.184e-05/0.00518, allocations: 10.3 kB / 0.8166 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.049e-05/0.00521, allocations: 15.62 kB / 0.8166 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.005212, allocations: 0 / 0.8166 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.248e-05/0.005275, allocations: 45.69 kB / 0.8166 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.005289, allocations: 10.59 kB / 0.8166 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.005294, allocations: 10.02 kB / 0.8166 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.005303, allocations: 0 / 0.8166 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.461e-05/0.005368, allocations: 7.984 kB / 0.8166 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-06/0.00537, allocations: 0 / 0.8166 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.09e-05/0.005391, allocations: 4 kB / 0.8166 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.005396, allocations: 0 / 0.8166 GB, free: 13.36 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 6.578e-05/0.005461, allocations: 161.6 kB / 0.8168 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.00548, allocations: 7.938 kB / 0.8168 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.97e-05/0.005569, allocations: 63.14 kB / 0.8169 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.005572, allocations: 0 / 0.8169 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.005574, allocations: 0 / 0.8169 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.005576, allocations: 0 / 0.8169 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.414e-05/0.00567, allocations: 107.6 kB / 0.817 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.005672, allocations: 0 / 0.817 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.943e-05/0.005701, allocations: 7.984 kB / 0.817 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.005702, allocations: 0 / 0.817 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-06/0.005707, allocations: 4 kB / 0.817 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.005708, allocations: 0 / 0.817 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.00571, allocations: 4.188 kB / 0.817 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.661e-05/0.005807, allocations: 193 kB / 0.8172 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.005814, allocations: 7.938 kB / 0.8172 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.325e-06/0.005823, allocations: 4 kB / 0.8172 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.213e-05/0.005855, allocations: 0.5625 kB / 0.8172 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.00589, allocations: 16.7 kB / 0.8172 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.005892, allocations: 0 / 0.8172 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.33e-05/0.005925, allocations: 132 kB / 0.8173 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.005926, allocations: 0 / 0.8173 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001525/0.006078, allocations: 8 kB / 0.8173 GB, free: 12.6 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.0001146/0.006193, allocations: 107.1 kB / 0.8174 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.228e-05/0.006265, allocations: 23.66 kB / 0.8175 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.006266, allocations: 4 kB / 0.8175 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.248e-05/0.006288, allocations: 19.61 kB / 0.8175 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.006463, allocations: 4 kB / 0.8175 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002298/0.006693, allocations: 126.3 kB / 0.8176 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.472e-05/0.006728, allocations: 65.3 kB / 0.8177 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.127e-05/0.006749, allocations: 4 kB / 0.8177 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/0.006801, allocations: 74.2 kB / 0.8177 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.006801, allocations: 0.9688 kB / 0.8177 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of Templates: time 0.002601/0.009402, allocations: 0.8639 MB / 0.8186 GB, free: 11.28 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.1344764260575175]