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.5 MB / 257 MB, free: 6.855 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.001082/0.001082, allocations: 184.9 kB / 316.3 MB, free: 3.301 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.897/1.897, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0008439/0.0008439, allocations: 96.59 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.404e-05/2.405e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2529, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8802/1.133, allocations: 131.2 MB / 1.013 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/1.133, allocations: 78.25 kB / 1.013 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001972/1.135, allocations: 0.8201 MB / 1.014 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.064e-06/1.135, allocations: 0 / 1.014 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.722e-06/1.135, allocations: 0 / 1.014 GB, free: 5.758 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.0003082/1.136, allocations: 327.7 kB / 1.015 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/1.136, allocations: 12.03 kB / 1.015 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/1.136, allocations: 0 / 1.015 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/1.136, allocations: 163 kB / 1.015 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/1.136, allocations: 4 kB / 1.015 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/1.136, allocations: 8.75 kB / 1.015 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001777/1.136, allocations: 96.94 kB / 1.015 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/1.136, allocations: 60.3 kB / 1.015 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/1.136, allocations: 0 / 1.015 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/1.136, allocations: 3.984 kB / 1.015 GB, free: 5.031 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/1.136, allocations: 7.984 kB / 1.015 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/1.137, allocations: 149.3 kB / 1.015 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.768e-05/1.137, allocations: 64.5 kB / 1.015 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.174e-05/1.137, allocations: 35.47 kB / 1.015 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003458/1.137, allocations: 400.8 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/1.137, allocations: 30.56 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.153e-06/1.137, allocations: 0 / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003411/1.137, allocations: 94.55 kB / 1.016 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/1.138, allocations: 51.41 kB / 1.016 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.656e-05/1.138, allocations: 95.53 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.68e-05/1.138, allocations: 25.7 kB / 1.016 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.735e-05/1.138, allocations: 84.33 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/1.138, allocations: 14.75 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/1.138, allocations: 0 / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.138, allocations: 318 kB / 1.016 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.417e-05/1.138, allocations: 15.19 kB / 1.016 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.61e-05/1.138, allocations: 23.36 kB / 1.016 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/1.138, allocations: 27.28 kB / 1.016 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.138, allocations: 0 / 1.016 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002352/1.138, allocations: 93.09 kB / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/1.138, allocations: 8 kB / 1.016 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/1.138, allocations: 2.562 kB / 1.016 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/1.138, allocations: 0 / 1.016 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/1.138, allocations: 27.23 kB / 1.016 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/1.139, allocations: 0 / 1.016 GB, free: 3.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.342e-05/1.139, allocations: 7.938 kB / 1.016 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/1.139, allocations: 0 / 1.016 GB, free: 3.352 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 8.77e-05/1.139, allocations: 113 kB / 1.016 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.156e-05/1.139, allocations: 11.86 kB / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003246/1.139, allocations: 116.2 kB / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.139, allocations: 4 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/1.139, allocations: 0 / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/1.139, allocations: 3.984 kB / 1.017 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/1.139, allocations: 153.9 kB / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.139, allocations: 0 / 1.017 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.985e-05/1.139, allocations: 19.98 kB / 1.017 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/1.139, allocations: 0 / 1.017 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/1.139, allocations: 4 kB / 1.017 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/1.139, allocations: 3.953 kB / 1.017 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/1.139, allocations: 0 / 1.017 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/1.14, allocations: 121.8 kB / 1.017 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/1.14, allocations: 81.02 kB / 1.017 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.327e-05/1.14, allocations: 0 / 1.017 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.512e-05/1.14, allocations: 8.812 kB / 1.017 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/1.14, allocations: 11.94 kB / 1.017 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/1.14, allocations: 7.062 kB / 1.017 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.73e-05/1.14, allocations: 75.28 kB / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/1.14, allocations: 0 / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001919/1.14, allocations: 23.92 kB / 1.017 GB, free: 2.551 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: 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.0002192/1.14, allocations: 107.2 kB / 1.017 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001254/1.14, allocations: 63.69 kB / 1.017 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/1.14, allocations: 0 / 1.017 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.901e-05/1.14, allocations: 31.44 kB / 1.017 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001052/1.14, allocations: 0 / 1.017 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002332/1.141, allocations: 95.16 kB / 1.017 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/1.141, allocations: 0.6884 MB / 1.018 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.51e-05/1.141, allocations: 35.8 kB / 1.018 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.658e-05/1.141, allocations: 19 kB / 1.018 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/1.141, allocations: 4 kB / 1.018 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of Templates: time 0.002534/1.144, allocations: 0.5533 MB / 1.019 GB, free: 0.9414 MB / 0.6355 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