Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_9_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_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009206/0.009206, allocations: 96.7 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 194.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.348/2.348, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 73.05 kB / 0.9509 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3388, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001726/0.3406, allocations: 0.5726 MB / 1.089 GB, free: 0.9023 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003054/0.3409, allocations: 59.72 kB / 1.089 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.514e-05/0.3409, allocations: 0 / 1.089 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.836e-05/0.341, allocations: 0 / 1.089 GB, free: 0.8438 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.754e-06/0.341, allocations: 4 kB / 1.089 GB, free: 0.8398 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.3413, allocations: 27.91 kB / 1.089 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.911e-05/0.3414, allocations: 23.98 kB / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.3414, allocations: 0 / 1.089 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.345e-05/0.3414, allocations: 19.97 kB / 1.089 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.888e-05/0.3415, allocations: 8 kB / 1.089 GB, free: 0.7617 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.3415, allocations: 4 kB / 1.089 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.256e-05/0.3416, allocations: 15.98 kB / 1.089 GB, free: 0.7422 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.668e-05/0.3416, allocations: 11.97 kB / 1.089 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.59e-05/0.3417, allocations: 15.88 kB / 1.089 GB, free: 0.7148 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.3418, allocations: 35.83 kB / 1.089 GB, free: 0.6797 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3418, allocations: 4 kB / 1.089 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3418, allocations: 0 / 1.089 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.3418, allocations: 4 kB / 1.089 GB, free: 0.6719 MB / 0.8419 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.0003453/0.3422, allocations: 335.4 kB / 1.089 GB, free: 300 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.3422, allocations: 8.031 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.3423, allocations: 16.88 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.3424, allocations: 160.4 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.3424, allocations: 384 / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.3424, allocations: 4.375 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.3425, allocations: 70.5 kB / 1.089 GB, free: 16 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3426, allocations: 4.188 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.3426, allocations: 7.938 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3426, allocations: 0 / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.3427, allocations: 99.88 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.3429, allocations: 173.6 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.343, allocations: 74.48 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.733e-05/0.3431, allocations: 32.78 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000339/0.3434, allocations: 413.5 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.3435, allocations: 30.56 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.3435, allocations: 0 / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.00025/0.3437, allocations: 117.8 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.3438, allocations: 51.41 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.11e-05/0.3438, allocations: 97.86 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.3438, allocations: 25.7 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.806e-05/0.3439, allocations: 88.12 kB / 1.09 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.3439, allocations: 23.8 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.344, allocations: 37.7 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.3441, allocations: 314.8 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.657e-05/0.3441, allocations: 23.92 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.125e-05/0.3442, allocations: 20.42 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.108e-05/0.3443, allocations: 60.98 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3443, allocations: 0 / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001327/0.3444, allocations: 97.56 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3444, allocations: 5.25 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.3444, allocations: 7.938 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3445, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.809e-05/0.3446, allocations: 23.92 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.3446, allocations: 0 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.056e-05/0.3446, allocations: 7.938 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.3446, allocations: 0 / 1.091 GB, free: 13.97 MB / 0.8575 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 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.3447, allocations: 127.6 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.3447, allocations: 4 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002066/0.345, allocations: 133.4 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.345, allocations: 8 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.345, allocations: 0 / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.345, allocations: 0 / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.3451, allocations: 173.6 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3451, allocations: 0 / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.561e-05/0.3452, allocations: 19.98 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3452, allocations: 3.938 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.3452, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3452, allocations: 4 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3452, allocations: 4 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.3454, allocations: 121 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.144e-05/0.3454, allocations: 92.92 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.3455, allocations: 4 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.394e-05/0.3455, allocations: 0 / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.3455, allocations: 11.92 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.3455, allocations: 8 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.434e-05/0.3456, allocations: 79.28 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3456, allocations: 0 / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001955/0.3458, allocations: 12 kB / 1.092 GB, free: 13.08 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001752/0.3459, allocations: 111.2 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001448/0.3461, allocations: 59.91 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.3461, allocations: 0 / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.797e-05/0.3462, allocations: 39.97 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.3463, allocations: 4 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002602/0.3466, allocations: 153.6 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002545/0.3468, allocations: 0.6821 MB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.87e-05/0.3469, allocations: 35.94 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.3469, allocations: 11.44 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/0.3469, allocations: 0 / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of Templates: time 0.002584/0.3495, allocations: 0.6188 MB / 1.094 GB, free: 11.31 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches