Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001389/0.001389, 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.001493/0.001493, allocations: 186.4 kB / 22.22 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.548/1.548, 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 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.843/2.843, allocations: 476.7 MB / 0.7646 GB, free: 9.891 MB / 0.6231 GB
"
[Timeout remaining time 177]
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.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_11_Buildings.Utilities.Math.Examples.FallingFactorial")
translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|falFac.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002129/0.002129, allocations: 63.89 kB / 1.11 GB, free: 6.348 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8155/0.8177, allocations: 168.8 MB / 1.274 GB, free: 4.207 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.003015/0.8207, allocations: 1.549 MB / 1.276 GB, free: 2.648 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.0004039/0.8211, allocations: 143.5 kB / 1.276 GB, free: 2.508 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.655e-05/0.8211, allocations: 0 / 1.276 GB, free: 2.508 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 2.628e-05/0.8212, allocations: 7.984 kB / 1.276 GB, free: 2.5 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 4.963e-05/0.8212, allocations: 7.938 kB / 1.276 GB, free: 2.492 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.8215, allocations: 35.91 kB / 1.276 GB, free: 2.457 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 8.869e-05/0.8216, allocations: 31.92 kB / 1.276 GB, free: 2.426 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.8217, allocations: 11.98 kB / 1.276 GB, free: 2.414 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.808e-05/0.8218, allocations: 19.92 kB / 1.276 GB, free: 2.395 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.908e-05/0.8218, allocations: 15.92 kB / 1.276 GB, free: 2.379 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.8218, allocations: 4 kB / 1.276 GB, free: 2.375 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.807e-05/0.8219, allocations: 19.98 kB / 1.276 GB, free: 2.355 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 1.864e-05/0.8219, allocations: 11.97 kB / 1.276 GB, free: 2.344 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.822, allocations: 19.88 kB / 1.276 GB, free: 2.324 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.8221, allocations: 47.52 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.8221, allocations: 4 kB / 1.276 GB, free: 2.277 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.543e-06/0.8221, allocations: 0 / 1.276 GB, free: 2.277 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 5.46e-06/0.8221, allocations: 0 / 1.276 GB, free: 2.277 MB / 0.9669 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.0005366/0.8227, allocations: 280.9 kB / 1.276 GB, free: 1.973 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.8227, allocations: 8.031 kB / 1.276 GB, free: 1.965 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.8227, allocations: 4.938 kB / 1.276 GB, free: 1.961 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.8229, allocations: 122.4 kB / 1.277 GB, free: 1.816 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.8229, allocations: 384 / 1.277 GB, free: 1.816 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.8229, allocations: 8.375 kB / 1.277 GB, free: 1.809 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.8231, allocations: 58.23 kB / 1.277 GB, free: 1.746 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.8231, allocations: 192 / 1.277 GB, free: 1.746 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.8231, allocations: 7.938 kB / 1.277 GB, free: 1.738 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.8231, allocations: 0 / 1.277 GB, free: 1.738 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002057/0.8234, allocations: 39.95 kB / 1.277 GB, free: 1.699 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.8238, allocations: 255.8 kB / 1.277 GB, free: 1.406 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003468/0.8241, allocations: 54.55 kB / 1.277 GB, free: 1.344 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.8242, allocations: 24.89 kB / 1.277 GB, free: 1.316 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.8244, allocations: 19.98 kB / 1.277 GB, free: 1.297 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.8244, allocations: 34.5 kB / 1.277 GB, free: 1.254 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.8244, allocations: 4 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=3): time 0.0004305/0.8248, allocations: 105.5 kB / 1.277 GB, free: 1.141 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.8249, allocations: 55.41 kB / 1.277 GB, free: 1.074 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.825, allocations: 105.8 kB / 1.277 GB, free: 0.9609 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.825, allocations: 25.7 kB / 1.277 GB, free: 0.9297 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.8251, allocations: 92.16 kB / 1.277 GB, free: 0.8359 MB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.8251, allocations: 7.938 kB / 1.277 GB, free: 0.8281 MB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.886e-05/0.8251, allocations: 21.72 kB / 1.277 GB, free: 0.8008 MB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.0001601/0.8253, allocations: 318.8 kB / 1.278 GB, free: 492 kB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.8254, allocations: 19.98 kB / 1.278 GB, free: 472 kB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.757e-05/0.8255, allocations: 19.97 kB / 1.278 GB, free: 452 kB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.8257, allocations: 44.77 kB / 1.278 GB, free: 404 kB / 0.9669 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8257, allocations: 4 kB / 1.278 GB, free: 400 kB / 0.9669 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002471/0.8259, allocations: 81.88 kB / 1.278 GB, free: 312 kB / 0.9669 GB
Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.8259, allocations: 4 kB / 1.278 GB, free: 308 kB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.8259, allocations: 48 / 1.278 GB, free: 308 kB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.826, allocations: 3.984 kB / 1.278 GB, free: 304 kB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.551e-05/0.826, allocations: 11.98 kB / 1.278 GB, free: 292 kB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.826, allocations: 0 / 1.278 GB, free: 292 kB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.622e-05/0.8261, allocations: 4 kB / 1.278 GB, free: 288 kB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.8261, allocations: 11.98 kB / 1.278 GB, free: 276 kB / 0.9669 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.0001/0.8262, allocations: 116 kB / 1.278 GB, free: 152 kB / 0.9669 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.8262, allocations: 4 kB / 1.278 GB, free: 148 kB / 0.9669 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.8265, allocations: 81.58 kB / 1.278 GB, free: 56 kB / 0.9669 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.8265, allocations: 4 kB / 1.278 GB, free: 52 kB / 0.9669 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.8265, allocations: 0 / 1.278 GB, free: 52 kB / 0.9669 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.8265, allocations: 0 / 1.278 GB, free: 52 kB / 0.9669 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.8268, allocations: 148.6 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.8268, allocations: 0 / 1.278 GB, free: 15.86 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.08e-05/0.8268, allocations: 11.98 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.8268, allocations: 0 / 1.278 GB, free: 15.85 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.8268, allocations: 0 / 1.278 GB, free: 15.85 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.8268, allocations: 0 / 1.278 GB, free: 15.85 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.8268, allocations: 3.938 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.8271, allocations: 187.4 kB / 1.279 GB, free: 15.65 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.251e-05/0.8272, allocations: 4 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.8272, allocations: 0 / 1.279 GB, free: 15.64 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.8273, allocations: 7.984 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.8273, allocations: 11.98 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.8273, allocations: 0 / 1.279 GB, free: 15.62 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 5.68e-05/0.8274, allocations: 83.28 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 1e-07/0.8274, allocations: 0 / 1.279 GB, free: 15.54 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.000236/0.8276, allocations: 15.94 kB / 1.279 GB, free: 15.53 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: 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.0001671/0.8278, allocations: 111.2 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0002691/0.8281, allocations: 43.95 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.8281, allocations: 0 / 1.279 GB, free: 15.37 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.8282, allocations: 23.92 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.8285, allocations: 21.89 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003359/0.8288, allocations: 125.5 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.8292, allocations: 0.6807 MB / 1.28 GB, free: 14.47 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 3.239e-05/0.8292, allocations: 4 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.8292, allocations: 7.438 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.21e-07/0.8292, allocations: 0 / 1.28 GB, free: 14.46 MB / 0.9825 GB
Notification: Performance of Templates: time 0.003628/0.8329, allocations: 0.7809 MB / 1.28 GB, free: 13.68 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.FallingFactorial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_FallingFactorial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.724068482406437]