Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 215.9 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.815/2.815, allocations: 476 MB / 0.7707 GB, free: 4.715 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.1.|falFac.2.|falFac.3.|falFac.4.|falFac.5.|falFac.6.|falFac.7.|falFac.8.|falFac.9.|falFac.10.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.1.|falFac.2.|falFac.3.|falFac.4.|falFac.5.|falFac.6.|falFac.7.|falFac.8.|falFac.9.|falFac.10.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002196/0.002196, allocations: 69.8 kB / 1.118 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.4048, allocations: 169.9 MB / 1.284 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002017/0.4068, allocations: 0.5979 MB / 1.284 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003208/0.4071, allocations: 51.81 kB / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.952e-05/0.4072, allocations: 0 / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.818e-05/0.4072, allocations: 0 / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.75e-06/0.4072, allocations: 0 / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.4075, allocations: 19.91 kB / 1.284 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.948e-05/0.4076, allocations: 31.97 kB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.216e-05/0.4077, allocations: 8 kB / 1.285 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.437e-05/0.4077, allocations: 12 kB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.204e-05/0.4077, allocations: 11.97 kB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.4078, allocations: 0 / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.991e-05/0.4079, allocations: 19.98 kB / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.958e-05/0.4079, allocations: 19.91 kB / 1.285 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.4079, allocations: 7.938 kB / 1.285 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.408, allocations: 35.83 kB / 1.285 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.408, allocations: 0 / 1.285 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.408, allocations: 4 kB / 1.285 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.4081, allocations: 0 / 1.285 GB, free: 11.11 MB / 0.9825 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.0004007/0.4085, allocations: 266.3 kB / 1.285 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.4085, allocations: 8.031 kB / 1.285 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.4085, allocations: 8.891 kB / 1.285 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.4086, allocations: 102.5 kB / 1.285 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.4087, allocations: 8.312 kB / 1.285 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.4087, allocations: 8.375 kB / 1.285 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.4088, allocations: 62.22 kB / 1.285 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4088, allocations: 192 / 1.285 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.4089, allocations: 3.938 kB / 1.285 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.4089, allocations: 4 kB / 1.285 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.409, allocations: 95.88 kB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.4092, allocations: 121.2 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.4093, allocations: 78.45 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.204e-05/0.4094, allocations: 28.94 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001956/0.4096, allocations: 23.98 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.4096, allocations: 34.55 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.193e-06/0.4096, allocations: 0 / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0002827/0.4099, allocations: 117.5 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.41, allocations: 51.62 kB / 1.286 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.703e-05/0.41, allocations: 97.86 kB / 1.286 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.41, allocations: 29.64 kB / 1.286 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.11e-05/0.4101, allocations: 88.08 kB / 1.286 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.4101, allocations: 27.83 kB / 1.286 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.853e-05/0.4102, allocations: 29.72 kB / 1.286 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.4103, allocations: 318.8 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.068e-05/0.4104, allocations: 19.98 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.927e-05/0.4104, allocations: 19.98 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.4105, allocations: 56.83 kB / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4105, allocations: 0 / 1.286 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001608/0.4107, allocations: 97.56 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.4107, allocations: 10.19 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.4107, allocations: 4 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.4107, allocations: 3.938 kB / 1.286 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.4109, allocations: 23.92 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4109, allocations: 0 / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.008e-05/0.4109, allocations: 3.938 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.4109, allocations: 4 kB / 1.286 GB, free: 9.121 MB / 0.9825 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.0001679/0.4111, allocations: 122.6 kB / 1.287 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.4111, allocations: 7.953 kB / 1.287 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002495/0.4113, allocations: 125.4 kB / 1.287 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4113, allocations: 7.938 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4114, allocations: 0 / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4114, allocations: 0 / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.4115, allocations: 117.2 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4115, allocations: 0 / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.748e-05/0.4116, allocations: 19.98 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4116, allocations: 0 / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.4116, allocations: 8 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.4116, allocations: 7.938 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4116, allocations: 0 / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.4118, allocations: 125.9 kB / 1.287 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-06/0.4118, allocations: 4 kB / 1.287 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.4118, allocations: 7.875 kB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.637e-05/0.4118, allocations: 8 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.4118, allocations: 7.984 kB / 1.287 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-06/0.4118, allocations: 3.938 kB / 1.287 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.871e-05/0.4119, allocations: 75.28 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5e-08/0.4119, allocations: 0 / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001951/0.4121, allocations: 16 kB / 1.287 GB, free: 8.406 MB / 0.9825 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.0001929/0.4123, allocations: 116.4 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001621/0.4124, allocations: 59.95 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4124, allocations: 0 / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.076e-05/0.4125, allocations: 31.97 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.4126, allocations: 11.94 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.413, allocations: 177.1 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.971e-05/0.413, allocations: 63.34 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.518e-05/0.4131, allocations: 19.44 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.4131, allocations: 3.938 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of Templates: time 0.002772/0.4159, allocations: 0.9576 MB / 1.288 GB, free: 6.918 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.64972482714802]