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.001332/0.001332, 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.001283/0.001283, allocations: 191.1 kB / 22.23 MB, free: 5.105 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.421/1.421, allocations: 225.6 MB / 251 MB, free: 13.02 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.197/3.197, allocations: 496 MB / 0.7835 GB, free: 33.63 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.002021/0.002021, allocations: 64.39 kB / 1.138 GB, free: 33.77 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3451, allocations: 173.6 MB / 1.307 GB, free: 1.789 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.FallingFactorial): time 0.001691/0.3468, allocations: 0.6 MB / 1.308 GB, free: 1.191 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0002876/0.3471, allocations: 60.17 kB / 1.308 GB, free: 1.133 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.229e-05/0.3471, allocations: 4 kB / 1.308 GB, free: 1.129 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 2.697e-05/0.3471, allocations: 0 / 1.308 GB, free: 1.129 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 5.741e-06/0.3471, allocations: 0 / 1.308 GB, free: 1.129 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.3474, allocations: 15.98 kB / 1.308 GB, free: 1.113 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 9.577e-05/0.3475, allocations: 35.95 kB / 1.308 GB, free: 1.078 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.906e-05/0.3476, allocations: 3.938 kB / 1.308 GB, free: 1.074 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.939e-05/0.3476, allocations: 8 kB / 1.308 GB, free: 1.066 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.323e-05/0.3476, allocations: 23.84 kB / 1.308 GB, free: 1.043 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.3476, allocations: 0 / 1.308 GB, free: 1.043 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.744e-05/0.3477, allocations: 27.98 kB / 1.308 GB, free: 1.016 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 2.935e-05/0.3478, allocations: 8 kB / 1.308 GB, free: 1.008 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 3.344e-05/0.3478, allocations: 19.91 kB / 1.308 GB, free: 0.9883 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.3479, allocations: 35.83 kB / 1.308 GB, free: 0.9531 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3479, allocations: 0 / 1.308 GB, free: 0.9531 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.623e-06/0.3479, allocations: 4 kB / 1.308 GB, free: 0.9492 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 5.22e-06/0.3479, allocations: 0 / 1.308 GB, free: 0.9492 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.0003306/0.3482, allocations: 258.3 kB / 1.308 GB, free: 0.6641 MB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3483, allocations: 8.922 kB / 1.308 GB, free: 0.6562 MB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.3483, allocations: 8.875 kB / 1.308 GB, free: 0.6484 MB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.527e-05/0.3484, allocations: 106.5 kB / 1.308 GB, free: 0.5195 MB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.3484, allocations: 4.375 kB / 1.309 GB, free: 0.5156 MB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.3484, allocations: 12.38 kB / 1.309 GB, free: 0.5039 MB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.3486, allocations: 62.17 kB / 1.309 GB, free: 448 kB / 0.9981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3486, allocations: 192 / 1.309 GB, free: 448 kB / 0.9981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.3486, allocations: 3.938 kB / 1.309 GB, free: 444 kB / 0.9981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3486, allocations: 0 / 1.309 GB, free: 444 kB / 0.9981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.3487, allocations: 103.9 kB / 1.309 GB, free: 340 kB / 0.9981 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001728/0.3489, allocations: 144.6 kB / 1.309 GB, free: 152 kB / 0.9981 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.349, allocations: 70.53 kB / 1.309 GB, free: 72 kB / 0.9981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.3491, allocations: 32.84 kB / 1.309 GB, free: 36 kB / 0.9981 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001617/0.3492, allocations: 16.31 kB / 1.309 GB, free: 20 kB / 0.9981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.3493, allocations: 38.5 kB / 1.309 GB, free: 15.97 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=11): time 1.092e-06/0.3493, allocations: 3.938 kB / 1.309 GB, free: 15.97 MB / 1.014 GB
Notification: Performance of matching and sorting (n=11): time 0.0002529/0.3495, allocations: 117.9 kB / 1.309 GB, free: 15.85 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.3496, allocations: 51.41 kB / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.261e-05/0.3496, allocations: 97.8 kB / 1.309 GB, free: 15.68 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.3496, allocations: 29.7 kB / 1.309 GB, free: 15.64 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.3497, allocations: 88.14 kB / 1.309 GB, free: 15.55 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.3497, allocations: 23.84 kB / 1.309 GB, free: 15.53 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.3498, allocations: 29.7 kB / 1.309 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001287/0.3499, allocations: 314.8 kB / 1.31 GB, free: 15.18 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.912e-05/0.3499, allocations: 19.98 kB / 1.31 GB, free: 15.16 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.059e-05/0.35, allocations: 23.92 kB / 1.31 GB, free: 15.14 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 9.959e-05/0.3501, allocations: 64.77 kB / 1.31 GB, free: 15.07 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3501, allocations: 0 / 1.31 GB, free: 15.07 MB / 1.014 GB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001413/0.3502, allocations: 89.67 kB / 1.31 GB, free: 14.98 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.3502, allocations: 7.938 kB / 1.31 GB, free: 14.97 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3502, allocations: 7.875 kB / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3502, allocations: 0 / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.624e-05/0.3503, allocations: 19.98 kB / 1.31 GB, free: 14.94 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.3503, allocations: 3.938 kB / 1.31 GB, free: 14.94 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.793e-05/0.3504, allocations: 11.89 kB / 1.31 GB, free: 14.93 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-06/0.3504, allocations: 4 kB / 1.31 GB, free: 14.92 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.0001341/0.3505, allocations: 129.8 kB / 1.31 GB, free: 14.79 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.3505, allocations: 4 kB / 1.31 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.3507, allocations: 121.4 kB / 1.31 GB, free: 14.65 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3507, allocations: 0 / 1.31 GB, free: 14.65 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3507, allocations: 0 / 1.31 GB, free: 14.65 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3507, allocations: 3.984 kB / 1.31 GB, free: 14.65 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.3509, allocations: 144.7 kB / 1.31 GB, free: 14.46 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3509, allocations: 0 / 1.31 GB, free: 14.46 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.259e-05/0.3509, allocations: 23.92 kB / 1.31 GB, free: 14.44 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.351, allocations: 3.938 kB / 1.31 GB, free: 14.44 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.351, allocations: 12 kB / 1.31 GB, free: 14.43 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.351, allocations: 7.938 kB / 1.31 GB, free: 14.42 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.351, allocations: 0 / 1.31 GB, free: 14.42 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001575/0.3511, allocations: 117 kB / 1.31 GB, free: 14.29 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.767e-06/0.3511, allocations: 7.938 kB / 1.31 GB, free: 14.28 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.3511, allocations: 0 / 1.31 GB, free: 14.28 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.85e-05/0.3512, allocations: 7.984 kB / 1.31 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.3512, allocations: 15.92 kB / 1.311 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.976e-06/0.3512, allocations: 7.984 kB / 1.311 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 3.323e-05/0.3512, allocations: 75.28 kB / 1.311 GB, free: 14.17 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.3512, allocations: 0 / 1.311 GB, free: 14.17 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0001932/0.3514, allocations: 12 kB / 1.311 GB, free: 14.16 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.000149/0.3516, allocations: 104 kB / 1.311 GB, free: 14.05 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0001498/0.3517, allocations: 64.55 kB / 1.311 GB, free: 13.99 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3517, allocations: 7.938 kB / 1.311 GB, free: 13.98 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 5.425e-05/0.3518, allocations: 36.14 kB / 1.311 GB, free: 13.95 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.3519, allocations: 6.188 kB / 1.311 GB, free: 13.94 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/0.3522, allocations: 148.8 kB / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.3525, allocations: 0.6817 MB / 1.312 GB, free: 13.06 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 8.302e-05/0.3526, allocations: 39.92 kB / 1.312 GB, free: 13.02 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/0.3526, allocations: 19.44 kB / 1.312 GB, free: 13 MB / 1.014 GB
Notification: Performance of SimCode: time 3.21e-07/0.3526, allocations: 3.938 kB / 1.312 GB, free: 13 MB / 1.014 GB
Notification: Performance of Templates: time 0.003049/0.3556, allocations: 0.6347 MB / 1.312 GB, free: 12.37 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.777124635875225]