Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.001637/0.001637, allocations: 109.8 kB / 18.84 MB, free: 3.008 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.001808/0.001808, allocations: 185.5 kB / 22.1 MB, free: 4.617 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.465/1.465, allocations: 225.6 MB / 250.8 MB, free: 13.06 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.244/3.244, allocations: 495.8 MB / 0.783 GB, free: 33.52 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.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial")
translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|bin.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 66.06 kB / 1.137 GB, free: 33.8 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.345, allocations: 173.6 MB / 1.307 GB, free: 1.84 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001692/0.3467, allocations: 0.5984 MB / 1.307 GB, free: 1.242 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0004045/0.3471, allocations: 108 kB / 1.307 GB, free: 1.137 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.095e-05/0.3471, allocations: 4 kB / 1.307 GB, free: 1.133 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 2.556e-05/0.3472, allocations: 0 / 1.307 GB, free: 1.133 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 5.841e-06/0.3472, allocations: 0 / 1.307 GB, free: 1.133 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003376/0.3475, allocations: 39.89 kB / 1.308 GB, free: 1.094 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.0001357/0.3476, allocations: 63.94 kB / 1.308 GB, free: 1.031 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.48e-05/0.3477, allocations: 4 kB / 1.308 GB, free: 1.027 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.861e-05/0.3477, allocations: 27.91 kB / 1.308 GB, free: 1 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.949e-05/0.3478, allocations: 23.97 kB / 1.308 GB, free: 0.9766 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.3478, allocations: 4 kB / 1.308 GB, free: 0.9727 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.3479, allocations: 55.94 kB / 1.308 GB, free: 0.918 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 4.024e-05/0.348, allocations: 23.91 kB / 1.308 GB, free: 0.8945 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.348, allocations: 19.92 kB / 1.308 GB, free: 0.875 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.3482, allocations: 79.69 kB / 1.308 GB, free: 0.7969 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3482, allocations: 0 / 1.308 GB, free: 0.7969 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.814e-06/0.3482, allocations: 0 / 1.308 GB, free: 0.7969 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 4.428e-06/0.3482, allocations: 0 / 1.308 GB, free: 0.7969 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.0005417/0.3487, allocations: 298.3 kB / 1.308 GB, free: 484 kB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.3487, allocations: 12.92 kB / 1.308 GB, free: 472 kB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.779e-05/0.3488, allocations: 8.938 kB / 1.308 GB, free: 464 kB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.608e-05/0.3489, allocations: 114.5 kB / 1.308 GB, free: 324 kB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003187/0.3492, allocations: 273.6 kB / 1.308 GB, free: 15.99 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.3492, allocations: 8.375 kB / 1.308 GB, free: 15.98 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/0.3495, allocations: 78.19 kB / 1.309 GB, free: 15.9 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3495, allocations: 3.938 kB / 1.309 GB, free: 15.89 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.3495, allocations: 7.938 kB / 1.309 GB, free: 15.89 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.3495, allocations: 3.984 kB / 1.309 GB, free: 15.88 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003821/0.3499, allocations: 127.8 kB / 1.309 GB, free: 15.76 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002073/0.3501, allocations: 160.6 kB / 1.309 GB, free: 15.56 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/0.3505, allocations: 90.45 kB / 1.309 GB, free: 15.46 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.3506, allocations: 40.83 kB / 1.309 GB, free: 15.42 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.3506, allocations: 4 kB / 1.309 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.3507, allocations: 34.56 kB / 1.309 GB, free: 15.37 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=11): time 1.243e-06/0.3507, allocations: 3.938 kB / 1.309 GB, free: 15.37 MB / 1.014 GB
Notification: Performance of matching and sorting (n=11): time 0.0006245/0.3513, allocations: 145.9 kB / 1.309 GB, free: 15.22 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.3513, allocations: 59.34 kB / 1.309 GB, free: 15.15 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.601e-05/0.3514, allocations: 89.86 kB / 1.309 GB, free: 15.05 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.3514, allocations: 29.7 kB / 1.309 GB, free: 15.02 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 4.503e-05/0.3515, allocations: 84.12 kB / 1.309 GB, free: 14.93 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 5.732e-05/0.3515, allocations: 35.69 kB / 1.309 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-05/0.3516, allocations: 29.7 kB / 1.309 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001437/0.3517, allocations: 314.8 kB / 1.31 GB, free: 14.54 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.3519, allocations: 31.97 kB / 1.31 GB, free: 14.51 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.352, allocations: 35.97 kB / 1.31 GB, free: 14.48 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002966/0.3523, allocations: 77.41 kB / 1.31 GB, free: 14.4 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3523, allocations: 4 kB / 1.31 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003731/0.3527, allocations: 117.5 kB / 1.31 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.3527, allocations: 11.94 kB / 1.31 GB, free: 14.26 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3527, allocations: 0 / 1.31 GB, free: 14.26 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3527, allocations: 0 / 1.31 GB, free: 14.26 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.3529, allocations: 23.97 kB / 1.31 GB, free: 14.24 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.3529, allocations: 4 kB / 1.31 GB, free: 14.23 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.223e-05/0.353, allocations: 7.938 kB / 1.31 GB, free: 14.23 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.353, allocations: 7.984 kB / 1.31 GB, free: 14.22 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: 1 (n)
 * 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 9.683e-05/0.3531, allocations: 121.7 kB / 1.31 GB, free: 14.09 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.3531, allocations: 11.89 kB / 1.31 GB, free: 14.08 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.027e-05/0.3531, allocations: 11.91 kB / 1.31 GB, free: 14.06 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3531, allocations: 0 / 1.31 GB, free: 14.06 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3531, allocations: 0 / 1.31 GB, free: 14.06 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3531, allocations: 3.984 kB / 1.31 GB, free: 14.06 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.3533, allocations: 148.7 kB / 1.31 GB, free: 13.87 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3533, allocations: 0 / 1.31 GB, free: 13.87 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00013/0.3534, allocations: 23.98 kB / 1.31 GB, free: 13.85 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.3534, allocations: 3.938 kB / 1.31 GB, free: 13.84 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.3535, allocations: 7.984 kB / 1.31 GB, free: 13.84 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3535, allocations: 0 / 1.31 GB, free: 13.84 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3535, allocations: 0 / 1.31 GB, free: 13.84 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003975/0.3538, allocations: 148.9 kB / 1.311 GB, free: 13.67 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.384e-06/0.3539, allocations: 7.938 kB / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.3539, allocations: 15.92 kB / 1.311 GB, free: 13.65 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.833e-05/0.3539, allocations: 3.938 kB / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.497e-05/0.354, allocations: 11.97 kB / 1.311 GB, free: 13.63 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.354, allocations: 4 kB / 1.311 GB, free: 13.63 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 3.918e-05/0.354, allocations: 75.28 kB / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.354, allocations: 0 / 1.311 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002321/0.3543, allocations: 20 kB / 1.311 GB, free: 13.54 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: 1 (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.0001962/0.3545, allocations: 129.4 kB / 1.311 GB, free: 13.4 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003899/0.3549, allocations: 87.81 kB / 1.311 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3549, allocations: 0 / 1.311 GB, free: 13.32 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.355, allocations: 51.89 kB / 1.311 GB, free: 13.27 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.3552, allocations: 0 / 1.311 GB, free: 13.27 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000416/0.3556, allocations: 168.8 kB / 1.311 GB, free: 13.07 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.3559, allocations: 0.6885 MB / 1.312 GB, free: 12.36 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0001754/0.3561, allocations: 35.97 kB / 1.312 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.811e-05/0.3562, allocations: 19.42 kB / 1.312 GB, free: 12.3 MB / 1.014 GB
Notification: Performance of SimCode: time 3.11e-07/0.3562, allocations: 0 / 1.312 GB, free: 12.3 MB / 1.014 GB
Notification: Performance of Templates: time 0.004029/0.3602, allocations: 1.07 MB / 1.313 GB, free: 11.23 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.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.803564594127238]