Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001517/0.001517, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001822/0.001822, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.364/1.364, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.613/2.613, allocations: 437 MB / 0.71 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.89 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5829/0.5841, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001677/0.5859, allocations: 0.6566 MB / 1.017 GB, free: 2.062 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002243/0.5861, allocations: 51.78 kB / 1.017 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.344e-05/0.5861, allocations: 0 / 1.017 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.402e-05/0.5861, allocations: 0 / 1.017 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.093e-06/0.5862, allocations: 0 / 1.017 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.5864, allocations: 23.92 kB / 1.018 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.32e-05/0.5865, allocations: 31.97 kB / 1.018 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.5865, allocations: 7.922 kB / 1.018 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.731e-05/0.5866, allocations: 8 kB / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.674e-05/0.5866, allocations: 15.97 kB / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.5866, allocations: 4 kB / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.255e-05/0.5867, allocations: 16 kB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.538e-05/0.5867, allocations: 11.98 kB / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.5867, allocations: 15.86 kB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.676e-05/0.5868, allocations: 27.91 kB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.5868, allocations: 0 / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5869, allocations: 0 / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.5869, allocations: 0 / 1.018 GB, free: 1.852 MB / 0.7637 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.0002966/0.5872, allocations: 347.5 kB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.5872, allocations: 11.98 kB / 1.018 GB, free: 1.449 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.5872, allocations: 4.938 kB / 1.018 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.5873, allocations: 174.3 kB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.5874, allocations: 384 / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.5874, allocations: 8.375 kB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.5875, allocations: 62.22 kB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.5875, allocations: 192 / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.5876, allocations: 7.938 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.5876, allocations: 0 / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.5877, allocations: 99.88 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.5879, allocations: 181.4 kB / 1.018 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.588, allocations: 78.48 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.368e-05/0.588, allocations: 28.84 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003037/0.5884, allocations: 401.5 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.5884, allocations: 34.56 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.5884, allocations: 0 / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of matching and sorting (n=11): time 0.0002235/0.5886, allocations: 117.9 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.5887, allocations: 51.41 kB / 1.019 GB, free: 4 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.699e-05/0.5887, allocations: 105.8 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.5888, allocations: 29.7 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.451e-05/0.5888, allocations: 84.12 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.5888, allocations: 15.81 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.5889, allocations: 29.7 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.99e-05/0.589, allocations: 314.8 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.824e-05/0.589, allocations: 19.98 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.598e-05/0.589, allocations: 20.42 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.068e-05/0.5891, allocations: 68.98 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5891, allocations: 3.938 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001343/0.5893, allocations: 97.45 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.5893, allocations: 4 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.5893, allocations: 3.938 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.5893, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.5894, allocations: 19.98 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.5895, allocations: 0 / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.347e-05/0.5895, allocations: 11.94 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.5895, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 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.0001226/0.5896, allocations: 126.4 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.5896, allocations: 4 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.5899, allocations: 129.3 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.5899, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.5899, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.5899, allocations: 4 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.59, allocations: 181.6 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.59, allocations: 0 / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.926e-05/0.5901, allocations: 23.98 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.5901, allocations: 3.938 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.5901, allocations: 4 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.5901, allocations: 4 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5901, allocations: 0 / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.5903, allocations: 120.9 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.241e-05/0.5903, allocations: 85.05 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.5903, allocations: 7.938 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.712e-05/0.5904, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.5904, allocations: 11.92 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.5904, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.203e-05/0.5905, allocations: 75.28 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5905, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002/0.5907, allocations: 16 kB / 1.021 GB, free: 14.26 MB / 0.7794 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.0001707/0.5908, allocations: 111.2 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001499/0.591, allocations: 71.91 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.591, allocations: 0 / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.183e-05/0.5911, allocations: 36.45 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/0.5912, allocations: 8 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002658/0.5915, allocations: 167.6 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.5917, allocations: 0.6846 MB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.112e-05/0.5918, allocations: 35.89 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.383e-05/0.5918, allocations: 15.42 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.5918, allocations: 3.938 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of Templates: time 0.002577/0.5944, allocations: 0.6056 MB / 1.022 GB, free: 12.46 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches