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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001798/0.001798, allocations: 103.6 kB / 16.37 MB, free: 6.477 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.0019/0.0019, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.464/2.464, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 64.28 kB / 0.8707 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2754, allocations: 151.6 MB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001759/0.2772, allocations: 0.59 MB / 1.019 GB, free: 9.281 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002477/0.2775, allocations: 63.77 kB / 1.019 GB, free: 9.219 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.697e-05/0.2775, allocations: 0 / 1.019 GB, free: 9.219 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.276e-05/0.2775, allocations: 0 / 1.019 GB, free: 9.219 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.629e-06/0.2775, allocations: 0 / 1.019 GB, free: 9.219 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.2778, allocations: 19.92 kB / 1.019 GB, free: 9.199 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.694e-05/0.2779, allocations: 39.95 kB / 1.019 GB, free: 9.16 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.933e-05/0.278, allocations: 0 / 1.019 GB, free: 9.16 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.832e-05/0.278, allocations: 8 kB / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.71e-05/0.278, allocations: 15.97 kB / 1.02 GB, free: 9.137 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.278, allocations: 4 kB / 1.02 GB, free: 9.133 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.182e-05/0.2781, allocations: 15.98 kB / 1.02 GB, free: 9.117 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.741e-05/0.2781, allocations: 11.94 kB / 1.02 GB, free: 9.105 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.2782, allocations: 15.92 kB / 1.02 GB, free: 9.09 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.048e-05/0.2783, allocations: 35.88 kB / 1.02 GB, free: 9.055 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2783, allocations: 0 / 1.02 GB, free: 9.055 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2783, allocations: 0 / 1.02 GB, free: 9.055 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.2783, allocations: 4 kB / 1.02 GB, free: 9.051 MB / 0.795 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.0002957/0.2786, allocations: 339.5 kB / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.2786, allocations: 12.88 kB / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.99e-05/0.2787, allocations: 0.9375 kB / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.49e-05/0.2788, allocations: 168.3 kB / 1.02 GB, free: 8.453 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.2788, allocations: 384 / 1.02 GB, free: 8.453 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.2788, allocations: 8.375 kB / 1.02 GB, free: 8.445 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.2789, allocations: 70.09 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.279, allocations: 192 / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.279, allocations: 11.94 kB / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.279, allocations: 0 / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.2791, allocations: 103.9 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001483/0.2793, allocations: 173.5 kB / 1.02 GB, free: 8.039 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.2794, allocations: 74.53 kB / 1.021 GB, free: 7.957 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.839e-05/0.2794, allocations: 32.78 kB / 1.021 GB, free: 7.922 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002787/0.2797, allocations: 397.5 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.2798, allocations: 38.56 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.2798, allocations: 0 / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.0002202/0.28, allocations: 117.9 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.28, allocations: 55.39 kB / 1.021 GB, free: 7.207 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.686e-05/0.2801, allocations: 93.77 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.2801, allocations: 33.7 kB / 1.021 GB, free: 7.066 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.046e-05/0.2801, allocations: 80.14 kB / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.2802, allocations: 23.73 kB / 1.021 GB, free: 6.961 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.2802, allocations: 33.7 kB / 1.021 GB, free: 6.922 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.459e-05/0.2803, allocations: 314.8 kB / 1.022 GB, free: 6.605 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.766e-05/0.2803, allocations: 23.92 kB / 1.022 GB, free: 6.582 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.254e-05/0.2804, allocations: 19.98 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.05e-05/0.2805, allocations: 69.36 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2805, allocations: 0 / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001298/0.2806, allocations: 89.58 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2806, allocations: 7.984 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2806, allocations: 3.938 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.2807, allocations: 0 / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.481e-05/0.2808, allocations: 23.94 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.2808, allocations: 0 / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.231e-05/0.2808, allocations: 8 kB / 1.022 GB, free: 6.355 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.2808, allocations: 3.984 kB / 1.022 GB, free: 6.352 MB / 0.795 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 9.861e-05/0.2809, allocations: 119 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.331e-05/0.2809, allocations: 7.906 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001981/0.2811, allocations: 133.3 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2811, allocations: 4 kB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.2812, allocations: 0 / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2812, allocations: 4 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.2813, allocations: 173.7 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2813, allocations: 0 / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.551e-05/0.2814, allocations: 16 kB / 1.022 GB, free: 5.836 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2814, allocations: 3.938 kB / 1.022 GB, free: 5.832 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.2814, allocations: 7.984 kB / 1.022 GB, free: 5.824 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.2814, allocations: 4 kB / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2814, allocations: 0 / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.2815, allocations: 128.8 kB / 1.022 GB, free: 5.676 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 2.971e-05/0.2816, allocations: 81.05 kB / 1.023 GB, free: 5.578 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.2816, allocations: 7.984 kB / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.504e-05/0.2816, allocations: 0 / 1.023 GB, free: 5.57 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.2817, allocations: 11.98 kB / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.2817, allocations: 7.984 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.136e-05/0.2817, allocations: 75.28 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2817, allocations: 0 / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001978/0.2819, allocations: 24 kB / 1.023 GB, free: 5.453 MB / 0.795 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.0001461/0.2821, allocations: 107.8 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001368/0.2822, allocations: 67.89 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2822, allocations: 3.938 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.712e-05/0.2823, allocations: 31.98 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001264/0.2824, allocations: 4 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002428/0.2826, allocations: 157.6 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001982/0.2829, allocations: 0.6807 MB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 7.085e-05/0.2829, allocations: 35.94 kB / 1.024 GB, free: 4.309 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.013e-05/0.283, allocations: 15.44 kB / 1.024 GB, free: 4.297 MB / 0.795 GB Notification: Performance of SimCode: time 2.11e-07/0.283, allocations: 0 / 1.024 GB, free: 4.297 MB / 0.795 GB Notification: Performance of Templates: time 0.002602/0.2856, allocations: 0.6033 MB / 1.024 GB, free: 3.695 MB / 0.795 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 -s gbode -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/jenkins1/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