Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001087, allocations: 107.1 kB / 16.35 MB, free: 5.824 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.001027/0.001027, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.14 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.447/2.447, allocations: 437.1 MB / 0.7112 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 64.34 kB / 0.8707 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.299, allocations: 151.6 MB / 1.019 GB, free: 9.793 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002815/0.3018, allocations: 1.538 MB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003544/0.3022, allocations: 128.5 kB / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.64e-05/0.3023, allocations: 0 / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.848e-05/0.3023, allocations: 15.92 kB / 1.02 GB, free: 8.094 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.495e-05/0.3024, allocations: 3.938 kB / 1.02 GB, free: 8.09 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.3027, allocations: 35.89 kB / 1.02 GB, free: 8.055 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.213e-05/0.3028, allocations: 35.92 kB / 1.02 GB, free: 8.02 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.935e-05/0.3029, allocations: 8 kB / 1.02 GB, free: 8.012 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.392e-05/0.3029, allocations: 15.92 kB / 1.021 GB, free: 7.996 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.635e-05/0.303, allocations: 23.91 kB / 1.021 GB, free: 7.973 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.303, allocations: 4 kB / 1.021 GB, free: 7.969 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 7.35e-05/0.3031, allocations: 19.98 kB / 1.021 GB, free: 7.949 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.851e-05/0.3031, allocations: 7.984 kB / 1.021 GB, free: 7.941 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.3031, allocations: 19.88 kB / 1.021 GB, free: 7.922 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.3032, allocations: 39.88 kB / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3033, allocations: 0 / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3033, allocations: 0 / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.3033, allocations: 4 kB / 1.021 GB, free: 7.879 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004967/0.3038, allocations: 355.3 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3038, allocations: 8.922 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.879e-05/0.3039, allocations: 12.94 kB / 1.021 GB, free: 7.461 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000121/0.304, allocations: 160.4 kB / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.455e-05/0.304, allocations: 8.312 kB / 1.021 GB, free: 7.258 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.304, allocations: 8.297 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.3042, allocations: 66.17 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.3043, allocations: 192 / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.3043, allocations: 3.938 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3043, allocations: 0 / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001795/0.3045, allocations: 47.95 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.3048, allocations: 292.6 kB / 1.022 GB, free: 6.793 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.3051, allocations: 54.55 kB / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.149e-05/0.3053, allocations: 30.42 kB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002695/0.3055, allocations: 397.5 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.3056, allocations: 34.56 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.3056, allocations: 0 / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0003512/0.3059, allocations: 101.5 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.306, allocations: 51.41 kB / 1.022 GB, free: 6.008 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.3061, allocations: 109.8 kB / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.3061, allocations: 33.7 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.3061, allocations: 80.14 kB / 1.022 GB, free: 5.77 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.449e-05/0.3062, allocations: 7.906 kB / 1.022 GB, free: 5.762 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.3062, allocations: 17.7 kB / 1.022 GB, free: 5.738 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.3064, allocations: 322.8 kB / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.704e-05/0.3065, allocations: 15.97 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.905e-05/0.3066, allocations: 23.98 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.3068, allocations: 49.08 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3068, allocations: 4 kB / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002017/0.307, allocations: 73.59 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.307, allocations: 8 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.307, allocations: 0 / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.307, allocations: 0 / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.984e-05/0.3071, allocations: 15.98 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3071, allocations: 0 / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.873e-05/0.3072, allocations: 7.984 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.3072, allocations: 0 / 1.023 GB, free: 5.211 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: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.768e-05/0.3073, allocations: 114.4 kB / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.3073, allocations: 7.906 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002691/0.3076, allocations: 89.48 kB / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3076, allocations: 3.938 kB / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.3076, allocations: 4 kB / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3076, allocations: 0 / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/0.3078, allocations: 173.6 kB / 1.023 GB, free: 4.762 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3078, allocations: 0 / 1.023 GB, free: 4.762 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.487e-05/0.3079, allocations: 11.98 kB / 1.023 GB, free: 4.75 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3079, allocations: 3.938 kB / 1.023 GB, free: 4.746 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.3079, allocations: 0 / 1.023 GB, free: 4.746 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.3079, allocations: 4 kB / 1.023 GB, free: 4.742 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.3079, allocations: 0 / 1.023 GB, free: 4.742 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.3082, allocations: 171.5 kB / 1.023 GB, free: 4.559 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.3082, allocations: 85 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.3082, allocations: 0 / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.3084, allocations: 4 kB / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.3084, allocations: 15.92 kB / 1.024 GB, free: 4.438 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.3084, allocations: 4 kB / 1.024 GB, free: 4.434 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.51e-05/0.3085, allocations: 91.58 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3085, allocations: 0 / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000231/0.3087, allocations: 8 kB / 1.024 GB, free: 4.336 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: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.000148/0.3089, allocations: 103.2 kB / 1.024 GB, free: 4.223 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.3091, allocations: 43.95 kB / 1.024 GB, free: 4.18 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3091, allocations: 4 kB / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.301e-05/0.3092, allocations: 27.97 kB / 1.024 GB, free: 4.148 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.3095, allocations: 18.23 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.3098, allocations: 114.7 kB / 1.024 GB, free: 3.996 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.3101, allocations: 0.6807 MB / 1.025 GB, free: 3.289 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.257e-05/0.3101, allocations: 11.97 kB / 1.025 GB, free: 3.277 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.3101, allocations: 11.44 kB / 1.025 GB, free: 3.266 MB / 0.795 GB Notification: Performance of SimCode: time 2e-07/0.3101, allocations: 0 / 1.025 GB, free: 3.266 MB / 0.795 GB Notification: Performance of Templates: time 0.003143/0.3133, allocations: 0.765 MB / 1.025 GB, free: 2.504 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches