Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.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.451/1.451, allocations: 249.3 MB / 261.8 MB, free: 5.801 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.00126/0.00126, allocations: 174.6 kB / 321.3 MB, free: 14.66 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.825/1.825, allocations: 205.2 MB / 0.572 GB, free: 10.59 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.0008959/0.000896, allocations: 82.48 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.334e-05/3.336e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2326, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.783/1.016, allocations: 132 MB / 1.021 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/1.016, allocations: 69.34 kB / 1.021 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003117/1.019, allocations: 1.051 MB / 1.022 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/1.019, allocations: 4 kB / 1.022 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.706e-06/1.019, allocations: 0 / 1.022 GB, free: 1.723 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003957/1.019, allocations: 350.2 kB / 1.022 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/1.02, allocations: 12.03 kB / 1.022 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/1.02, allocations: 4 kB / 1.022 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/1.02, allocations: 171.4 kB / 1.022 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/1.02, allocations: 4 kB / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/1.02, allocations: 3.188 kB / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/1.02, allocations: 53.25 kB / 1.022 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/1.02, allocations: 0 / 1.022 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/1.02, allocations: 1.938 kB / 1.022 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/1.02, allocations: 4 kB / 1.022 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.515e-05/1.02, allocations: 22.86 kB / 1.022 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/1.02, allocations: 275.5 kB / 1.023 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002324/1.021, allocations: 49.19 kB / 1.023 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.656e-05/1.021, allocations: 18.97 kB / 1.023 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003327/1.021, allocations: 401.3 kB / 1.023 GB, free: 196 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/1.021, allocations: 34.56 kB / 1.023 GB, free: 152 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/1.021, allocations: 0 / 1.023 GB, free: 152 kB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001813/1.021, allocations: 56.72 kB / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/1.021, allocations: 59.3 kB / 1.023 GB, free: 24 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/1.021, allocations: 96.69 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/1.021, allocations: 25.7 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.53e-05/1.022, allocations: 91.38 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/1.022, allocations: 3.906 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/1.022, allocations: 4 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001365/1.022, allocations: 313.8 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.414e-05/1.022, allocations: 11 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.794e-05/1.022, allocations: 7 kB / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.783e-05/1.022, allocations: 7.984 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.022, allocations: 0 / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.769e-05/1.022, allocations: 56.22 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/1.022, allocations: 4 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/1.022, allocations: 0 / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/1.022, allocations: 4 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.278e-05/1.022, allocations: 19.92 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/1.022, allocations: 0.625 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.349e-05/1.022, allocations: 23.19 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/1.022, allocations: 4 kB / 1.024 GB, free: 15.36 MB / 0.6511 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,falFac.k) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.677e-05/1.022, allocations: 101 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/1.022, allocations: 4 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001387/1.022, allocations: 61.14 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/1.022, allocations: 3.984 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/1.022, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/1.022, allocations: 0 / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/1.023, allocations: 176.3 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/1.023, allocations: 0 / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.063e-05/1.023, allocations: 23.05 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/1.023, allocations: 0 / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/1.023, allocations: 4 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.023, allocations: 320 / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.023, allocations: 4 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/1.023, allocations: 146.8 kB / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/1.023, allocations: 81.11 kB / 1.024 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/1.023, allocations: 3.984 kB / 1.024 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/1.023, allocations: 8 kB / 1.024 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.364e-05/1.023, allocations: 11.17 kB / 1.024 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-06/1.023, allocations: 4 kB / 1.024 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.438e-05/1.023, allocations: 86.89 kB / 1.025 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.023, allocations: 0 / 1.025 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002092/1.023, allocations: 19.94 kB / 1.025 GB, free: 14.56 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: 2 (falFac.y,falFac.k) * Number of discrete 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 (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.0001869/1.024, allocations: 115.1 kB / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001015/1.024, allocations: 23.25 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.024, allocations: 0 / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.387e-05/1.024, allocations: 19.11 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/1.024, allocations: 11.39 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002267/1.024, allocations: 68.28 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/1.024, allocations: 0.6848 MB / 1.025 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.452e-05/1.024, allocations: 4 kB / 1.025 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/1.024, allocations: 11.44 kB / 1.025 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of SimCode: time 3.31e-07/1.025, allocations: 7.938 kB / 1.026 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of Templates: time 0.002872/1.027, allocations: 0.6472 MB / 1.026 GB, free: 12.96 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_FallingFactorial.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches