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.001189/0.001189, allocations: 107.8 kB / 16.41 MB, free: 6.453 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.001185/0.001185, allocations: 192 kB / 17.34 MB, free: 5.715 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.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.395/2.395, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 71.89 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7159/0.7178, allocations: 151.6 MB / 1.167 GB, free: 3.98 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001581/0.7194, allocations: 0.5764 MB / 1.168 GB, free: 3.41 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003607/0.7198, allocations: 107.6 kB / 1.168 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.748e-05/0.7198, allocations: 3.938 kB / 1.168 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.582e-05/0.7199, allocations: 0 / 1.168 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.09e-06/0.7199, allocations: 4 kB / 1.168 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003112/0.7202, allocations: 35.89 kB / 1.168 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.7203, allocations: 67.92 kB / 1.168 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.066e-05/0.7204, allocations: 4 kB / 1.168 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.506e-05/0.7204, allocations: 23.92 kB / 1.168 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.105e-05/0.7205, allocations: 23.95 kB / 1.168 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.7205, allocations: 4 kB / 1.168 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.7206, allocations: 51.95 kB / 1.168 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.626e-05/0.7207, allocations: 19.97 kB / 1.168 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.839e-05/0.7207, allocations: 15.92 kB / 1.168 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001398/0.7208, allocations: 75.83 kB / 1.168 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.7209, allocations: 0 / 1.168 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7209, allocations: 7.875 kB / 1.168 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.7209, allocations: 0 / 1.168 GB, free: 2.973 MB / 0.8887 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.0005202/0.7214, allocations: 376.3 kB / 1.169 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.7214, allocations: 8.031 kB / 1.169 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.7215, allocations: 12.92 kB / 1.169 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.7216, allocations: 164.3 kB / 1.169 GB, free: 2.336 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002743/0.7219, allocations: 273.6 kB / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.7219, allocations: 12.38 kB / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.7221, allocations: 82.12 kB / 1.169 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.7222, allocations: 3.938 kB / 1.169 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.7222, allocations: 4 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.7222, allocations: 4 kB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003269/0.7225, allocations: 127.8 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001982/0.7227, allocations: 189.5 kB / 1.17 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/0.7231, allocations: 98.45 kB / 1.17 GB, free: 1.434 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/0.7232, allocations: 48.83 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.7232, allocations: 0 / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.7233, allocations: 38.56 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.7233, allocations: 0 / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.0005256/0.7238, allocations: 145.9 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.7239, allocations: 51.41 kB / 1.17 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.078e-05/0.7239, allocations: 101.7 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.7239, allocations: 29.7 kB / 1.17 GB, free: 0.9805 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.724, allocations: 80.14 kB / 1.17 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.817e-05/0.724, allocations: 35.69 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.998e-05/0.7241, allocations: 29.7 kB / 1.17 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.7242, allocations: 314.8 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.7244, allocations: 31.97 kB / 1.171 GB, free: 492 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.7245, allocations: 31.97 kB / 1.171 GB, free: 460 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.7247, allocations: 72.81 kB / 1.171 GB, free: 384 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7248, allocations: 4 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003412/0.7251, allocations: 117.5 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.7251, allocations: 7.938 kB / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.7251, allocations: 0 / 1.171 GB, free: 248 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.7252, allocations: 4 kB / 1.171 GB, free: 244 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.7253, allocations: 27.91 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.7253, allocations: 3.984 kB / 1.171 GB, free: 212 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.607e-05/0.7254, allocations: 4 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.7254, allocations: 8 kB / 1.171 GB, free: 200 kB / 0.8887 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.306e-05/0.7255, allocations: 125.8 kB / 1.171 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.7255, allocations: 11.89 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.317e-05/0.7256, allocations: 7.969 kB / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.7256, allocations: 0 / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.7256, allocations: 0 / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.7256, allocations: 0 / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.7258, allocations: 181.6 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.7258, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.7259, allocations: 27.91 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.7259, allocations: 7.938 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.7259, allocations: 11.98 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.7259, allocations: 4 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.7259, allocations: 0 / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.7263, allocations: 145.7 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.7263, allocations: 85.05 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.7263, allocations: 7.922 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.16e-05/0.7264, allocations: 4 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.385e-05/0.7265, allocations: 15.98 kB / 1.171 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.7265, allocations: 7.984 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.448e-05/0.7265, allocations: 77.75 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.234e-06/0.7265, allocations: 0 / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002026/0.7267, allocations: 23.94 kB / 1.171 GB, free: 15.36 MB / 0.9044 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.0001907/0.7269, allocations: 119.2 kB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003281/0.7273, allocations: 87.88 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7273, allocations: 4 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.7274, allocations: 43.91 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.7276, allocations: 8 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.7279, allocations: 152.8 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.7283, allocations: 0.6846 MB / 1.173 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001378/0.7284, allocations: 39.95 kB / 1.173 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.267e-05/0.7285, allocations: 19.42 kB / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of SimCode: time 2.9e-07/0.7285, allocations: 0 / 1.173 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of Templates: time 0.003295/0.7318, allocations: 1.033 MB / 1.174 GB, free: 13.12 MB / 0.9044 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 -s cvode -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/jenkins1/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