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.0009072/0.0009072, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001232/0.001232, allocations: 168.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.514/1.514, allocations: 223.3 MB / 240 MB, free: 5.379 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.884/2.884, allocations: 437.7 MB / 0.7117 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003919/0.000392, allocations: 12 kB / 0.8722 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7946/0.795, allocations: 153.8 MB / 1.022 GB, free: 40 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.001856/0.7969, allocations: 1.248 MB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000371/0.7973, allocations: 124.5 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.727e-05/0.7974, allocations: 0 / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.7974, allocations: 0 / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.898e-05/0.7975, allocations: 3.938 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.7977, allocations: 27.92 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.7979, allocations: 39.89 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.378e-05/0.7979, allocations: 8 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.921e-05/0.798, allocations: 15.92 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.679e-05/0.798, allocations: 15.92 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.7981, allocations: 0 / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.037e-05/0.7981, allocations: 12 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.7982, allocations: 11.97 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.7982, allocations: 29.7 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.585e-05/0.7983, allocations: 23.95 kB / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.7983, allocations: 0 / 1.024 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.222e-06/0.7983, allocations: 3.938 kB / 1.024 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.7983, allocations: 0 / 1.024 GB, free: 14.46 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004561/0.7988, allocations: 353.3 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.7988, allocations: 8.562 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.7989, allocations: 11.89 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.799, allocations: 167 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.7991, allocations: 4 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.7991, allocations: 3.984 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.7993, allocations: 77.61 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.7993, allocations: 0 / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.7993, allocations: 0 / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.7993, allocations: 0 / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001884/0.7995, allocations: 59.95 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.8, allocations: 284.7 kB / 1.025 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.8003, allocations: 62.53 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.417e-05/0.8004, allocations: 32.91 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003062/0.8007, allocations: 405.5 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.8007, allocations: 34.5 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.8008, allocations: 0 / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0003919/0.8012, allocations: 109.6 kB / 1.025 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.8012, allocations: 59.39 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.7e-05/0.8013, allocations: 105.9 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.8013, allocations: 25.7 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.8014, allocations: 92.12 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.8014, allocations: 7.906 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/0.8014, allocations: 0 / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.8015, allocations: 314.8 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.868e-05/0.8016, allocations: 27.97 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.933e-05/0.8017, allocations: 27.98 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.549e-05/0.8018, allocations: 23.98 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8018, allocations: 0 / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002108/0.802, allocations: 93.48 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.802, allocations: 4 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.8021, allocations: 4 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.8021, allocations: 0 / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.68e-05/0.8022, allocations: 15.98 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.8022, allocations: 0 / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.967e-05/0.8022, allocations: 15.92 kB / 1.026 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.8023, allocations: 4 kB / 1.026 GB, free: 11.77 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: 2 (rea2Int.y,falFac.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.85e-05/0.8023, allocations: 113.8 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.8024, allocations: 0 / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.8026, allocations: 101.8 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.8026, allocations: 4.312 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.715e-05/0.8027, allocations: 8 kB / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.8027, allocations: 0 / 1.026 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.8028, allocations: 173.5 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.8028, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.729e-05/0.8029, allocations: 15.97 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.8029, allocations: 0 / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.803, allocations: 0 / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.803, allocations: 4 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.803, allocations: 7.938 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.8032, allocations: 179.4 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.788e-05/0.8033, allocations: 81.06 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.8033, allocations: 8 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.056e-05/0.8034, allocations: 7.984 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/0.8035, allocations: 11.98 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.8035, allocations: 0 / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.702e-05/0.8035, allocations: 91.27 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8035, allocations: 0 / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002236/0.8038, allocations: 8 kB / 1.027 GB, free: 10.88 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: 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 (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.0001604/0.8039, allocations: 115.3 kB / 1.027 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.8042, allocations: 55.95 kB / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8042, allocations: 0 / 1.027 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.902e-05/0.8043, allocations: 39.91 kB / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.8045, allocations: 0 / 1.027 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.8048, allocations: 120.6 kB / 1.027 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.8052, allocations: 0.6809 MB / 1.028 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.773e-05/0.8052, allocations: 8 kB / 1.028 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.654e-05/0.8052, allocations: 11.44 kB / 1.028 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.8052, allocations: 0 / 1.028 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of Templates: time 0.003024/0.8083, allocations: 0.645 MB / 1.029 GB, free: 9.148 MB / 0.7794 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches