Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001623/0.001623, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002001/0.002001, allocations: 191.6 kB / 22.11 MB, free: 5.156 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.404/1.404, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.135/3.135, allocations: 495.8 MB / 0.783 GB, free: 33.67 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-maint.12.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=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_12_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_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 66.27 kB / 1.137 GB, free: 33.77 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3642, allocations: 173.6 MB / 1.307 GB, free: 1.832 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001912/0.3662, allocations: 0.5996 MB / 1.307 GB, free: 1.234 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0003181/0.3665, allocations: 52.2 kB / 1.307 GB, free: 1.184 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.55e-05/0.3665, allocations: 0 / 1.307 GB, free: 1.184 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 3.711e-05/0.3665, allocations: 0 / 1.307 GB, free: 1.184 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 7.594e-06/0.3665, allocations: 0 / 1.307 GB, free: 1.184 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003428/0.3669, allocations: 27.84 kB / 1.307 GB, free: 1.156 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 9.857e-05/0.367, allocations: 31.97 kB / 1.307 GB, free: 1.125 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.691e-05/0.367, allocations: 0 / 1.307 GB, free: 1.125 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.059e-05/0.3671, allocations: 15.98 kB / 1.307 GB, free: 1.109 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.379e-05/0.3671, allocations: 15.92 kB / 1.307 GB, free: 1.094 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.3671, allocations: 0 / 1.307 GB, free: 1.094 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.3672, allocations: 31.98 kB / 1.308 GB, free: 1.062 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 3.325e-05/0.3673, allocations: 11.97 kB / 1.308 GB, free: 1.051 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 3.677e-05/0.3673, allocations: 11.94 kB / 1.308 GB, free: 1.039 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.3674, allocations: 35.83 kB / 1.308 GB, free: 1.004 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.3674, allocations: 0 / 1.308 GB, free: 1.004 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.533e-06/0.3674, allocations: 0 / 1.308 GB, free: 1.004 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 7.444e-06/0.3674, allocations: 0 / 1.308 GB, free: 1.004 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.0004398/0.3679, allocations: 266.3 kB / 1.308 GB, free: 0.7109 MB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3679, allocations: 12.03 kB / 1.308 GB, free: 0.6992 MB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/0.368, allocations: 12.94 kB / 1.308 GB, free: 0.6875 MB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.3681, allocations: 106.5 kB / 1.308 GB, free: 0.5586 MB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.3681, allocations: 4.375 kB / 1.308 GB, free: 0.5547 MB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.3681, allocations: 4.312 kB / 1.308 GB, free: 0.5508 MB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.3683, allocations: 66.22 kB / 1.308 GB, free: 492 kB / 0.9981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3683, allocations: 192 / 1.308 GB, free: 492 kB / 0.9981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.3683, allocations: 7.938 kB / 1.308 GB, free: 484 kB / 0.9981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3683, allocations: 0 / 1.308 GB, free: 484 kB / 0.9981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.3685, allocations: 99.88 kB / 1.308 GB, free: 384 kB / 0.9981 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001983/0.3687, allocations: 152.6 kB / 1.308 GB, free: 188 kB / 0.9981 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.3688, allocations: 66.48 kB / 1.308 GB, free: 112 kB / 0.9981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.368e-05/0.3688, allocations: 28.84 kB / 1.308 GB, free: 80 kB / 0.9981 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/0.369, allocations: 23.97 kB / 1.308 GB, free: 56 kB / 0.9981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.369, allocations: 30.56 kB / 1.308 GB, free: 16 kB / 0.9981 GB
Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.3691, allocations: 0 / 1.308 GB, free: 16 kB / 0.9981 GB
Notification: Performance of matching and sorting (n=11): time 0.0003195/0.3694, allocations: 121.9 kB / 1.309 GB, free: 15.89 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.3694, allocations: 55.41 kB / 1.309 GB, free: 15.82 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.066e-05/0.3695, allocations: 101.8 kB / 1.309 GB, free: 15.71 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.3695, allocations: 25.7 kB / 1.309 GB, free: 15.68 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.3695, allocations: 80.14 kB / 1.309 GB, free: 15.6 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/0.3696, allocations: 19.86 kB / 1.309 GB, free: 15.58 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-05/0.3696, allocations: 33.7 kB / 1.309 GB, free: 15.54 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.000141/0.3698, allocations: 318.8 kB / 1.309 GB, free: 15.22 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.159e-05/0.3698, allocations: 23.98 kB / 1.309 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.41e-05/0.3699, allocations: 32.3 kB / 1.309 GB, free: 15.16 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.37, allocations: 53 kB / 1.309 GB, free: 15.11 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.37, allocations: 4 kB / 1.309 GB, free: 15.11 MB / 1.014 GB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001559/0.3701, allocations: 89.66 kB / 1.309 GB, free: 15.01 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.3701, allocations: 8 kB / 1.309 GB, free: 15 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.3701, allocations: 3.938 kB / 1.309 GB, free: 15 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.3702, allocations: 0 / 1.309 GB, free: 15 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.3703, allocations: 23.92 kB / 1.309 GB, free: 14.98 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3703, allocations: 0 / 1.309 GB, free: 14.98 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.504e-05/0.3703, allocations: 15.83 kB / 1.309 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.3703, allocations: 4 kB / 1.309 GB, free: 14.96 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.0001642/0.3705, allocations: 125.8 kB / 1.31 GB, free: 14.82 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.3705, allocations: 0 / 1.31 GB, free: 14.82 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002551/0.3707, allocations: 137.3 kB / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3707, allocations: 0 / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.3707, allocations: 0 / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3708, allocations: 0 / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.3709, allocations: 156.6 kB / 1.31 GB, free: 14.49 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3709, allocations: 0 / 1.31 GB, free: 14.49 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.546e-05/0.371, allocations: 16 kB / 1.31 GB, free: 14.47 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.371, allocations: 7.922 kB / 1.31 GB, free: 14.46 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.371, allocations: 0 / 1.31 GB, free: 14.46 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.371, allocations: 0 / 1.31 GB, free: 14.46 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.371, allocations: 0 / 1.31 GB, free: 14.46 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.3712, allocations: 132.9 kB / 1.31 GB, free: 14.32 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.183e-06/0.3712, allocations: 7.938 kB / 1.31 GB, free: 14.31 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.3712, allocations: 8 kB / 1.31 GB, free: 14.3 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.466e-05/0.3712, allocations: 0 / 1.31 GB, free: 14.3 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.3713, allocations: 7.984 kB / 1.31 GB, free: 14.29 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.3713, allocations: 4 kB / 1.31 GB, free: 14.29 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 4.33e-05/0.3713, allocations: 79.28 kB / 1.31 GB, free: 14.21 MB / 1.014 GB
Notification: Performance of sort global known variables: time 5e-08/0.3713, allocations: 0 / 1.31 GB, free: 14.21 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0001953/0.3715, allocations: 8 kB / 1.31 GB, free: 14.2 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.0001953/0.3717, allocations: 116 kB / 1.31 GB, free: 14.08 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.000163/0.3719, allocations: 59.84 kB / 1.31 GB, free: 14.02 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3719, allocations: 0 / 1.31 GB, free: 14.02 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 6.039e-05/0.3719, allocations: 35.91 kB / 1.31 GB, free: 13.99 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.3721, allocations: 9.547 kB / 1.31 GB, free: 13.98 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003183/0.3724, allocations: 148.8 kB / 1.31 GB, free: 13.81 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.3727, allocations: 0.6807 MB / 1.311 GB, free: 13.1 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 7.973e-05/0.3728, allocations: 47.86 kB / 1.311 GB, free: 13.05 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.3728, allocations: 11.44 kB / 1.311 GB, free: 13.04 MB / 1.014 GB
Notification: Performance of SimCode: time 4e-07/0.3728, allocations: 0 / 1.311 GB, free: 13.04 MB / 1.014 GB
Notification: Performance of Templates: time 0.003512/0.3763, allocations: 0.633 MB / 1.312 GB, free: 12.41 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.680081150494516]