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.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.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.001325/0.001325, allocations: 111.5 kB / 16.41 MB, free: 6.5 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.001288/0.001288, allocations: 183 kB / 17.34 MB, free: 5.762 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.15 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.408/2.408, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 64.11 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7704/0.7716, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001455/0.7731, allocations: 0.5856 MB / 1.168 GB, free: 3.293 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00028/0.7734, allocations: 55.78 kB / 1.168 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.715e-05/0.7734, allocations: 0 / 1.168 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/0.7734, allocations: 0 / 1.168 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5e-06/0.7735, allocations: 0 / 1.168 GB, free: 3.238 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.7737, allocations: 27.91 kB / 1.168 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.634e-05/0.7738, allocations: 27.97 kB / 1.168 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.428e-05/0.7738, allocations: 0 / 1.168 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.132e-05/0.7739, allocations: 23.92 kB / 1.168 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.66e-05/0.7739, allocations: 11.98 kB / 1.168 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.7739, allocations: 0 / 1.168 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.742e-05/0.774, allocations: 15.98 kB / 1.168 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.027e-05/0.774, allocations: 11.98 kB / 1.168 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.7741, allocations: 11.94 kB / 1.168 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 9.518e-05/0.7742, allocations: 35.88 kB / 1.168 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7742, allocations: 0 / 1.168 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.723e-06/0.7742, allocations: 0 / 1.168 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.7742, allocations: 0 / 1.168 GB, free: 3.074 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003112/0.7745, allocations: 343.9 kB / 1.168 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.7746, allocations: 16.88 kB / 1.168 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.7746, allocations: 0.9375 kB / 1.168 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.675e-05/0.7747, allocations: 176.3 kB / 1.169 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.7747, allocations: 384 / 1.169 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.7747, allocations: 8.359 kB / 1.169 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.7749, allocations: 62.17 kB / 1.169 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.7749, allocations: 192 / 1.169 GB, free: 2.391 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.7749, allocations: 7.938 kB / 1.169 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.7749, allocations: 4 kB / 1.169 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.775, allocations: 103.9 kB / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.7752, allocations: 169.6 kB / 1.169 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.7753, allocations: 78.41 kB / 1.169 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.677e-05/0.7754, allocations: 33.17 kB / 1.169 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000319/0.7757, allocations: 409.5 kB / 1.169 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.7758, allocations: 34.56 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.7758, allocations: 0 / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.0002242/0.776, allocations: 113.6 kB / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.776, allocations: 55.39 kB / 1.17 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.093e-05/0.7761, allocations: 97.81 kB / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.165e-05/0.7761, allocations: 25.7 kB / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.35e-05/0.7761, allocations: 80.14 kB / 1.17 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.7762, allocations: 23.8 kB / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.7762, allocations: 33.7 kB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.7763, allocations: 318.8 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.467e-05/0.7764, allocations: 31.86 kB / 1.17 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.133e-05/0.7764, allocations: 23.97 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.363e-05/0.7765, allocations: 52.84 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7765, allocations: 0 / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001196/0.7766, allocations: 89.61 kB / 1.17 GB, free: 428 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.7767, allocations: 11.98 kB / 1.17 GB, free: 416 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.7767, allocations: 3.938 kB / 1.17 GB, free: 412 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.7767, allocations: 0 / 1.17 GB, free: 412 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.7768, allocations: 23.94 kB / 1.17 GB, free: 388 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.7768, allocations: 0 / 1.17 GB, free: 388 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.817e-05/0.7768, allocations: 7.953 kB / 1.17 GB, free: 380 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.7768, allocations: 7.984 kB / 1.17 GB, free: 372 kB / 0.8887 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 0.0001017/0.7769, allocations: 117.8 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.777, allocations: 4 kB / 1.171 GB, free: 240 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.7772, allocations: 130.2 kB / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.7772, allocations: 0 / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.7772, allocations: 0 / 1.171 GB, free: 96 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.7772, allocations: 7.938 kB / 1.171 GB, free: 88 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.7773, allocations: 185.5 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.7773, allocations: 0 / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.985e-05/0.7774, allocations: 19.94 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.7774, allocations: 7.922 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.7774, allocations: 3.984 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.7774, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.7774, allocations: 0 / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.7776, allocations: 125.1 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.7777, allocations: 88.98 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.7777, allocations: 8 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.429e-05/0.7777, allocations: 0 / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.714e-05/0.7778, allocations: 4 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.7778, allocations: 7.984 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.78e-05/0.7778, allocations: 81.75 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7778, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001879/0.778, allocations: 8 kB / 1.171 GB, free: 15.47 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: 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.0001665/0.7782, allocations: 120.8 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001332/0.7783, allocations: 67.83 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.7783, allocations: 0 / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.171e-05/0.7784, allocations: 31.98 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.7785, allocations: 8.734 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/0.7787, allocations: 178.4 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.779, allocations: 0.6846 MB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.352e-05/0.779, allocations: 15.44 kB / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.779, allocations: 0 / 1.172 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of Templates: time 0.002108/0.7811, allocations: 0.9603 MB / 1.173 GB, free: 13.36 MB / 0.9044 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/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