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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001573/0.001573, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001898/0.001898, allocations: 193.2 kB / 16.14 MB, free: 6.691 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.39/1.39, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.729/2.729, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.001521, allocations: 65.41 kB / 0.8984 GB, free: 37.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.416, allocations: 157.4 MB / 1.052 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001995/0.4181, allocations: 0.6425 MB / 1.053 GB, free: 8.219 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004634/0.4186, allocations: 111.6 kB / 1.053 GB, free: 8.109 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.89e-05/0.4186, allocations: 4 kB / 1.053 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.556e-05/0.4187, allocations: 0 / 1.053 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.785e-06/0.4187, allocations: 0 / 1.053 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003794/0.4191, allocations: 23.97 kB / 1.053 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.4192, allocations: 63.92 kB / 1.053 GB, free: 8.02 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.5e-05/0.4193, allocations: 7.938 kB / 1.053 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.227e-05/0.4193, allocations: 23.98 kB / 1.053 GB, free: 7.988 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.187e-05/0.4194, allocations: 23.95 kB / 1.053 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.4194, allocations: 4 kB / 1.053 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.4195, allocations: 43.97 kB / 1.053 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.27e-05/0.4196, allocations: 31.89 kB / 1.053 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.735e-05/0.4197, allocations: 19.92 kB / 1.053 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.4199, allocations: 67.83 kB / 1.053 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4199, allocations: 0 / 1.053 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.92e-07/0.4199, allocations: 0 / 1.053 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.4199, allocations: 0 / 1.053 GB, free: 7.801 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.00061/0.4205, allocations: 372.5 kB / 1.054 GB, free: 7.387 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.4206, allocations: 8.031 kB / 1.054 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.889e-05/0.4206, allocations: 8.938 kB / 1.054 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.4207, allocations: 168.6 kB / 1.054 GB, free: 7.168 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000288/0.421, allocations: 281.6 kB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.44e-05/0.4211, allocations: 4.375 kB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.4213, allocations: 90.06 kB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.4214, allocations: 3.938 kB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.4214, allocations: 0 / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.4214, allocations: 4 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003531/0.4217, allocations: 131.8 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001986/0.422, allocations: 181.5 kB / 1.054 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.4223, allocations: 102.4 kB / 1.054 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.4224, allocations: 48.83 kB / 1.054 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.4224, allocations: 3.984 kB / 1.054 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.4225, allocations: 38.5 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/0.4225, allocations: 0 / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0005399/0.423, allocations: 145.8 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.4231, allocations: 55.41 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.529e-05/0.4231, allocations: 97.86 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.4231, allocations: 25.7 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.765e-05/0.4232, allocations: 80.14 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.816e-05/0.4232, allocations: 35.45 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.999e-05/0.4233, allocations: 29.7 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.4234, allocations: 314.8 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.4235, allocations: 31.97 kB / 1.055 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.4237, allocations: 31.97 kB / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/0.4239, allocations: 84.69 kB / 1.055 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.424, allocations: 0 / 1.055 GB, free: 5.191 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003156/0.4243, allocations: 109.6 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.4243, allocations: 7.938 kB / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.4243, allocations: 0 / 1.056 GB, free: 5.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.4243, allocations: 4 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.4245, allocations: 23.98 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.4245, allocations: 11.91 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.817e-05/0.4246, allocations: 11.84 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.4246, allocations: 8 kB / 1.056 GB, free: 5.012 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.2e-05/0.4247, allocations: 119.4 kB / 1.056 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.4247, allocations: 7.938 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.308e-05/0.4248, allocations: 15.91 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.4248, allocations: 0 / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4248, allocations: 0 / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.4248, allocations: 0 / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.4249, allocations: 181.5 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.425, allocations: 4 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.4251, allocations: 23.97 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.4251, allocations: 3.938 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.4251, allocations: 8 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4251, allocations: 0 / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.4251, allocations: 7.922 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003345/0.4255, allocations: 129.8 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.4255, allocations: 85.02 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.4255, allocations: 11.94 kB / 1.056 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.716e-05/0.4256, allocations: 11.92 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.936e-05/0.4257, allocations: 11.92 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.4257, allocations: 4 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.655e-05/0.4258, allocations: 79.27 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/0.4258, allocations: 0 / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002292/0.426, allocations: 24 kB / 1.056 GB, free: 4.203 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.0002159/0.4262, allocations: 127.1 kB / 1.056 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003278/0.4266, allocations: 87.98 kB / 1.056 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4266, allocations: 0 / 1.056 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.4267, allocations: 47.91 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.4269, allocations: 13.03 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003943/0.4273, allocations: 166.7 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.4276, allocations: 0.6888 MB / 1.057 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002047/0.4278, allocations: 39.81 kB / 1.057 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.4278, allocations: 19.42 kB / 1.057 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of SimCode: time 5.81e-07/0.4278, allocations: 0 / 1.057 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of Templates: time 0.003532/0.4314, allocations: 0.9831 MB / 1.058 GB, free: 1.98 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/jenkins/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