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.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.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.007523/0.007523, allocations: 98.17 kB / 15.73 MB, free: 6.012 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.001538/0.001538, allocations: 196.6 kB / 16.68 MB, free: 5.93 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.434/2.434, allocations: 437 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002416/0.002416, allocations: 64.12 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8744/0.8768, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003084/0.8799, allocations: 1.531 MB / 1.168 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004213/0.8804, allocations: 144.4 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.469e-05/0.8804, allocations: 0 / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.416e-05/0.8805, allocations: 3.938 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.287e-05/0.8806, allocations: 11.92 kB / 1.168 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.8809, allocations: 23.92 kB / 1.168 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.403e-05/0.881, allocations: 31.97 kB / 1.168 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.8811, allocations: 15.98 kB / 1.168 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.469e-05/0.8811, allocations: 15.92 kB / 1.168 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.309e-05/0.8812, allocations: 27.86 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.8812, allocations: 0 / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.296e-05/0.8813, allocations: 19.98 kB / 1.168 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.8813, allocations: 7.984 kB / 1.168 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.8814, allocations: 19.86 kB / 1.168 GB, free: 1.973 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.8815, allocations: 43.41 kB / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.8815, allocations: 0 / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8815, allocations: 0 / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.8815, allocations: 0 / 1.168 GB, free: 1.934 MB / 0.8887 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.0004976/0.8821, allocations: 360.3 kB / 1.169 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.8821, allocations: 8.922 kB / 1.169 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.8821, allocations: 4.938 kB / 1.169 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.8823, allocations: 164.4 kB / 1.169 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.8823, allocations: 8.375 kB / 1.169 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.8823, allocations: 384 / 1.169 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.8826, allocations: 70.16 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.8826, allocations: 192 / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.8826, allocations: 3.938 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.8826, allocations: 4 kB / 1.169 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.8828, allocations: 43.95 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004332/0.8832, allocations: 284.7 kB / 1.169 GB, free: 0.8594 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.8836, allocations: 58.55 kB / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.8837, allocations: 28.83 kB / 1.169 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002964/0.884, allocations: 397.5 kB / 1.17 GB, free: 288 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.884, allocations: 30.56 kB / 1.17 GB, free: 248 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.8841, allocations: 0 / 1.17 GB, free: 248 kB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0003901/0.8844, allocations: 101.6 kB / 1.17 GB, free: 140 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.8845, allocations: 59.34 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.787e-05/0.8846, allocations: 113.8 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.8846, allocations: 25.7 kB / 1.17 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.449e-05/0.8847, allocations: 92.08 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.376e-05/0.8847, allocations: 3.953 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.8848, allocations: 21.7 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.8849, allocations: 314.8 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.171e-05/0.885, allocations: 19.98 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.344e-05/0.8851, allocations: 27.97 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.8852, allocations: 45.09 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8852, allocations: 0 / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002385/0.8855, allocations: 77.59 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.8855, allocations: 11.94 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.8855, allocations: 0 / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.8855, allocations: 4 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.911e-05/0.8856, allocations: 15.98 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.8856, allocations: 0 / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.767e-05/0.8857, allocations: 7.984 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.8857, allocations: 0 / 1.171 GB, free: 15.26 MB / 0.9044 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 9.013e-05/0.8858, allocations: 113.8 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.8858, allocations: 0 / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.8861, allocations: 89.55 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.8861, allocations: 0 / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.8861, allocations: 4 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.8861, allocations: 0 / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.8863, allocations: 173.7 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.8863, allocations: 3.938 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.837e-05/0.8864, allocations: 15.92 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.8864, allocations: 0 / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.8864, allocations: 0 / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.8864, allocations: 7.984 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8865, allocations: 4 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.8867, allocations: 171.4 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.8868, allocations: 77.11 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.8868, allocations: 0 / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.583e-05/0.8869, allocations: 7.984 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.8869, allocations: 15.98 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.887, allocations: 0 / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.831e-05/0.887, allocations: 87.28 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.887, allocations: 0 / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002346/0.8873, allocations: 11.94 kB / 1.172 GB, free: 14.39 MB / 0.9044 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.0001481/0.8874, allocations: 108.8 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.8877, allocations: 47.95 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.8877, allocations: 0 / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.8878, allocations: 27.97 kB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.8881, allocations: 11.88 kB / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/0.8884, allocations: 117.4 kB / 1.172 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.8886, allocations: 0.6845 MB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.478e-05/0.8887, allocations: 8 kB / 1.172 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.863e-05/0.8887, allocations: 11.42 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of SimCode: time 4.91e-07/0.8887, allocations: 0 / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of Templates: time 0.003364/0.8921, allocations: 0.7578 MB / 1.173 GB, free: 12.56 MB / 0.9044 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