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.001538/0.001538, allocations: 104.7 kB / 15.98 MB, free: 6.344 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.001777/0.001777, allocations: 196.1 kB / 16.91 MB, free: 6.184 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.416/1.416, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.719/2.719, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 75.86 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3065, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001891/0.3084, allocations: 0.6424 MB / 1.065 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003732/0.3088, allocations: 115.6 kB / 1.065 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.767e-05/0.3088, allocations: 4 kB / 1.065 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.3089, allocations: 0 / 1.065 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.412e-06/0.3089, allocations: 4 kB / 1.065 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003206/0.3092, allocations: 31.95 kB / 1.065 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.3093, allocations: 63.94 kB / 1.065 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.389e-05/0.3094, allocations: 3.938 kB / 1.065 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.346e-05/0.3094, allocations: 23.98 kB / 1.065 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.24e-05/0.3095, allocations: 23.95 kB / 1.065 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.3095, allocations: 4 kB / 1.065 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.3096, allocations: 43.97 kB / 1.065 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.821e-05/0.3097, allocations: 27.89 kB / 1.065 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.804e-05/0.3097, allocations: 23.92 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.648e-05/0.3098, allocations: 43.92 kB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3098, allocations: 0 / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3098, allocations: 0 / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3098, allocations: 0 / 1.065 GB, free: 14.05 MB / 0.8419 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.000531/0.3104, allocations: 367.6 kB / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3104, allocations: 12.62 kB / 1.066 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.838e-05/0.3105, allocations: 4.938 kB / 1.066 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.3106, allocations: 168.6 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002808/0.3109, allocations: 285.6 kB / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.3109, allocations: 384 / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002596/0.3111, allocations: 90.06 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3112, allocations: 3.938 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.3112, allocations: 4 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3112, allocations: 3.938 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003622/0.3116, allocations: 131.8 kB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002031/0.3118, allocations: 173.6 kB / 1.066 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.3121, allocations: 98.52 kB / 1.066 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.3123, allocations: 44.83 kB / 1.066 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.3123, allocations: 3.984 kB / 1.066 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.3123, allocations: 46.5 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.3123, allocations: 0 / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.0005461/0.3129, allocations: 145.8 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.3129, allocations: 55.41 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.724e-05/0.313, allocations: 93.86 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.313, allocations: 29.7 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.761e-05/0.3131, allocations: 80.14 kB / 1.067 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.324e-05/0.3131, allocations: 35.45 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-05/0.3132, allocations: 25.7 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3133, allocations: 318.8 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.3135, allocations: 27.97 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.3136, allocations: 35.97 kB / 1.067 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.3139, allocations: 84.69 kB / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3139, allocations: 0 / 1.067 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003347/0.3142, allocations: 106.3 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3143, allocations: 7.938 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.3143, allocations: 4 kB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.3143, allocations: 0 / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.3145, allocations: 27.97 kB / 1.068 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.3145, allocations: 7.922 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.223e-05/0.3145, allocations: 11.84 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.3146, allocations: 8 kB / 1.068 GB, free: 11.27 MB / 0.8419 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.47e-05/0.3147, allocations: 120 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.3147, allocations: 7.938 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.87e-05/0.3147, allocations: 11.97 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3147, allocations: 3.938 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3147, allocations: 0 / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3147, allocations: 0 / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.3149, allocations: 181.5 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3149, allocations: 3.984 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.315, allocations: 23.98 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.3151, allocations: 7.938 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.3151, allocations: 0 / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3151, allocations: 7.922 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3151, allocations: 3.938 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003708/0.3155, allocations: 137.1 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/0.3155, allocations: 85.02 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.3155, allocations: 3.938 kB / 1.068 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.489e-05/0.3156, allocations: 15.98 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/0.3157, allocations: 11.92 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.3157, allocations: 7.984 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.239e-05/0.3157, allocations: 75.28 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/0.3157, allocations: 0 / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002201/0.316, allocations: 24 kB / 1.068 GB, free: 10.46 MB / 0.8419 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.0002216/0.3162, allocations: 127.1 kB / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003579/0.3166, allocations: 91.94 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3166, allocations: 0 / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.3167, allocations: 47.91 kB / 1.069 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.3169, allocations: 9.719 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004593/0.3174, allocations: 202.5 kB / 1.069 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.3178, allocations: 0.6885 MB / 1.069 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.92e-05/0.3178, allocations: 27.41 kB / 1.069 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3179, allocations: 4 kB / 1.069 GB, free: 9.203 MB / 0.8419 GB Notification: Performance of Templates: time 0.003533/0.3214, allocations: 1.311 MB / 1.071 GB, free: 7.891 MB / 0.8419 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=400 -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/jenkins1/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