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.001367/0.001367, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001558/0.001558, allocations: 220.5 kB / 23.01 MB, free: 4.609 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 8.062 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.879/2.879, allocations: 476.8 MB / 0.7714 GB, free: 4.336 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.002055/0.002055, allocations: 65.95 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3937, allocations: 170 MB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001925/0.3956, allocations: 0.5936 MB / 1.285 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003167/0.396, allocations: 59.78 kB / 1.285 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.595e-05/0.396, allocations: 0 / 1.285 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.948e-05/0.396, allocations: 0 / 1.285 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.063e-06/0.396, allocations: 0 / 1.285 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.3963, allocations: 15.98 kB / 1.285 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.75e-05/0.3964, allocations: 35.95 kB / 1.285 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.701e-05/0.3965, allocations: 0 / 1.285 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.498e-05/0.3965, allocations: 15.92 kB / 1.285 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.373e-05/0.3965, allocations: 11.98 kB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.3966, allocations: 0 / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.3967, allocations: 27.97 kB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.355e-05/0.3967, allocations: 15.94 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.56e-05/0.3967, allocations: 15.92 kB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.3968, allocations: 35.83 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3968, allocations: 0 / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3968, allocations: 3.938 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.3969, allocations: 0 / 1.285 GB, free: 10.4 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.0003914/0.3973, allocations: 262.3 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3973, allocations: 8.031 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.3973, allocations: 8.891 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.398e-05/0.3974, allocations: 102.5 kB / 1.286 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.3974, allocations: 12.38 kB / 1.286 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.3974, allocations: 384 / 1.286 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.3976, allocations: 78.03 kB / 1.286 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3976, allocations: 192 / 1.286 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.3977, allocations: 3.938 kB / 1.286 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3977, allocations: 0 / 1.286 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001598/0.3978, allocations: 103.9 kB / 1.286 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/0.398, allocations: 140.7 kB / 1.286 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.3981, allocations: 70.55 kB / 1.286 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.186e-05/0.3982, allocations: 28.94 kB / 1.286 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00019/0.3984, allocations: 19.98 kB / 1.286 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/0.3984, allocations: 42.48 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.083e-06/0.3984, allocations: 4 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0002712/0.3987, allocations: 117.8 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.3988, allocations: 51.41 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.441e-05/0.3988, allocations: 93.86 kB / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.3988, allocations: 29.7 kB / 1.287 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/0.3989, allocations: 80.14 kB / 1.287 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.3989, allocations: 27.83 kB / 1.287 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.385e-05/0.399, allocations: 29.72 kB / 1.287 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.3991, allocations: 318.8 kB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.032e-05/0.3992, allocations: 19.98 kB / 1.287 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.924e-05/0.3992, allocations: 19.98 kB / 1.287 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.3993, allocations: 68.7 kB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3993, allocations: 4 kB / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001518/0.3995, allocations: 86.28 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3995, allocations: 10.66 kB / 1.287 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.3995, allocations: 3.938 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3995, allocations: 0 / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.3996, allocations: 23.98 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3996, allocations: 0 / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.185e-05/0.3996, allocations: 11.88 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.3996, allocations: 4 kB / 1.287 GB, free: 8.371 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.0001473/0.3998, allocations: 132.9 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.3998, allocations: 7.953 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.4, allocations: 129.5 kB / 1.288 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.4, allocations: 0 / 1.288 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4, allocations: 0 / 1.288 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4, allocations: 0 / 1.288 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.4002, allocations: 152.6 kB / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4002, allocations: 0 / 1.288 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.571e-05/0.4003, allocations: 27.92 kB / 1.288 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.4003, allocations: 7.938 kB / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.004e-06/0.4003, allocations: 0 / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4003, allocations: 0 / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4003, allocations: 4 kB / 1.288 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/0.4005, allocations: 117 kB / 1.288 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.558e-06/0.4005, allocations: 7.891 kB / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.4005, allocations: 4 kB / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.593e-05/0.4005, allocations: 4 kB / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.4005, allocations: 11.98 kB / 1.288 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.4005, allocations: 7.938 kB / 1.288 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.72e-05/0.4006, allocations: 75.28 kB / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4006, allocations: 0 / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001937/0.4008, allocations: 12 kB / 1.288 GB, free: 7.609 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.0001893/0.401, allocations: 111.2 kB / 1.288 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001502/0.4011, allocations: 55.91 kB / 1.288 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4011, allocations: 4 kB / 1.288 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.175e-05/0.4012, allocations: 39.91 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.4013, allocations: 4 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003315/0.4016, allocations: 166.5 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.402, allocations: 0.6807 MB / 1.289 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.402, allocations: 23.42 kB / 1.289 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.402, allocations: 0 / 1.289 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of Templates: time 0.002702/0.4047, allocations: 0.962 MB / 1.29 GB, free: 5.504 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.766760039987275]