Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.0009264/0.0009264, 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.0009442/0.0009442, 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 0.9225/0.9225, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.915/1.915, allocations: 377.8 MB / 0.6239 GB, free: 8.531 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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.133e-06/1.133e-06, allocations: 0 / 0.8116 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.096e-05, allocations: 8.781 kB / 0.8116 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001008/0.001029, allocations: 0.5974 MB / 0.8122 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002059/0.001235, allocations: 59.78 kB / 0.8122 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.579e-05/0.001261, allocations: 0 / 0.8122 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.742e-05/0.001298, allocations: 0.9375 kB / 0.8122 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.913e-06/0.001305, allocations: 3.938 kB / 0.8122 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.00157, allocations: 21.59 kB / 0.8123 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.039e-05/0.00164, allocations: 35.89 kB / 0.8123 GB, free: 1.312 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.276e-05/0.001673, allocations: 4 kB / 0.8123 GB, free: 1.309 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.013e-05/0.001703, allocations: 15.98 kB / 0.8123 GB, free: 1.293 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 1.952e-05/0.001722, allocations: 7.984 kB / 0.8123 GB, free: 1.285 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.001735, allocations: 1.531 kB / 0.8123 GB, free: 1.285 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.474e-05/0.00181, allocations: 23.97 kB / 0.8123 GB, free: 1.262 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.001831, allocations: 7.984 kB / 0.8123 GB, free: 1.254 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.299e-05/0.001854, allocations: 15.92 kB / 0.8124 GB, free: 1.238 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.132e-05/0.001945, allocations: 41.31 kB / 0.8124 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.001947, allocations: 0 / 0.8124 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.71e-07/0.001948, allocations: 0 / 0.8124 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.001952, allocations: 0 / 0.8124 GB, free: 1.199 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002457/0.002197, allocations: 360.9 kB / 0.8127 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.00223, allocations: 12.84 kB / 0.8128 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.002267, allocations: 13.23 kB / 0.8128 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.448e-05/0.002321, allocations: 108.6 kB / 0.8129 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.002333, allocations: 4.938 kB / 0.8129 GB, free: 0.6484 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.002343, allocations: 8.969 kB / 0.8129 GB, free: 0.6406 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.399e-05/0.002437, allocations: 54.17 kB / 0.8129 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.002443, allocations: 0.875 kB / 0.8129 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.002451, allocations: 4.312 kB / 0.8129 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.002459, allocations: 5.75 kB / 0.813 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.205e-05/0.002541, allocations: 87.81 kB / 0.813 GB, free: 500 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001045/0.002645, allocations: 120.6 kB / 0.8132 GB, free: 344 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 7.197e-05/0.002717, allocations: 64.73 kB / 0.8132 GB, free: 268 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.962e-05/0.002747, allocations: 23.67 kB / 0.8132 GB, free: 240 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001448/0.002892, allocations: 19.98 kB / 0.8133 GB, free: 220 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.002911, allocations: 41.33 kB / 0.8133 GB, free: 168 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=11): time 8.01e-07/0.002912, allocations: 0 / 0.8133 GB, free: 168 kB / 0.7605 GB Notification: Performance of matching and sorting (n=11): time 0.000182/0.003094, allocations: 98.98 kB / 0.8134 GB, free: 64 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.003131, allocations: 55.39 kB / 0.8134 GB, free: 16 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.12e-05/0.003172, allocations: 150.8 kB / 0.8136 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.003183, allocations: 25.7 kB / 0.8136 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.433e-05/0.003207, allocations: 131.4 kB / 0.8137 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.003232, allocations: 28.36 kB / 0.8138 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.003267, allocations: 39.36 kB / 0.8138 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.339e-05/0.00336, allocations: 497.2 kB / 0.8143 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.988e-05/0.00338, allocations: 11.98 kB / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.831e-05/0.003398, allocations: 19.92 kB / 0.8143 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.039e-05/0.003459, allocations: 45.19 kB / 0.8143 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.00346, allocations: 3.938 kB / 0.8143 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 7.998e-05/0.00354, allocations: 75.92 kB / 0.8144 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.003551, allocations: 8 kB / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.003555, allocations: 0 / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.003565, allocations: 0 / 0.8144 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-05/0.003632, allocations: 23.92 kB / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.003637, allocations: 0 / 0.8145 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.535e-05/0.003652, allocations: 16.42 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.003658, allocations: 4.719 kB / 0.8145 GB, free: 14.89 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: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.485e-05/0.003722, allocations: 165.1 kB / 0.8146 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-06/0.00373, allocations: 5.594 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.003853, allocations: 113.4 kB / 0.8147 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.003854, allocations: 0 / 0.8147 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.003857, allocations: 4 kB / 0.8147 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.003861, allocations: 4.75 kB / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.725e-05/0.003928, allocations: 128.6 kB / 0.8149 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.003929, allocations: 4.875 kB / 0.8149 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.526e-05/0.003964, allocations: 19.98 kB / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.003966, allocations: 1.219 kB / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.003972, allocations: 0 / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.003973, allocations: 0 / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.003973, allocations: 4 kB / 0.8149 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.997e-05/0.004063, allocations: 125.2 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-06/0.004068, allocations: 4 kB / 0.815 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-06/0.004078, allocations: 6.281 kB / 0.815 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-06/0.004085, allocations: 0 / 0.815 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.004113, allocations: 15.86 kB / 0.815 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.004118, allocations: 8 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.289e-05/0.00414, allocations: 119.2 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.004141, allocations: 0 / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001258/0.004266, allocations: 19.92 kB / 0.8152 GB, free: 14.09 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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0001027/0.004369, allocations: 110.5 kB / 0.8153 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9e-05/0.004459, allocations: 51.59 kB / 0.8153 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.00446, allocations: 0 / 0.8153 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.058e-05/0.004491, allocations: 39.61 kB / 0.8154 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.49e-05/0.004586, allocations: 14.81 kB / 0.8154 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000204/0.00479, allocations: 139.3 kB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.381e-05/0.004823, allocations: 59.34 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.927e-05/0.004873, allocations: 40.89 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.041e-05/0.004893, allocations: 17.53 kB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of SimCode: time 6.42e-07/0.004894, allocations: 0 / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of Templates: time 0.001913/0.006807, allocations: 0.5957 MB / 0.8162 GB, free: 12.99 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_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.096464681206271]