Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001233/0.001234, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001348/0.001348, allocations: 190.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.406/1.406, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.509/2.509, allocations: 390.2 MB / 0.6644 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001912, allocations: 59.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8735/0.8755, allocations: 140.4 MB / 0.9491 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001914/0.8774, allocations: 0.658 MB / 0.9497 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003673/0.8778, allocations: 95.44 kB / 0.9498 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.824e-05/0.8779, allocations: 1.188 kB / 0.9498 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.452e-05/0.8779, allocations: 0 / 0.9498 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.521e-06/0.8779, allocations: 0 / 0.9498 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003869/0.8783, allocations: 41.98 kB / 0.9499 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.8784, allocations: 63.22 kB / 0.9499 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.91e-05/0.8785, allocations: 1.312 kB / 0.9499 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.62e-05/0.8785, allocations: 29.38 kB / 0.95 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.301e-05/0.8786, allocations: 24.84 kB / 0.95 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.8786, allocations: 3.781 kB / 0.95 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.8787, allocations: 45.66 kB / 0.95 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.92e-05/0.8788, allocations: 20.77 kB / 0.9501 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.142e-05/0.8788, allocations: 20.02 kB / 0.9501 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.879, allocations: 74.81 kB / 0.9502 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.879, allocations: 0 / 0.9502 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.879, allocations: 3.938 kB / 0.9502 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.879, allocations: 1.344 kB / 0.9502 GB, free: 8.453 MB / 0.7169 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.000482/0.8795, allocations: 374.8 kB / 0.9505 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.8795, allocations: 14.16 kB / 0.9505 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.059e-05/0.8796, allocations: 4.875 kB / 0.9505 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.419e-05/0.8797, allocations: 163.7 kB / 0.9507 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000194/0.8799, allocations: 279 kB / 0.951 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.8799, allocations: 7.531 kB / 0.951 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.8801, allocations: 82.59 kB / 0.951 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.8802, allocations: 3.938 kB / 0.951 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.8802, allocations: 1.156 kB / 0.951 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.8802, allocations: 1.438 kB / 0.951 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000332/0.8805, allocations: 136 kB / 0.9512 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.8807, allocations: 190.6 kB / 0.9514 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.881, allocations: 94.45 kB / 0.9514 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.8811, allocations: 46.67 kB / 0.9515 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.8812, allocations: 1.688 kB / 0.9515 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.8812, allocations: 32 kB / 0.9515 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.8812, allocations: 4 kB / 0.9515 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0005258/0.8817, allocations: 144.9 kB / 0.9517 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.8817, allocations: 52.66 kB / 0.9517 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.67e-05/0.8818, allocations: 97.8 kB / 0.9518 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.8818, allocations: 25.7 kB / 0.9518 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.378e-05/0.8818, allocations: 81.52 kB / 0.9519 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.19e-05/0.8819, allocations: 39.56 kB / 0.9519 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.8819, allocations: 33.89 kB / 0.952 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.281e-05/0.882, allocations: 321.6 kB / 0.9523 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001279/0.8821, allocations: 29.86 kB / 0.9523 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.8822, allocations: 30.75 kB / 0.9523 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/0.8825, allocations: 78.59 kB / 0.9524 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8825, allocations: 1.062 kB / 0.9524 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003241/0.8828, allocations: 111.8 kB / 0.9525 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.8829, allocations: 9.094 kB / 0.9525 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.8829, allocations: 0 / 0.9525 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.8829, allocations: 5.25 kB / 0.9525 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.8831, allocations: 30.31 kB / 0.9526 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.8831, allocations: 0 / 0.9526 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.799e-05/0.8831, allocations: 11.11 kB / 0.9526 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.8831, allocations: 6.922 kB / 0.9526 GB, free: 6.156 MB / 0.7169 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 7.657e-05/0.8832, allocations: 114.7 kB / 0.9527 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.679e-05/0.8832, allocations: 6.156 kB / 0.9527 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.049e-05/0.8833, allocations: 11.97 kB / 0.9527 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.8833, allocations: 2.219 kB / 0.9527 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.8833, allocations: 4 kB / 0.9527 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.8833, allocations: 3.984 kB / 0.9527 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.8834, allocations: 175.8 kB / 0.9529 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.8834, allocations: 5.25 kB / 0.9529 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.8836, allocations: 25.52 kB / 0.9529 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.8836, allocations: 3.938 kB / 0.9529 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.8836, allocations: 5.297 kB / 0.9529 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8836, allocations: 1.5 kB / 0.9529 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.8836, allocations: 0 / 0.9529 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.8839, allocations: 150.5 kB / 0.9531 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.229e-05/0.884, allocations: 82.53 kB / 0.9532 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.884, allocations: 9.031 kB / 0.9532 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.55e-05/0.884, allocations: 2.938 kB / 0.9532 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.911e-05/0.8841, allocations: 8.891 kB / 0.9532 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.8841, allocations: 7.203 kB / 0.9532 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.482e-05/0.8841, allocations: 79.28 kB / 0.9533 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8841, allocations: 0 / 0.9533 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002249/0.8844, allocations: 21.97 kB / 0.9533 GB, free: 5.477 MB / 0.7169 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.0001879/0.8846, allocations: 124.6 kB / 0.9534 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003472/0.8849, allocations: 103.4 kB / 0.9535 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.8849, allocations: 0 / 0.9535 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.8851, allocations: 41.75 kB / 0.9535 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.8852, allocations: 10.27 kB / 0.9535 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003687/0.8856, allocations: 166.8 kB / 0.9537 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.8857, allocations: 0.6871 MB / 0.9544 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001749/0.8859, allocations: 42.2 kB / 0.9544 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.158e-05/0.886, allocations: 26.08 kB / 0.9544 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.886, allocations: 0 / 0.9544 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of Templates: time 0.003151/0.8891, allocations: 0.9938 MB / 0.9554 GB, free: 3.91 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches