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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 192.5 kB / 22.23 MB, free: 5.09 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.794/2.794, allocations: 495.7 MB / 0.7831 GB, free: 33.41 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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=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: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 66.95 kB / 1.137 GB, free: 33.86 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3054, allocations: 173.6 MB / 1.307 GB, free: 1.887 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.00171/0.3071, allocations: 0.6022 MB / 1.308 GB, free: 1.285 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0002603/0.3074, allocations: 48.2 kB / 1.308 GB, free: 1.238 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 1.671e-05/0.3074, allocations: 0 / 1.308 GB, free: 1.238 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 3.478e-05/0.3074, allocations: 8 kB / 1.308 GB, free: 1.23 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 5.962e-06/0.3074, allocations: 0 / 1.308 GB, free: 1.23 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.3077, allocations: 19.91 kB / 1.308 GB, free: 1.211 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 8.723e-05/0.3078, allocations: 31.97 kB / 1.308 GB, free: 1.18 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.727e-05/0.3078, allocations: 4 kB / 1.308 GB, free: 1.176 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.154e-05/0.3078, allocations: 11.92 kB / 1.308 GB, free: 1.164 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.063e-05/0.3079, allocations: 15.92 kB / 1.308 GB, free: 1.148 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.3079, allocations: 4 kB / 1.308 GB, free: 1.145 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.308, allocations: 27.97 kB / 1.308 GB, free: 1.117 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.308, allocations: 15.98 kB / 1.308 GB, free: 1.102 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.308, allocations: 11.94 kB / 1.308 GB, free: 1.09 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.3082, allocations: 39.83 kB / 1.308 GB, free: 1.051 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.3082, allocations: 0 / 1.308 GB, free: 1.051 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.833e-06/0.3082, allocations: 0 / 1.308 GB, free: 1.051 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 4.949e-06/0.3082, allocations: 0 / 1.308 GB, free: 1.051 MB / 0.9981 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.0003422/0.3085, allocations: 258.3 kB / 1.308 GB, free: 0.7656 MB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3085, allocations: 12.03 kB / 1.308 GB, free: 0.7539 MB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.555e-05/0.3086, allocations: 0.9375 kB / 1.308 GB, free: 0.7539 MB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.053e-05/0.3087, allocations: 110.5 kB / 1.308 GB, free: 0.6211 MB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.3087, allocations: 4.375 kB / 1.308 GB, free: 0.6172 MB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.3087, allocations: 4.375 kB / 1.308 GB, free: 0.6133 MB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.3088, allocations: 70.16 kB / 1.308 GB, free: 0.5391 MB / 0.9981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.3089, allocations: 192 / 1.308 GB, free: 0.5391 MB / 0.9981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.3089, allocations: 11.94 kB / 1.308 GB, free: 0.5273 MB / 0.9981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.3089, allocations: 3.984 kB / 1.308 GB, free: 0.5234 MB / 0.9981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.309, allocations: 99.88 kB / 1.308 GB, free: 436 kB / 0.9981 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001946/0.3092, allocations: 152.6 kB / 1.309 GB, free: 240 kB / 0.9981 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.3093, allocations: 66.48 kB / 1.309 GB, free: 164 kB / 0.9981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 7.846e-05/0.3094, allocations: 32.84 kB / 1.309 GB, free: 128 kB / 0.9981 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002017/0.3096, allocations: 19.97 kB / 1.309 GB, free: 108 kB / 0.9981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.3097, allocations: 38.83 kB / 1.309 GB, free: 60 kB / 0.9981 GB
Notification: Performance of pre-optimization done (n=11): time 1.061e-06/0.3097, allocations: 0 / 1.309 GB, free: 60 kB / 0.9981 GB
Notification: Performance of matching and sorting (n=11): time 0.0002466/0.3099, allocations: 117.5 kB / 1.309 GB, free: 15.94 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.31, allocations: 51.41 kB / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.384e-05/0.31, allocations: 101.8 kB / 1.309 GB, free: 15.77 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.31, allocations: 25.7 kB / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 3.262e-05/0.3101, allocations: 84.14 kB / 1.309 GB, free: 15.65 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.3101, allocations: 19.86 kB / 1.309 GB, free: 15.63 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.654e-05/0.3101, allocations: 33.7 kB / 1.309 GB, free: 15.59 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001235/0.3103, allocations: 314.8 kB / 1.309 GB, free: 15.27 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.829e-05/0.3103, allocations: 19.98 kB / 1.309 GB, free: 15.25 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.567e-05/0.3103, allocations: 27.86 kB / 1.309 GB, free: 15.23 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 9.369e-05/0.3104, allocations: 60.78 kB / 1.309 GB, free: 15.16 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3104, allocations: 0 / 1.309 GB, free: 15.16 MB / 1.014 GB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001339/0.3106, allocations: 89.66 kB / 1.31 GB, free: 15.07 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.3106, allocations: 8 kB / 1.31 GB, free: 15.06 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3106, allocations: 3.938 kB / 1.31 GB, free: 15.06 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.3106, allocations: 7.938 kB / 1.31 GB, free: 15.05 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.121e-05/0.3107, allocations: 19.98 kB / 1.31 GB, free: 15.03 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.3107, allocations: 4 kB / 1.31 GB, free: 15.03 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.006e-05/0.3107, allocations: 11.83 kB / 1.31 GB, free: 15.02 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.3107, allocations: 4 kB / 1.31 GB, free: 15.01 MB / 1.014 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.0001228/0.3108, allocations: 121.8 kB / 1.31 GB, free: 14.88 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.001e-05/0.3108, allocations: 8 kB / 1.31 GB, free: 14.88 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.3111, allocations: 126.2 kB / 1.31 GB, free: 14.74 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3111, allocations: 4 kB / 1.31 GB, free: 14.74 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.3111, allocations: 0 / 1.31 GB, free: 14.74 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.3111, allocations: 0 / 1.31 GB, free: 14.74 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.3112, allocations: 144.7 kB / 1.31 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3112, allocations: 0 / 1.31 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.962e-05/0.3113, allocations: 27.92 kB / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3113, allocations: 3.938 kB / 1.31 GB, free: 14.52 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.3113, allocations: 4 kB / 1.31 GB, free: 14.52 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3113, allocations: 4 kB / 1.31 GB, free: 14.52 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3113, allocations: 3.938 kB / 1.31 GB, free: 14.51 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001609/0.3114, allocations: 121.1 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.375e-06/0.3114, allocations: 7.938 kB / 1.31 GB, free: 14.37 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.3115, allocations: 4 kB / 1.31 GB, free: 14.36 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.336e-05/0.3115, allocations: 0 / 1.31 GB, free: 14.36 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.3115, allocations: 7.984 kB / 1.31 GB, free: 14.36 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.3115, allocations: 11.94 kB / 1.31 GB, free: 14.34 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 3.186e-05/0.3115, allocations: 75.28 kB / 1.31 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.3115, allocations: 0 / 1.31 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0001814/0.3117, allocations: 16 kB / 1.31 GB, free: 14.25 MB / 1.014 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.0001741/0.3119, allocations: 108 kB / 1.31 GB, free: 14.14 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001305/0.312, allocations: 59.91 kB / 1.31 GB, free: 14.08 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.312, allocations: 0 / 1.31 GB, free: 14.08 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 5.112e-05/0.3121, allocations: 39.91 kB / 1.31 GB, free: 14.04 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001204/0.3122, allocations: 8 kB / 1.31 GB, free: 14.04 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002514/0.3124, allocations: 140.8 kB / 1.311 GB, free: 13.87 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.3127, allocations: 0.6807 MB / 1.311 GB, free: 13.16 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 7.103e-05/0.3128, allocations: 43.86 kB / 1.311 GB, free: 13.12 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.3128, allocations: 19.44 kB / 1.311 GB, free: 13.1 MB / 1.014 GB
Notification: Performance of SimCode: time 2.91e-07/0.3128, allocations: 4 kB / 1.311 GB, free: 13.1 MB / 1.014 GB
Notification: Performance of Templates: time 0.002828/0.3157, allocations: 0.636 MB / 1.312 GB, free: 12.46 MB / 1.014 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/jenkins/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: 7.7242877604439855]