Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.Binomial.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.001689/0.001689, 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.001926/0.001926, allocations: 192.5 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.469/1.469, 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.86/2.86, allocations: 476.7 MB / 0.7646 GB, free: 9.879 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.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Binomial")
translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Binomial") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 71.88 kB / 1.11 GB, free: 6.305 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8391/0.8412, allocations: 168.8 MB / 1.274 GB, free: 4.207 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003151/0.8443, allocations: 1.56 MB / 1.276 GB, free: 2.637 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.0005685/0.8449, allocations: 183.3 kB / 1.276 GB, free: 2.457 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.782e-05/0.845, allocations: 0 / 1.276 GB, free: 2.457 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 3.55e-05/0.845, allocations: 3.938 kB / 1.276 GB, free: 2.453 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 5.143e-05/0.8451, allocations: 7.938 kB / 1.276 GB, free: 2.445 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.8454, allocations: 55.88 kB / 1.276 GB, free: 2.391 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 7.709e-05/0.8455, allocations: 31.91 kB / 1.276 GB, free: 2.359 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.941e-05/0.8456, allocations: 16 kB / 1.276 GB, free: 2.344 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 4.403e-05/0.8456, allocations: 19.92 kB / 1.276 GB, free: 2.324 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.736e-05/0.8457, allocations: 19.91 kB / 1.276 GB, free: 2.305 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.8457, allocations: 4 kB / 1.276 GB, free: 2.301 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.8458, allocations: 51.95 kB / 1.276 GB, free: 2.25 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 1.477e-05/0.8459, allocations: 7.984 kB / 1.276 GB, free: 2.242 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.8459, allocations: 19.86 kB / 1.276 GB, free: 2.223 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.8461, allocations: 71.5 kB / 1.276 GB, free: 2.156 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.8461, allocations: 0 / 1.276 GB, free: 2.156 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.172e-06/0.8461, allocations: 0 / 1.276 GB, free: 2.156 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 1.098e-05/0.8461, allocations: 0 / 1.276 GB, free: 2.156 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.0005536/0.8466, allocations: 280.9 kB / 1.277 GB, free: 1.852 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.8467, allocations: 8.031 kB / 1.277 GB, free: 1.844 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.286e-05/0.8467, allocations: 4.938 kB / 1.277 GB, free: 1.84 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.8468, allocations: 122.4 kB / 1.277 GB, free: 1.695 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.8468, allocations: 8.312 kB / 1.277 GB, free: 1.688 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.8469, allocations: 8.312 kB / 1.277 GB, free: 1.68 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.8471, allocations: 58.23 kB / 1.277 GB, free: 1.617 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.8471, allocations: 4.188 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.8471, allocations: 3.938 kB / 1.277 GB, free: 1.609 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.8471, allocations: 0 / 1.277 GB, free: 1.609 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002096/0.8473, allocations: 43.95 kB / 1.277 GB, free: 1.566 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/0.8477, allocations: 255.8 kB / 1.277 GB, free: 1.273 MB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.8481, allocations: 58.55 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.8482, allocations: 24.89 kB / 1.277 GB, free: 1.18 MB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.8484, allocations: 11.98 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.8484, allocations: 34.56 kB / 1.277 GB, free: 1.125 MB / 0.9669 GB
Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.8484, allocations: 0 / 1.277 GB, free: 1.125 MB / 0.9669 GB
Notification: Performance of matching and sorting (n=3): time 0.0004304/0.8488, allocations: 105.5 kB / 1.277 GB, free: 1.016 MB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.8489, allocations: 51.41 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.849, allocations: 109.8 kB / 1.277 GB, free: 0.8359 MB / 0.9669 GB
Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.849, allocations: 25.7 kB / 1.277 GB, free: 0.8047 MB / 0.9669 GB
Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.849, allocations: 84.14 kB / 1.278 GB, free: 0.7188 MB / 0.9669 GB
Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.8491, allocations: 7.891 kB / 1.278 GB, free: 0.7109 MB / 0.9669 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.764e-05/0.8491, allocations: 21.72 kB / 1.278 GB, free: 0.6836 MB / 0.9669 GB
Notification: Performance of setup shared object (initialization): time 0.000155/0.8493, allocations: 326.8 kB / 1.278 GB, free: 364 kB / 0.9669 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.819e-05/0.8494, allocations: 15.98 kB / 1.278 GB, free: 348 kB / 0.9669 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.298e-05/0.8494, allocations: 23.97 kB / 1.278 GB, free: 324 kB / 0.9669 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.8496, allocations: 49.05 kB / 1.278 GB, free: 272 kB / 0.9669 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.8496, allocations: 0 / 1.278 GB, free: 272 kB / 0.9669 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002521/0.8499, allocations: 81.58 kB / 1.278 GB, free: 184 kB / 0.9669 GB
Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.8499, allocations: 8 kB / 1.278 GB, free: 176 kB / 0.9669 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.8499, allocations: 0 / 1.278 GB, free: 176 kB / 0.9669 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.8499, allocations: 0 / 1.278 GB, free: 176 kB / 0.9669 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.725e-05/0.85, allocations: 11.98 kB / 1.278 GB, free: 164 kB / 0.9669 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.85, allocations: 0 / 1.278 GB, free: 164 kB / 0.9669 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.199e-05/0.8501, allocations: 8 kB / 1.278 GB, free: 156 kB / 0.9669 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.8501, allocations: 3.984 kB / 1.278 GB, free: 152 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 (bin.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 9.667e-05/0.8502, allocations: 117.8 kB / 1.278 GB, free: 24 kB / 0.9669 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.8502, allocations: 3.938 kB / 1.278 GB, free: 20 kB / 0.9669 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003692/0.8506, allocations: 93.58 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.8506, allocations: 0 / 1.278 GB, free: 15.92 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.8506, allocations: 0 / 1.278 GB, free: 15.92 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.8506, allocations: 0 / 1.278 GB, free: 15.92 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.8508, allocations: 144.6 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.8508, allocations: 0 / 1.278 GB, free: 15.73 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.26e-05/0.8509, allocations: 15.98 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.8509, allocations: 0 / 1.278 GB, free: 15.72 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.8509, allocations: 7.938 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.8509, allocations: 0 / 1.278 GB, free: 15.71 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.8509, allocations: 0 / 1.278 GB, free: 15.71 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.8512, allocations: 175.4 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.945e-06/0.8512, allocations: 0 / 1.279 GB, free: 15.52 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.8512, allocations: 8 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.807e-05/0.8513, allocations: 3.984 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.8514, allocations: 11.98 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.8514, allocations: 0 / 1.279 GB, free: 15.5 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 5.459e-05/0.8514, allocations: 87.28 kB / 1.279 GB, free: 15.41 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 8e-08/0.8514, allocations: 0 / 1.279 GB, free: 15.41 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002465/0.8517, allocations: 12 kB / 1.279 GB, free: 15.4 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,bin.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.0002009/0.8519, allocations: 127.2 kB / 1.279 GB, free: 15.27 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0002581/0.8521, allocations: 39.95 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.8521, allocations: 0 / 1.279 GB, free: 15.23 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.8523, allocations: 31.91 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.8525, allocations: 5.812 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.8529, allocations: 125.5 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.8532, allocations: 0.6807 MB / 1.28 GB, free: 14.34 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 3.296e-05/0.8532, allocations: 4 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.8533, allocations: 15.38 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.4e-07/0.8533, allocations: 0 / 1.28 GB, free: 14.32 MB / 0.9825 GB
Notification: Performance of Templates: time 0.004233/0.8575, allocations: 0.9931 MB / 1.281 GB, free: 13.33 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Binomial.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Binomial  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Binomial.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.786236942745745]