Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.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.001703/0.001703, allocations: 110 kB / 18.93 MB, free: 2.945 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.002914/0.002914, allocations: 191.8 kB / 22.23 MB, free: 5.16 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.462/1.462, 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.261/3.261, allocations: 496 MB / 0.7835 GB, free: 33.71 MB / 0.6231 GB
"
[Timeout remaining time 176]
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.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial")
translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 72.69 kB / 1.138 GB, free: 33.85 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3723, allocations: 173.6 MB / 1.307 GB, free: 1.816 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002972/0.3753, allocations: 1.555 MB / 1.309 GB, free: 260 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0004688/0.3758, allocations: 143.5 kB / 1.309 GB, free: 116 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.112e-05/0.3758, allocations: 0 / 1.309 GB, free: 116 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 4.085e-05/0.3758, allocations: 3.938 kB / 1.309 GB, free: 112 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 4.367e-05/0.3759, allocations: 0 / 1.309 GB, free: 112 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.3762, allocations: 43.89 kB / 1.309 GB, free: 68 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 8.828e-05/0.3763, allocations: 31.92 kB / 1.309 GB, free: 36 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.3764, allocations: 11.98 kB / 1.309 GB, free: 24 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.98e-05/0.3764, allocations: 19.92 kB / 1.309 GB, free: 4 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.432e-05/0.3765, allocations: 15.92 kB / 1.309 GB, free: 15.99 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.3765, allocations: 4 kB / 1.309 GB, free: 15.98 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.508e-05/0.3766, allocations: 27.97 kB / 1.309 GB, free: 15.96 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.3766, allocations: 4 kB / 1.309 GB, free: 15.95 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 3.777e-05/0.3767, allocations: 19.86 kB / 1.309 GB, free: 15.93 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.3768, allocations: 51.75 kB / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3768, allocations: 4 kB / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.493e-06/0.3768, allocations: 0 / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.034e-05/0.3768, allocations: 0 / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0005101/0.3773, allocations: 270.3 kB / 1.309 GB, free: 15.58 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3774, allocations: 8.922 kB / 1.309 GB, free: 15.57 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.3774, allocations: 4.938 kB / 1.309 GB, free: 15.57 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.3775, allocations: 114.4 kB / 1.31 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/0.3776, allocations: 8.375 kB / 1.31 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.3776, allocations: 384 / 1.31 GB, free: 15.43 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.3778, allocations: 70.22 kB / 1.31 GB, free: 15.35 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.3778, allocations: 4.172 kB / 1.31 GB, free: 15.35 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.3778, allocations: 3.938 kB / 1.31 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.3778, allocations: 3.984 kB / 1.31 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/0.378, allocations: 47.89 kB / 1.31 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/0.3785, allocations: 247.9 kB / 1.31 GB, free: 15.01 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003649/0.3788, allocations: 50.55 kB / 1.31 GB, free: 14.95 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.3789, allocations: 28.89 kB / 1.31 GB, free: 14.92 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/0.3791, allocations: 27.86 kB / 1.31 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.3791, allocations: 38.5 kB / 1.31 GB, free: 14.84 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.3791, allocations: 4 kB / 1.31 GB, free: 14.84 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3): time 0.0004942/0.3796, allocations: 97.58 kB / 1.31 GB, free: 14.74 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/0.3797, allocations: 51.41 kB / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.3798, allocations: 109.8 kB / 1.31 GB, free: 14.56 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.3798, allocations: 25.7 kB / 1.31 GB, free: 14.53 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 8.311e-05/0.3799, allocations: 84.14 kB / 1.31 GB, free: 14.44 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.3799, allocations: 7.953 kB / 1.31 GB, free: 14.43 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.423e-05/0.38, allocations: 21.7 kB / 1.31 GB, free: 14.41 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001898/0.3802, allocations: 318.8 kB / 1.311 GB, free: 14.09 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.3803, allocations: 19.92 kB / 1.311 GB, free: 14.07 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.555e-05/0.3804, allocations: 23.97 kB / 1.311 GB, free: 14.04 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.3806, allocations: 48.81 kB / 1.311 GB, free: 13.99 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3806, allocations: 4 kB / 1.311 GB, free: 13.99 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002147/0.3808, allocations: 73.61 kB / 1.311 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.3808, allocations: 4 kB / 1.311 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3808, allocations: 0 / 1.311 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.3808, allocations: 0 / 1.311 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.273e-05/0.3809, allocations: 15.98 kB / 1.311 GB, free: 13.89 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3809, allocations: 0 / 1.311 GB, free: 13.89 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.054e-05/0.381, allocations: 11.92 kB / 1.311 GB, free: 13.88 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.381, allocations: 7.938 kB / 1.311 GB, free: 13.87 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: 2 (falFac.y,rea2Int.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (3):
 * Single equations (assignments): 3
 * 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.0001185/0.3811, allocations: 117.7 kB / 1.311 GB, free: 13.75 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.3811, allocations: 4 kB / 1.311 GB, free: 13.74 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/0.3814, allocations: 81.64 kB / 1.311 GB, free: 13.65 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.3814, allocations: 384 / 1.311 GB, free: 13.65 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3814, allocations: 0 / 1.311 GB, free: 13.65 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3814, allocations: 0 / 1.311 GB, free: 13.65 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.3817, allocations: 156.7 kB / 1.311 GB, free: 13.45 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3817, allocations: 0 / 1.311 GB, free: 13.45 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.185e-05/0.3818, allocations: 11.97 kB / 1.311 GB, free: 13.44 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3818, allocations: 4 kB / 1.311 GB, free: 13.44 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.3818, allocations: 0 / 1.311 GB, free: 13.44 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3818, allocations: 3.938 kB / 1.311 GB, free: 13.43 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3818, allocations: 3.938 kB / 1.311 GB, free: 13.43 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.3821, allocations: 175.4 kB / 1.311 GB, free: 13.24 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.53e-05/0.3821, allocations: 4 kB / 1.311 GB, free: 13.24 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.3821, allocations: 0 / 1.311 GB, free: 13.24 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.431e-05/0.3822, allocations: 7.984 kB / 1.311 GB, free: 13.23 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.849e-05/0.3823, allocations: 7.984 kB / 1.311 GB, free: 13.22 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.3823, allocations: 4 kB / 1.311 GB, free: 13.22 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.57e-05/0.3824, allocations: 83.28 kB / 1.312 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.3824, allocations: 3.938 kB / 1.312 GB, free: 13.13 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002748/0.3826, allocations: 11.95 kB / 1.312 GB, free: 13.12 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: 2 (rea2Int.y,falFac.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (3):
 * Single equations (assignments): 3
 * 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.0002627/0.3829, allocations: 108 kB / 1.312 GB, free: 13.01 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002959/0.3832, allocations: 47.89 kB / 1.312 GB, free: 12.96 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3832, allocations: 0 / 1.312 GB, free: 12.96 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.3833, allocations: 27.97 kB / 1.312 GB, free: 12.93 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.3837, allocations: 5.812 kB / 1.312 GB, free: 12.93 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004875/0.3842, allocations: 129.5 kB / 1.312 GB, free: 12.78 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/0.3847, allocations: 0.6768 MB / 1.313 GB, free: 12.07 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.796e-05/0.3847, allocations: 4.547 kB / 1.313 GB, free: 12.07 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.128e-05/0.3847, allocations: 15.42 kB / 1.313 GB, free: 12.05 MB / 1.014 GB
Notification: Performance of SimCode: time 8.71e-07/0.3847, allocations: 0 / 1.313 GB, free: 12.05 MB / 1.014 GB
Notification: Performance of Templates: time 0.004345/0.3891, allocations: 0.7834 MB / 1.313 GB, free: 11.27 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.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.972212958149612]