Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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=5000,variableFilter="time|bin.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.1.|bin.2.|bin.3.|bin.4.|bin.5.|bin.6.|bin.7.|bin.8.|bin.9.|bin.10.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004858/0.004858, allocations: 101.1 kB / 15.88 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 196.2 kB / 16.79 MB, free: 6.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.796/2.796, allocations: 461.9 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 65.41 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.341, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.002214/0.3433, allocations: 0.6386 MB / 1.053 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000464/0.3438, allocations: 111.7 kB / 1.053 GB, free: 7.559 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.613e-05/0.3438, allocations: 0 / 1.053 GB, free: 7.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.71e-05/0.3439, allocations: 4 kB / 1.053 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.302e-06/0.3439, allocations: 0 / 1.053 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.3442, allocations: 31.89 kB / 1.054 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.3444, allocations: 59.94 kB / 1.054 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.975e-05/0.3444, allocations: 4 kB / 1.054 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.662e-05/0.3445, allocations: 23.97 kB / 1.054 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.298e-05/0.3445, allocations: 23.91 kB / 1.054 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.175e-05/0.3446, allocations: 4 kB / 1.054 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.3447, allocations: 47.95 kB / 1.054 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.466e-05/0.3448, allocations: 23.97 kB / 1.054 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.851e-05/0.3448, allocations: 23.91 kB / 1.054 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.3449, allocations: 39.94 kB / 1.054 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3449, allocations: 0 / 1.054 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.304e-06/0.345, allocations: 0 / 1.054 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.345, allocations: 3.938 kB / 1.054 GB, free: 7.273 MB / 0.8106 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.0005576/0.3455, allocations: 371.5 kB / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3456, allocations: 19.91 kB / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.507e-05/0.3457, allocations: 4.938 kB / 1.054 GB, free: 6.836 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.727e-05/0.3458, allocations: 172.5 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002669/0.346, allocations: 285.6 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.3461, allocations: 8.375 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.3463, allocations: 86.12 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3463, allocations: 3.938 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.3464, allocations: 0 / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.3464, allocations: 0 / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000358/0.3467, allocations: 135.8 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002058/0.347, allocations: 177.5 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003128/0.3473, allocations: 110.5 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.3474, allocations: 40.83 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.3475, allocations: 4 kB / 1.055 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.3475, allocations: 34.56 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.3475, allocations: 0 / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0005588/0.3481, allocations: 141.5 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.3481, allocations: 55.62 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.17e-05/0.3482, allocations: 93.8 kB / 1.055 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.3482, allocations: 33.64 kB / 1.055 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.66e-05/0.3482, allocations: 84.14 kB / 1.056 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.561e-05/0.3483, allocations: 35.45 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/0.3483, allocations: 25.7 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.3484, allocations: 318.8 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.3486, allocations: 27.97 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.3487, allocations: 35.97 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.349, allocations: 76.81 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.349, allocations: 0 / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003362/0.3494, allocations: 109.6 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.3494, allocations: 13.5 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3494, allocations: 0 / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3494, allocations: 0 / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.3496, allocations: 27.91 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.3496, allocations: 4 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.125e-05/0.3497, allocations: 11.84 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.3497, allocations: 7.984 kB / 1.056 GB, free: 4.484 MB / 0.8106 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.158e-05/0.3498, allocations: 121.8 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.3498, allocations: 7.938 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.476e-05/0.3499, allocations: 7.969 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3499, allocations: 3.938 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3499, allocations: 0 / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3499, allocations: 4 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.35, allocations: 181.5 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.35, allocations: 0 / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.3502, allocations: 31.91 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3502, allocations: 7.938 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.3502, allocations: 0 / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3502, allocations: 0 / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3502, allocations: 3.984 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.3506, allocations: 145.7 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.3506, allocations: 81.02 kB / 1.057 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.3507, allocations: 7.938 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.158e-05/0.3507, allocations: 15.98 kB / 1.057 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.3508, allocations: 7.984 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.3508, allocations: 7.984 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.485e-05/0.3508, allocations: 75.28 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.815e-06/0.3508, allocations: 0 / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002335/0.3511, allocations: 31.94 kB / 1.057 GB, free: 3.66 MB / 0.8106 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.0002066/0.3513, allocations: 115.2 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003419/0.3516, allocations: 87.88 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3517, allocations: 4 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.3518, allocations: 47.91 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001453/0.352, allocations: 4 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/0.3524, allocations: 196.3 kB / 1.057 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.3526, allocations: 0.6848 MB / 1.058 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.901e-05/0.3527, allocations: 23.42 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of SimCode: time 6.91e-07/0.3527, allocations: 4 kB / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of Templates: time 0.003/0.3557, allocations: 1.307 MB / 1.059 GB, free: 1.125 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches