Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.1.|falFac.2.|falFac.3.|falFac.4.|falFac.5.|falFac.6.|falFac.7.|falFac.8.|falFac.9.|falFac.10.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.1.|falFac.2.|falFac.3.|falFac.4.|falFac.5.|falFac.6.|falFac.7.|falFac.8.|falFac.9.|falFac.10.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.308/1.308, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 194.8 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007596/0.0007599, allocations: 88.17 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003155/0.0003155, allocations: 15.19 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1931, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1524/0.3455, allocations: 131 MB / 1.028 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.3457, allocations: 79.94 kB / 1.028 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001712/0.3474, allocations: 0.8241 MB / 1.029 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3475, allocations: 0 / 1.029 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.3475, allocations: 0 / 1.029 GB, free: 11.82 MB / 0.6823 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.0002213/0.3477, allocations: 339.3 kB / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.3477, allocations: 8.031 kB / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.373e-05/0.3478, allocations: 4 kB / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.628e-05/0.3478, allocations: 167 kB / 1.029 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.3479, allocations: 4 kB / 1.029 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.3479, allocations: 7.938 kB / 1.029 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.348, allocations: 69.53 kB / 1.029 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-06/0.348, allocations: 0 / 1.029 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.348, allocations: 0 / 1.029 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.348, allocations: 4 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.3482, allocations: 99.86 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.3483, allocations: 177.5 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.271e-05/0.3484, allocations: 74.55 kB / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002616/0.3487, allocations: 409.5 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.3487, allocations: 34.56 kB / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.3487, allocations: 336 / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0002012/0.3489, allocations: 109.6 kB / 1.03 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.349, allocations: 55.41 kB / 1.03 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.16e-05/0.349, allocations: 92.89 kB / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.349, allocations: 33.7 kB / 1.031 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.246e-05/0.3491, allocations: 80.33 kB / 1.031 GB, free: 9.801 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.3491, allocations: 15.75 kB / 1.031 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.3491, allocations: 4 kB / 1.031 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.24e-05/0.3492, allocations: 314.8 kB / 1.031 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.488e-05/0.3492, allocations: 19.98 kB / 1.031 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.055e-05/0.3493, allocations: 28.3 kB / 1.031 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.618e-05/0.3493, allocations: 27.98 kB / 1.031 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3493, allocations: 0 / 1.031 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001248/0.3495, allocations: 101.5 kB / 1.031 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.3495, allocations: 4 kB / 1.031 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.3495, allocations: 4 kB / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.3495, allocations: 0 / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.733e-05/0.3496, allocations: 19.98 kB / 1.031 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.3496, allocations: 0 / 1.031 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.3496, allocations: 4 kB / 1.031 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.3496, allocations: 4 kB / 1.031 GB, free: 9.25 MB / 0.6823 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 (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 initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.678e-05/0.3497, allocations: 129.8 kB / 1.031 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.3497, allocations: 7.938 kB / 1.031 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001931/0.3499, allocations: 125.9 kB / 1.031 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.35, allocations: 4 kB / 1.031 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.35, allocations: 0 / 1.031 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.35, allocations: 0 / 1.031 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.3501, allocations: 173.5 kB / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3501, allocations: 0 / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.435e-05/0.3502, allocations: 27.88 kB / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.3502, allocations: 7.938 kB / 1.032 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.3502, allocations: 8 kB / 1.032 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3502, allocations: 3.938 kB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3502, allocations: 0 / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.3503, allocations: 109.5 kB / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.3504, allocations: 89 kB / 1.032 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.3504, allocations: 7.953 kB / 1.032 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.854e-05/0.3504, allocations: 8 kB / 1.032 GB, free: 8.461 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.3504, allocations: 11.92 kB / 1.032 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-06/0.3505, allocations: 4 kB / 1.032 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.522e-05/0.3505, allocations: 75.28 kB / 1.032 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3505, allocations: 3.938 kB / 1.032 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002009/0.3507, allocations: 19.94 kB / 1.032 GB, free: 8.348 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001501/0.3509, allocations: 119.2 kB / 1.032 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001048/0.351, allocations: 55.97 kB / 1.032 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.351, allocations: 3.938 kB / 1.032 GB, free: 8.164 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.044e-05/0.351, allocations: 35.92 kB / 1.032 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.809e-05/0.3511, allocations: 4.984 kB / 1.032 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002237/0.3513, allocations: 142.7 kB / 1.032 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.3516, allocations: 0.6907 MB / 1.033 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.971e-05/0.3516, allocations: 39.81 kB / 1.033 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.581e-05/0.3517, allocations: 15.42 kB / 1.033 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of SimCode: time 3.41e-07/0.3517, allocations: 0 / 1.033 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of Templates: time 0.001977/0.3536, allocations: 0.5549 MB / 1.034 GB, free: 6.633 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_FallingFactorial.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches