Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008387/0.008387, allocations: 98.89 kB / 15.73 MB, free: 6.043 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.002141/0.002141, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.886/2.886, allocations: 469.8 MB / 0.7425 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 59.91 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.327, allocations: 159.1 MB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.002087/0.3291, allocations: 0.59 MB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004692/0.3296, allocations: 103.6 kB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.345e-05/0.3296, allocations: 0 / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.232e-05/0.3296, allocations: 3.938 kB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.144e-06/0.3297, allocations: 0 / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.3301, allocations: 47.88 kB / 1.221 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000169/0.3302, allocations: 63.94 kB / 1.221 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.692e-05/0.3303, allocations: 4 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.612e-05/0.3303, allocations: 27.91 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.418e-05/0.3304, allocations: 23.97 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.3304, allocations: 0 / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.3306, allocations: 51.94 kB / 1.222 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.662e-05/0.3306, allocations: 15.98 kB / 1.222 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.3307, allocations: 23.86 kB / 1.222 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.3308, allocations: 71.81 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3308, allocations: 0 / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3308, allocations: 4 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.942e-06/0.3308, allocations: 0 / 1.222 GB, free: 12.75 MB / 0.9825 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.0005093/0.3313, allocations: 379.3 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.3314, allocations: 12.02 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/0.3314, allocations: 4.938 kB / 1.222 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.714e-05/0.3315, allocations: 166.2 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002874/0.3318, allocations: 281.6 kB / 1.222 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.3318, allocations: 4.375 kB / 1.222 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.3321, allocations: 82.19 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3321, allocations: 3.938 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.3321, allocations: 7.938 kB / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3321, allocations: 0 / 1.223 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003225/0.3324, allocations: 131.8 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001757/0.3326, allocations: 181.5 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.3328, allocations: 94.45 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.333, allocations: 40.83 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.333, allocations: 0 / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.333, allocations: 34.56 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.002e-06/0.333, allocations: 4 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0004894/0.3335, allocations: 149.8 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.3335, allocations: 51.41 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.163e-05/0.3336, allocations: 97.86 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.3336, allocations: 25.7 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.162e-05/0.3336, allocations: 80.14 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.3337, allocations: 39.67 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.3337, allocations: 33.7 kB / 1.223 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.3338, allocations: 314.8 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.3339, allocations: 31.97 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.3341, allocations: 31.97 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.3343, allocations: 77.41 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3343, allocations: 3.938 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002899/0.3346, allocations: 125.5 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.3346, allocations: 11.94 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3346, allocations: 0 / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.3346, allocations: 4 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.3348, allocations: 23.97 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3348, allocations: 0 / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.42e-05/0.3348, allocations: 4 kB / 1.224 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.3349, allocations: 7.984 kB / 1.224 GB, free: 9.977 MB / 0.9825 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.772e-05/0.3349, allocations: 114.4 kB / 1.224 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.817e-05/0.335, allocations: 11.89 kB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/0.335, allocations: 15.97 kB / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.335, allocations: 0 / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.335, allocations: 0 / 1.224 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.335, allocations: 3.984 kB / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.3351, allocations: 181.5 kB / 1.224 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3351, allocations: 0 / 1.224 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.3352, allocations: 23.92 kB / 1.224 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3352, allocations: 3.938 kB / 1.224 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.3353, allocations: 11.98 kB / 1.224 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3353, allocations: 0 / 1.224 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3353, allocations: 4 kB / 1.224 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.3356, allocations: 133 kB / 1.225 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.443e-05/0.3356, allocations: 89.08 kB / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.3356, allocations: 7.938 kB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.203e-05/0.3357, allocations: 4 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.3357, allocations: 11.92 kB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.3357, allocations: 11.98 kB / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.539e-05/0.3358, allocations: 79.28 kB / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3358, allocations: 0 / 1.225 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002251/0.336, allocations: 23.88 kB / 1.225 GB, free: 9.16 MB / 0.9825 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.0001807/0.3362, allocations: 123.2 kB / 1.225 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003298/0.3365, allocations: 79.88 kB / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3365, allocations: 0 / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.3367, allocations: 43.97 kB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.3368, allocations: 13.88 kB / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004345/0.3373, allocations: 164.7 kB / 1.225 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.3376, allocations: 0.6884 MB / 1.226 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001826/0.3377, allocations: 43.89 kB / 1.226 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/0.3378, allocations: 15.42 kB / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3378, allocations: 0 / 1.226 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of Templates: time 0.003148/0.3409, allocations: 1.027 MB / 1.227 GB, free: 6.91 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches