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.0009781/0.0009783, allocations: 91.3 kB / 15.06 MB, free: 1.094 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.001121/0.001121, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 223.3 MB / 240 MB, free: 5.461 MB / 190.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.786/2.786, allocations: 437.7 MB / 0.7117 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.00038, allocations: 12 kB / 0.8722 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7892/0.7896, allocations: 153.8 MB / 1.022 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0007413/0.7904, allocations: 317.3 kB / 1.023 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002652/0.7907, allocations: 55.83 kB / 1.023 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.774e-05/0.7907, allocations: 0 / 1.023 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.224e-05/0.7907, allocations: 0 / 1.023 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.414e-06/0.7907, allocations: 0 / 1.023 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.791, allocations: 15.98 kB / 1.023 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.143e-05/0.7911, allocations: 23.98 kB / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.7911, allocations: 0 / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.446e-05/0.7912, allocations: 19.97 kB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.16e-05/0.7912, allocations: 7.938 kB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.7912, allocations: 0 / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.926e-05/0.7913, allocations: 19.98 kB / 1.023 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.374e-05/0.7913, allocations: 15.98 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.977e-05/0.7914, allocations: 25.7 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.199e-05/0.7914, allocations: 15.97 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.7915, allocations: 0 / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7915, allocations: 8 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.7915, allocations: 0 / 1.023 GB, free: 15.52 MB / 0.7794 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.0003535/0.7918, allocations: 327.3 kB / 1.023 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.7919, allocations: 12.52 kB / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.7919, allocations: 0 / 1.023 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.7921, allocations: 173 kB / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.7921, allocations: 0 / 1.023 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.7921, allocations: 8 kB / 1.023 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.7923, allocations: 65.56 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.7923, allocations: 4 kB / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.7923, allocations: 0 / 1.023 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.7923, allocations: 4 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.7925, allocations: 99.86 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001974/0.7927, allocations: 189.4 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.7928, allocations: 70.48 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.073e-05/0.7929, allocations: 32.84 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003539/0.7932, allocations: 397.5 kB / 1.024 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.7933, allocations: 38.52 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.7933, allocations: 0 / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0002703/0.7936, allocations: 121.8 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.7936, allocations: 51.41 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.217e-05/0.7937, allocations: 97.77 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.853e-05/0.7937, allocations: 29.7 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.904e-05/0.7937, allocations: 80.33 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.7938, allocations: 15.81 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.7938, allocations: 4 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.7939, allocations: 322.8 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.566e-05/0.7939, allocations: 15.98 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.268e-05/0.794, allocations: 19.98 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.175e-05/0.794, allocations: 27.92 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.794, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001342/0.7942, allocations: 94.23 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.7942, allocations: 4 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.7942, allocations: 0 / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.7942, allocations: 11.89 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.7944, allocations: 19.98 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.7944, allocations: 4 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.967e-05/0.7944, allocations: 3.938 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.7944, allocations: 4 kB / 1.025 GB, free: 12.91 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 (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 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 0.0001529/0.7946, allocations: 117.8 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.286e-06/0.7946, allocations: 4 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002399/0.7948, allocations: 137.6 kB / 1.025 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.7949, allocations: 3.953 kB / 1.025 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.7949, allocations: 4 kB / 1.025 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.7949, allocations: 3.984 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001378/0.795, allocations: 181.5 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.795, allocations: 0 / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.902e-05/0.7951, allocations: 19.98 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.7951, allocations: 0 / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.7951, allocations: 0 / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.7951, allocations: 8 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.7951, allocations: 7.953 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.7953, allocations: 125.3 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.7954, allocations: 81.02 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.7954, allocations: 8 kB / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.367e-05/0.7954, allocations: 0 / 1.026 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.7955, allocations: 7.984 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.7955, allocations: 7.953 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.236e-05/0.7955, allocations: 79.28 kB / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7955, allocations: 0 / 1.026 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002145/0.7957, allocations: 20 kB / 1.026 GB, free: 12 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 (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.0002094/0.7959, allocations: 115.2 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000139/0.7961, allocations: 55.91 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7961, allocations: 3.938 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.891e-05/0.7962, allocations: 39.91 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.7963, allocations: 12 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002825/0.7966, allocations: 142.7 kB / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.7969, allocations: 0.6864 MB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.193e-05/0.7969, allocations: 31.95 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.234e-05/0.797, allocations: 15.42 kB / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.797, allocations: 4 kB / 1.027 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of Templates: time 0.002706/0.7997, allocations: 0.5627 MB / 1.028 GB, free: 10.28 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