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.47/1.47, allocations: 249.5 MB / 257 MB, free: 6.922 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.001098/0.001098, allocations: 180.8 kB / 316.3 MB, free: 3.23 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.798/1.798, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0009702/0.0009702, allocations: 83.89 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.032e-05/2.035e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2655, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7834/1.049, allocations: 132.3 MB / 1.014 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/1.049, allocations: 78.44 kB / 1.014 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003778/1.053, allocations: 1.044 MB / 1.016 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.768e-06/1.053, allocations: 3.984 kB / 1.016 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.863e-06/1.053, allocations: 0 / 1.016 GB, free: 4.52 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.0004452/1.054, allocations: 345.9 kB / 1.016 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/1.054, allocations: 8.031 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/1.054, allocations: 4 kB / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/1.054, allocations: 170.9 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/1.054, allocations: 4.75 kB / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/1.054, allocations: 0 / 1.016 GB, free: 3.922 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.878e-05/1.054, allocations: 26.55 kB / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/1.054, allocations: 41.38 kB / 1.016 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/1.054, allocations: 7.938 kB / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/1.054, allocations: 0 / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/1.054, allocations: 0 / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/1.055, allocations: 259.9 kB / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/1.055, allocations: 45.81 kB / 1.016 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.22e-05/1.055, allocations: 12.73 kB / 1.016 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003563/1.055, allocations: 401.6 kB / 1.017 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/1.055, allocations: 34.5 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/1.055, allocations: 8 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001992/1.056, allocations: 56.89 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/1.056, allocations: 51.41 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.807e-05/1.056, allocations: 92.62 kB / 1.017 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/1.056, allocations: 25.7 kB / 1.017 GB, free: 2.742 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.931e-05/1.056, allocations: 88.12 kB / 1.017 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/1.056, allocations: 7.594 kB / 1.017 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/1.056, allocations: 0 / 1.017 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001321/1.056, allocations: 314.8 kB / 1.017 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.221e-05/1.056, allocations: 11.62 kB / 1.017 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.893e-05/1.056, allocations: 7.688 kB / 1.017 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.018e-05/1.056, allocations: 11.98 kB / 1.017 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.056, allocations: 0 / 1.017 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001032/1.056, allocations: 56.84 kB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/1.056, allocations: 4 kB / 1.018 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/1.056, allocations: 0 / 1.018 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/1.056, allocations: 4 kB / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/1.056, allocations: 11.98 kB / 1.018 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/1.057, allocations: 8.562 kB / 1.018 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.381e-05/1.057, allocations: 8 kB / 1.018 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-06/1.057, allocations: 0 / 1.018 GB, free: 2.219 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: 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 9.787e-05/1.057, allocations: 111 kB / 1.018 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/1.057, allocations: 4 kB / 1.018 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/1.057, allocations: 57 kB / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/1.057, allocations: 0 / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/1.057, allocations: 4 kB / 1.018 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/1.057, allocations: 3.984 kB / 1.018 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/1.057, allocations: 145.4 kB / 1.018 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/1.057, allocations: 0 / 1.018 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.726e-05/1.057, allocations: 19.3 kB / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/1.057, allocations: 0 / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/1.057, allocations: 0 / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/1.057, allocations: 7.969 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.057, allocations: 0 / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001803/1.057, allocations: 150.6 kB / 1.018 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/1.057, allocations: 81.02 kB / 1.018 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/1.058, allocations: 0 / 1.018 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.185e-05/1.058, allocations: 14.52 kB / 1.018 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.894e-05/1.058, allocations: 7.938 kB / 1.018 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/1.058, allocations: 3.984 kB / 1.018 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.104e-05/1.058, allocations: 86.97 kB / 1.018 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/1.058, allocations: 3.938 kB / 1.018 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002264/1.058, allocations: 19.88 kB / 1.018 GB, free: 1.457 MB / 0.6355 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.000182/1.058, allocations: 107.2 kB / 1.018 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.799e-05/1.058, allocations: 23.52 kB / 1.018 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/1.058, allocations: 0 / 1.018 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.67e-05/1.058, allocations: 11.62 kB / 1.018 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001676/1.058, allocations: 4 kB / 1.018 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/1.059, allocations: 79.55 kB / 1.018 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/1.059, allocations: 0.6845 MB / 1.019 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.597e-05/1.059, allocations: 4 kB / 1.019 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/1.059, allocations: 7.438 kB / 1.019 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of SimCode: time 2.3e-07/1.059, allocations: 0 / 1.019 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of Templates: time 0.002775/1.062, allocations: 0.6046 MB / 1.02 GB, free: 15.91 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