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.0009262/0.0009262, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001047/0.001047, allocations: 169.3 kB / 24.28 MB, free: 280 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 1.005/1.005, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.85/1.85, allocations: 377.8 MB / 0.6239 GB, free: 8.582 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 2.284e-06/2.284e-06, allocations: 0 / 0.8115 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.964e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003075/0.003105, allocations: 1.595 MB / 0.8131 GB, free: 488 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004568/0.003562, allocations: 132.1 kB / 0.8132 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.958e-05/0.003611, allocations: 1 kB / 0.8132 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.42e-05/0.003655, allocations: 3.938 kB / 0.8132 GB, free: 352 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.117e-05/0.003727, allocations: 8.969 kB / 0.8132 GB, free: 344 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.004046, allocations: 31.89 kB / 0.8133 GB, free: 312 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.476e-05/0.004121, allocations: 35.92 kB / 0.8133 GB, free: 276 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 9.665e-05/0.004218, allocations: 17.31 kB / 0.8133 GB, free: 260 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.033e-05/0.004258, allocations: 19.92 kB / 0.8133 GB, free: 240 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.95e-05/0.004298, allocations: 15.98 kB / 0.8133 GB, free: 224 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.004313, allocations: 4 kB / 0.8133 GB, free: 220 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.671e-05/0.00439, allocations: 20.88 kB / 0.8134 GB, free: 200 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.004404, allocations: 15.92 kB / 0.8134 GB, free: 184 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.945e-05/0.004424, allocations: 5.062 kB / 0.8134 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.004555, allocations: 43.81 kB / 0.8134 GB, free: 136 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.004558, allocations: 0 / 0.8134 GB, free: 136 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.192e-06/0.004559, allocations: 4.5 kB / 0.8134 GB, free: 132 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.004564, allocations: 2.438 kB / 0.8134 GB, free: 132 kB / 0.7605 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.000389/0.004953, allocations: 372.6 kB / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.004991, allocations: 8.031 kB / 0.8138 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/0.005032, allocations: 4.938 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.032e-05/0.005123, allocations: 116.5 kB / 0.8139 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.005145, allocations: 4.375 kB / 0.8139 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.005155, allocations: 4.812 kB / 0.8139 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.0053, allocations: 72.28 kB / 0.814 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.005307, allocations: 192 / 0.814 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.005315, allocations: 384 / 0.814 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.005323, allocations: 384 / 0.814 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.177e-05/0.005365, allocations: 20.56 kB / 0.814 GB, free: 15.47 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003163/0.005681, allocations: 273 kB / 0.8143 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/0.005857, allocations: 47.05 kB / 0.8143 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.645e-05/0.005884, allocations: 11.75 kB / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.00599, allocations: 16.52 kB / 0.8143 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.006015, allocations: 38.7 kB / 0.8144 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.006017, allocations: 4 kB / 0.8144 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001737/0.00619, allocations: 53.58 kB / 0.8144 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.006218, allocations: 52.56 kB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.92e-05/0.006288, allocations: 165.9 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.006297, allocations: 25.7 kB / 0.8147 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.456e-05/0.006342, allocations: 139.5 kB / 0.8148 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.006357, allocations: 11.94 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.006384, allocations: 23.97 kB / 0.8148 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.006486, allocations: 492.1 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/0.006506, allocations: 8.734 kB / 0.8153 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.248e-05/0.006519, allocations: 4 kB / 0.8153 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.082e-05/0.00656, allocations: 20.88 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.006562, allocations: 0 / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.858e-05/0.00663, allocations: 53.56 kB / 0.8154 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.006644, allocations: 5.531 kB / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.006648, allocations: 0 / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.006661, allocations: 0 / 0.8154 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.004e-05/0.006711, allocations: 12.23 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.006716, allocations: 1.938 kB / 0.8154 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.253e-05/0.006739, allocations: 8 kB / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.006744, allocations: 336 / 0.8154 GB, free: 13.9 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 7.129e-05/0.006815, allocations: 160.6 kB / 0.8156 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.006832, allocations: 13.33 kB / 0.8156 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.794e-05/0.006929, allocations: 53.31 kB / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.006931, allocations: 0 / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.006935, allocations: 1.188 kB / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.006938, allocations: 0 / 0.8156 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.00704, allocations: 124.6 kB / 0.8158 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.007041, allocations: 0 / 0.8158 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.96e-05/0.007071, allocations: 8.516 kB / 0.8158 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.007073, allocations: 4.531 kB / 0.8158 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.007081, allocations: 4.812 kB / 0.8158 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.007082, allocations: 0 / 0.8158 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.007083, allocations: 0 / 0.8158 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.007188, allocations: 192.8 kB / 0.816 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.745e-06/0.007196, allocations: 7.922 kB / 0.816 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.007209, allocations: 8.844 kB / 0.816 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.379e-05/0.007243, allocations: 7.938 kB / 0.816 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.007291, allocations: 8.766 kB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.007295, allocations: 4 kB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.46e-05/0.007329, allocations: 128.5 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007329, allocations: 0 / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000164/0.007493, allocations: 8 kB / 0.8161 GB, free: 13.12 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.000137/0.00763, allocations: 104 kB / 0.8162 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.425e-05/0.007715, allocations: 24.55 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.007716, allocations: 0 / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.449e-05/0.00774, allocations: 21.19 kB / 0.8163 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001767/0.007917, allocations: 4 kB / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000261/0.008178, allocations: 134.3 kB / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.535e-05/0.008213, allocations: 60.25 kB / 0.8164 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.102e-05/0.008234, allocations: 3.312 kB / 0.8165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.00826, allocations: 16.48 kB / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.00826, allocations: 0 / 0.8165 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of Templates: time 0.002586/0.01085, allocations: 0.7929 MB / 0.8172 GB, free: 11.94 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.008994417032227]