Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001564/0.001564, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001641/0.001641, allocations: 219.2 kB / 22.99 MB, free: 4.914 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.234/3.234, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002063/0.002063, allocations: 75.77 kB / 1.187 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4138, allocations: 181.9 MB / 1.365 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.002176/0.416, allocations: 0.5966 MB / 1.365 GB, free: 13 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003596/0.4164, allocations: 52.22 kB / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.247e-05/0.4164, allocations: 0 / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.266e-05/0.4164, allocations: 0 / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.682e-06/0.4164, allocations: 0 / 1.365 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003473/0.4168, allocations: 19.92 kB / 1.365 GB, free: 12.93 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.4169, allocations: 39.95 kB / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.979e-05/0.4169, allocations: 0 / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.648e-05/0.4169, allocations: 15.94 kB / 1.365 GB, free: 12.87 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.875e-05/0.417, allocations: 11.97 kB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.417, allocations: 0 / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.4171, allocations: 27.97 kB / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.717e-05/0.4171, allocations: 8 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.4172, allocations: 11.92 kB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.4173, allocations: 35.83 kB / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4173, allocations: 0 / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4173, allocations: 0 / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.4173, allocations: 8 kB / 1.365 GB, free: 12.77 MB / 1.061 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.0003811/0.4177, allocations: 262.3 kB / 1.366 GB, free: 12.48 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.4177, allocations: 8.031 kB / 1.366 GB, free: 12.47 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.4178, allocations: 8.922 kB / 1.366 GB, free: 12.46 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.249e-05/0.4179, allocations: 102.5 kB / 1.366 GB, free: 12.34 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.4179, allocations: 4.375 kB / 1.366 GB, free: 12.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.4179, allocations: 8.375 kB / 1.366 GB, free: 12.33 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.4181, allocations: 70.09 kB / 1.366 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.4181, allocations: 192 / 1.366 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.4181, allocations: 3.938 kB / 1.366 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.4181, allocations: 4 kB / 1.366 GB, free: 12.25 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.4183, allocations: 95.88 kB / 1.366 GB, free: 12.15 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.4185, allocations: 125.2 kB / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.4186, allocations: 66.48 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.266e-05/0.4186, allocations: 36.78 kB / 1.366 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002087/0.4188, allocations: 15.97 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.4189, allocations: 38.56 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.4189, allocations: 0 / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0002721/0.4192, allocations: 113.9 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.4192, allocations: 51.41 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.406e-05/0.4193, allocations: 101.8 kB / 1.367 GB, free: 11.54 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.4193, allocations: 29.7 kB / 1.367 GB, free: 11.5 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.273e-05/0.4193, allocations: 80.14 kB / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.4193, allocations: 23.84 kB / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/0.4194, allocations: 33.7 kB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4195, allocations: 310.8 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.225e-05/0.4196, allocations: 23.92 kB / 1.367 GB, free: 11.02 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.657e-05/0.4196, allocations: 19.98 kB / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.4198, allocations: 69.36 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4198, allocations: 0 / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001524/0.4199, allocations: 89.67 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.4199, allocations: 4 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.4199, allocations: 8 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.4199, allocations: 3.938 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.42, allocations: 23.92 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.4201, allocations: 0 / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.486e-05/0.4201, allocations: 7.891 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.4201, allocations: 7.984 kB / 1.367 GB, free: 10.78 MB / 1.061 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.0001575/0.4203, allocations: 126.9 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.4203, allocations: 0 / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/0.4205, allocations: 133.4 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.4205, allocations: 0 / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.4205, allocations: 0 / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.4205, allocations: 0 / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.4206, allocations: 117.3 kB / 1.368 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4206, allocations: 0 / 1.368 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.059e-05/0.4207, allocations: 19.98 kB / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4207, allocations: 0 / 1.368 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.4207, allocations: 8 kB / 1.368 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.4207, allocations: 7.922 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4207, allocations: 0 / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.4209, allocations: 128.9 kB / 1.368 GB, free: 10.18 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.567e-06/0.4209, allocations: 7.938 kB / 1.368 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.4209, allocations: 3.938 kB / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.806e-05/0.4209, allocations: 8 kB / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.421, allocations: 7.922 kB / 1.368 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.421, allocations: 8 kB / 1.368 GB, free: 10.14 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.74e-05/0.421, allocations: 75.28 kB / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.421, allocations: 0 / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002031/0.4212, allocations: 19.98 kB / 1.368 GB, free: 10.05 MB / 1.061 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.0001985/0.4214, allocations: 103.2 kB / 1.368 GB, free: 9.938 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001626/0.4216, allocations: 71.83 kB / 1.368 GB, free: 9.867 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4216, allocations: 0 / 1.368 GB, free: 9.867 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.829e-05/0.4216, allocations: 27.98 kB / 1.368 GB, free: 9.84 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.4218, allocations: 10.19 kB / 1.368 GB, free: 9.832 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/0.4221, allocations: 175.2 kB / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.376e-05/0.4222, allocations: 67.34 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.342e-05/0.4222, allocations: 19.44 kB / 1.368 GB, free: 9.527 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/0.4222, allocations: 0 / 1.368 GB, free: 9.527 MB / 1.061 GB Notification: Performance of Templates: time 0.002877/0.4251, allocations: 0.9491 MB / 1.369 GB, free: 8.578 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_FallingFactorial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.073695346247405]