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.0009688/0.0009688, 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.001082/0.001082, allocations: 165.7 kB / 24.87 MB, free: 8.867 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 0.9448/0.9448, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.918/1.918, allocations: 377.9 MB / 0.6247 GB, free: 8.398 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.843e-06/1.843e-06, allocations: 0 / 0.8128 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.267e-05, allocations: 2.969 kB / 0.8128 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001276/0.001298, allocations: 0.6034 MB / 0.8134 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002277/0.001526, allocations: 58.09 kB / 0.8135 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.103e-05/0.001547, allocations: 0 / 0.8135 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.036e-05/0.001587, allocations: 1.438 kB / 0.8135 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.612e-06/0.001594, allocations: 0 / 0.8135 GB, free: 0.7148 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.001854, allocations: 19.92 kB / 0.8135 GB, free: 0.6953 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.845e-05/0.001923, allocations: 31.95 kB / 0.8135 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.4e-05/0.001957, allocations: 1.781 kB / 0.8135 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.286e-05/0.00199, allocations: 20.36 kB / 0.8135 GB, free: 0.6445 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 2.036e-05/0.00201, allocations: 11.97 kB / 0.8136 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.002023, allocations: 7.938 kB / 0.8136 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.015e-05/0.002103, allocations: 19.97 kB / 0.8136 GB, free: 0.6055 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.002124, allocations: 9.344 kB / 0.8136 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.976e-05/0.002144, allocations: 15.97 kB / 0.8136 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.788e-05/0.002232, allocations: 31.89 kB / 0.8136 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.293e-06/0.002233, allocations: 0 / 0.8136 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.71e-07/0.002234, allocations: 1.594 kB / 0.8136 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.002238, allocations: 0 / 0.8136 GB, free: 0.5508 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.0002401/0.002478, allocations: 364.3 kB / 0.814 GB, free: 160 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.002508, allocations: 8.031 kB / 0.814 GB, free: 152 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.003e-05/0.002538, allocations: 13.95 kB / 0.814 GB, free: 140 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.213e-05/0.00261, allocations: 116.5 kB / 0.8141 GB, free: 16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.00262, allocations: 0.9062 kB / 0.8141 GB, free: 16 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.625e-06/0.002628, allocations: 6.031 kB / 0.8141 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.08e-05/0.002709, allocations: 54.23 kB / 0.8142 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.002715, allocations: 192 / 0.8142 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-06/0.002721, allocations: 384 / 0.8142 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.002727, allocations: 4.375 kB / 0.8142 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.876e-05/0.002796, allocations: 76.41 kB / 0.8143 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001076/0.002903, allocations: 122.5 kB / 0.8144 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.685e-05/0.00297, allocations: 58.92 kB / 0.8144 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.421e-05/0.002994, allocations: 23.67 kB / 0.8145 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.003114, allocations: 19.98 kB / 0.8145 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.003135, allocations: 38.55 kB / 0.8145 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 8.82e-07/0.003136, allocations: 0 / 0.8145 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0001506/0.003286, allocations: 85.95 kB / 0.8146 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.003316, allocations: 56.72 kB / 0.8146 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.048e-05/0.003366, allocations: 158.2 kB / 0.8148 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.003377, allocations: 25.7 kB / 0.8148 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/0.003437, allocations: 128.6 kB / 0.8149 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.003467, allocations: 27.78 kB / 0.815 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.003501, allocations: 39.36 kB / 0.815 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.003616, allocations: 0.4922 MB / 0.8155 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.644e-05/0.003633, allocations: 7.984 kB / 0.8155 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.408e-05/0.003647, allocations: 13.67 kB / 0.8155 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.112e-05/0.003698, allocations: 31.69 kB / 0.8155 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.0037, allocations: 0 / 0.8155 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11) (initialization): time 9.491e-05/0.003795, allocations: 74.27 kB / 0.8156 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.003806, allocations: 8.844 kB / 0.8156 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.00381, allocations: 0 / 0.8156 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-06/0.003817, allocations: 3.938 kB / 0.8156 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.088e-05/0.003878, allocations: 22.2 kB / 0.8156 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.003881, allocations: 0 / 0.8156 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.439e-05/0.003895, allocations: 7.953 kB / 0.8156 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.003901, allocations: 7.938 kB / 0.8157 GB, free: 14.3 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 7.099e-05/0.003972, allocations: 166.7 kB / 0.8158 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.003983, allocations: 7.984 kB / 0.8158 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.004096, allocations: 113.5 kB / 0.8159 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.004098, allocations: 4 kB / 0.8159 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.0041, allocations: 0 / 0.8159 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.004102, allocations: 0.5 kB / 0.8159 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.147e-05/0.004174, allocations: 109.2 kB / 0.816 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.004175, allocations: 0.5312 kB / 0.816 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.626e-05/0.004211, allocations: 17.91 kB / 0.8161 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.004213, allocations: 0 / 0.8161 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.004218, allocations: 3.984 kB / 0.8161 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.004219, allocations: 4 kB / 0.8161 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.00422, allocations: 0 / 0.8161 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.364e-05/0.004314, allocations: 130.6 kB / 0.8162 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-06/0.004321, allocations: 7.984 kB / 0.8162 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-06/0.004329, allocations: 4 kB / 0.8162 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-06/0.004337, allocations: 0 / 0.8162 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/0.00436, allocations: 11.92 kB / 0.8162 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.004364, allocations: 4 kB / 0.8162 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.512e-05/0.004389, allocations: 120.3 kB / 0.8163 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.004389, allocations: 0 / 0.8163 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001359/0.004525, allocations: 15.94 kB / 0.8163 GB, free: 13.54 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.0001522/0.004678, allocations: 118.8 kB / 0.8165 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.554e-05/0.004763, allocations: 51.59 kB / 0.8165 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.004765, allocations: 0.8438 kB / 0.8165 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.894e-05/0.004794, allocations: 39.59 kB / 0.8165 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.535e-05/0.004889, allocations: 10.44 kB / 0.8166 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001805/0.00507, allocations: 134.3 kB / 0.8167 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.668e-05/0.005096, allocations: 63.28 kB / 0.8167 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.829e-05/0.005125, allocations: 15.97 kB / 0.8168 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.00516, allocations: 78.19 kB / 0.8168 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.005161, allocations: 0 / 0.8168 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of Templates: time 0.001993/0.007153, allocations: 0.6908 MB / 0.8175 GB, free: 12.32 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.074130035936832]