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.478/1.478, allocations: 249.3 MB / 261.8 MB, free: 5.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001124, allocations: 168.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.868/1.868, allocations: 205.2 MB / 0.572 GB, free: 10.62 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.000985/0.0009847, allocations: 88.58 kB / 0.6764 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.668e-05/3.67e-05, allocations: 11.98 kB / 0.788 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2385, allocations: 106.3 MB / 0.8918 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7758/1.014, allocations: 130.9 MB / 1.02 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/1.015, allocations: 89.17 kB / 1.02 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001711/1.016, allocations: 0.816 MB / 1.021 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.002e-06/1.016, allocations: 4 kB / 1.021 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.666e-06/1.016, allocations: 0 / 1.021 GB, free: 2.953 MB / 0.6355 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.0002588/1.017, allocations: 328.3 kB / 1.021 GB, free: 2.594 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/1.017, allocations: 12.03 kB / 1.021 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.121e-05/1.017, allocations: 0 / 1.021 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.176e-05/1.017, allocations: 163 kB / 1.021 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/1.017, allocations: 7.688 kB / 1.021 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/1.017, allocations: 4 kB / 1.021 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/1.017, allocations: 61.05 kB / 1.021 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/1.017, allocations: 7.984 kB / 1.021 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/1.017, allocations: 3.875 kB / 1.021 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/1.017, allocations: 4 kB / 1.021 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/1.017, allocations: 102.1 kB / 1.021 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/1.017, allocations: 173.2 kB / 1.021 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.913e-05/1.017, allocations: 65.38 kB / 1.021 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.427e-05/1.017, allocations: 35.41 kB / 1.021 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003041/1.018, allocations: 401.2 kB / 1.022 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/1.018, allocations: 42.55 kB / 1.022 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/1.018, allocations: 0 / 1.022 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0001738/1.018, allocations: 85.94 kB / 1.022 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/1.018, allocations: 55.41 kB / 1.022 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.477e-05/1.018, allocations: 92.84 kB / 1.022 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/1.018, allocations: 25.7 kB / 1.022 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/1.018, allocations: 80.33 kB / 1.022 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/1.018, allocations: 18.56 kB / 1.022 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/1.018, allocations: 6.438 kB / 1.022 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001088/1.018, allocations: 321.6 kB / 1.023 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.166e-05/1.018, allocations: 14.81 kB / 1.023 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.007e-05/1.018, allocations: 19.61 kB / 1.023 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.61e-05/1.018, allocations: 32.09 kB / 1.023 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/1.018, allocations: 0 / 1.023 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000133/1.018, allocations: 97.95 kB / 1.023 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/1.018, allocations: 13.97 kB / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-06/1.018, allocations: 0 / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.945e-06/1.018, allocations: 0 / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.744e-05/1.019, allocations: 27.97 kB / 1.023 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/1.019, allocations: 0 / 1.023 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.807e-05/1.019, allocations: 2.75 kB / 1.023 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/1.019, allocations: 4 kB / 1.023 GB, free: 0.4961 MB / 0.6355 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 () * 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 6.842e-05/1.019, allocations: 112.9 kB / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.298e-05/1.019, allocations: 11.86 kB / 1.023 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/1.019, allocations: 124.6 kB / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/1.019, allocations: 0.625 kB / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/1.019, allocations: 4 kB / 1.023 GB, free: 264 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.019, allocations: 3.984 kB / 1.023 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/1.019, allocations: 171.8 kB / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/1.019, allocations: 1.875 kB / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.771e-05/1.019, allocations: 23.92 kB / 1.023 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/1.019, allocations: 3.953 kB / 1.023 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/1.019, allocations: 0 / 1.023 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/1.019, allocations: 4 kB / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/1.019, allocations: 4 kB / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/1.019, allocations: 123.3 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/1.019, allocations: 85.02 kB / 1.023 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/1.019, allocations: 3.953 kB / 1.023 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.517e-05/1.019, allocations: 0 / 1.023 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.471e-05/1.019, allocations: 11.55 kB / 1.023 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/1.019, allocations: 4 kB / 1.023 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 2.667e-05/1.02, allocations: 79.28 kB / 1.023 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.1e-07/1.02, allocations: 0 / 1.023 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0001908/1.02, allocations: 30.55 kB / 1.024 GB, free: 15.66 MB / 0.6511 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 () * 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.0001681/1.02, allocations: 118.3 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.665e-05/1.02, allocations: 58.28 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/1.02, allocations: 0 / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.666e-05/1.02, allocations: 30.81 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.57e-05/1.02, allocations: 9.156 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001858/1.02, allocations: 111.9 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/1.021, allocations: 0.6848 MB / 1.025 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.989e-05/1.021, allocations: 39.8 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.728e-05/1.021, allocations: 11.44 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of SimCode: time 2.11e-07/1.021, allocations: 0 / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of Templates: time 0.002089/1.023, allocations: 0.574 MB / 1.025 GB, free: 14.02 MB / 0.6511 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