Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=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_10_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_10_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.0014/0.0014, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001461/0.001462, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.371/1.371, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.599/2.599, allocations: 437 MB / 0.71 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 67.91 kB / 0.8687 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6407/0.6421, allocations: 151.6 MB / 1.017 GB, free: 2.559 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001891/0.644, allocations: 0.6488 MB / 1.017 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003699/0.6444, allocations: 99.64 kB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.687e-05/0.6444, allocations: 3.938 kB / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.921e-05/0.6445, allocations: 0 / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.244e-06/0.6445, allocations: 0 / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004083/0.6449, allocations: 43.89 kB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.645, allocations: 63.94 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.854e-05/0.6451, allocations: 0 / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.398e-05/0.6451, allocations: 19.98 kB / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.797e-05/0.6452, allocations: 27.95 kB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.6452, allocations: 4 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.6454, allocations: 43.97 kB / 1.018 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.198e-05/0.6454, allocations: 23.95 kB / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.343e-05/0.6455, allocations: 23.86 kB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.6456, allocations: 71.83 kB / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6456, allocations: 0 / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6457, allocations: 0 / 1.018 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.6457, allocations: 0 / 1.018 GB, free: 1.488 MB / 0.7637 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.0005218/0.6462, allocations: 371.5 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.6462, allocations: 12.03 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.6463, allocations: 8.938 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.6464, allocations: 170.3 kB / 1.018 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002691/0.6467, allocations: 277.6 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.6467, allocations: 8.375 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.647, allocations: 78.19 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.647, allocations: 3.938 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.647, allocations: 3.984 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.647, allocations: 8 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003467/0.6474, allocations: 143.7 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.6476, allocations: 185.5 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.6479, allocations: 90.52 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.648, allocations: 52.77 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.6481, allocations: 0 / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.6481, allocations: 30.56 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/0.6481, allocations: 4 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0005135/0.6486, allocations: 153.8 kB / 1.019 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.6487, allocations: 51.41 kB / 1.019 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.773e-05/0.6487, allocations: 97.86 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.6487, allocations: 25.7 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.351e-05/0.6488, allocations: 80.14 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.754e-05/0.6488, allocations: 35.45 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.6489, allocations: 33.64 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.649, allocations: 314.8 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.6492, allocations: 35.97 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.6493, allocations: 31.97 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.6496, allocations: 72.81 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.6496, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003246/0.6499, allocations: 117.5 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.6499, allocations: 9.5 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.6499, allocations: 0 / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.65, allocations: 4 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.6501, allocations: 27.97 kB / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.6501, allocations: 0 / 1.02 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.189e-05/0.6502, allocations: 7.906 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.6502, allocations: 4 kB / 1.02 GB, free: 14.71 MB / 0.7794 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.895e-05/0.6503, allocations: 122.3 kB / 1.02 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.6504, allocations: 3.938 kB / 1.02 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.931e-05/0.6504, allocations: 15.97 kB / 1.02 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.6504, allocations: 0 / 1.02 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.6504, allocations: 0 / 1.02 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.6504, allocations: 4 kB / 1.02 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.6506, allocations: 185.5 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.6506, allocations: 3.984 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.6507, allocations: 19.98 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.6507, allocations: 3.938 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.6507, allocations: 11.98 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.6507, allocations: 3.938 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6508, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.6511, allocations: 137.8 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.6511, allocations: 81.11 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.6512, allocations: 7.938 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.01e-05/0.6512, allocations: 7.984 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.605e-05/0.6513, allocations: 11.98 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.6513, allocations: 11.98 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.031e-05/0.6514, allocations: 75.28 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6514, allocations: 0 / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002191/0.6516, allocations: 16 kB / 1.021 GB, free: 13.9 MB / 0.7794 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.0001831/0.6518, allocations: 131.2 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00035/0.6521, allocations: 99.92 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6521, allocations: 0 / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001551/0.6523, allocations: 43.91 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.6524, allocations: 8 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004059/0.6529, allocations: 180.8 kB / 1.021 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.6531, allocations: 0.6846 MB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001757/0.6533, allocations: 35.95 kB / 1.022 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.676e-05/0.6534, allocations: 23.42 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of SimCode: time 2.7e-07/0.6534, allocations: 3.938 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of Templates: time 0.003258/0.6566, allocations: 0.998 MB / 1.023 GB, free: 11.64 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches