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.008112/0.008112, allocations: 95.05 kB / 15.73 MB, free: 6.039 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.00155/0.00155, allocations: 201.5 kB / 16.68 MB, free: 5.969 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.373/1.373, 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 9.1.3-maint.9.1.x/package.mo): time 2.335/2.335, allocations: 390.2 MB / 0.6648 GB, free: 196 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 61.19 kB / 0.9509 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.328, allocations: 140.4 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001757/0.3299, allocations: 0.5843 MB / 1.089 GB, free: 0.8789 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003864/0.3303, allocations: 107.9 kB / 1.089 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.218e-05/0.3303, allocations: 0 / 1.089 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.672e-05/0.3303, allocations: 0 / 1.089 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.422e-06/0.3303, allocations: 0 / 1.089 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003904/0.3307, allocations: 39.88 kB / 1.089 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.3309, allocations: 67.94 kB / 1.089 GB, free: 0.668 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.24e-05/0.331, allocations: 8 kB / 1.089 GB, free: 0.6602 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.818e-05/0.331, allocations: 23.97 kB / 1.089 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.404e-05/0.331, allocations: 19.97 kB / 1.089 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.3311, allocations: 4 kB / 1.089 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.3312, allocations: 51.94 kB / 1.089 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.236e-05/0.3313, allocations: 15.98 kB / 1.089 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.3313, allocations: 19.86 kB / 1.089 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.3315, allocations: 83.75 kB / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3315, allocations: 0 / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3315, allocations: 0 / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.3315, allocations: 4 kB / 1.089 GB, free: 452 kB / 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.0005338/0.332, allocations: 367.4 kB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.3321, allocations: 16.02 kB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.3321, allocations: 8.891 kB / 1.089 GB, free: 8 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.3323, allocations: 168.3 kB / 1.089 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002759/0.3326, allocations: 281.6 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.3326, allocations: 384 / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.3329, allocations: 86.12 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3329, allocations: 7.938 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.3329, allocations: 4 kB / 1.09 GB, free: 15.37 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.3329, allocations: 3.984 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000345/0.3333, allocations: 131.8 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001952/0.3335, allocations: 169.7 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.3338, allocations: 106.4 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.3339, allocations: 40.83 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.334, allocations: 4 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.334, allocations: 38.56 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.334, allocations: 0 / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005628/0.3346, allocations: 149.8 kB / 1.09 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.3346, allocations: 59.34 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.602e-05/0.3347, allocations: 89.86 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.3347, allocations: 29.7 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.3347, allocations: 80.14 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.833e-05/0.3348, allocations: 43.67 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/0.3349, allocations: 25.7 kB / 1.091 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.335, allocations: 318.8 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.3351, allocations: 27.97 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.3353, allocations: 35.97 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/0.3356, allocations: 77.41 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.3356, allocations: 4 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003143/0.3359, allocations: 117.5 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3359, allocations: 11.94 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.3359, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.3359, allocations: 0 / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.3361, allocations: 23.97 kB / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3361, allocations: 0 / 1.091 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.909e-05/0.3362, allocations: 15.89 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/0.3362, allocations: 7.984 kB / 1.091 GB, free: 13.66 MB / 0.8575 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 8.642e-05/0.3363, allocations: 113.8 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.3363, allocations: 11.94 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.707e-05/0.3364, allocations: 7.969 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3364, allocations: 0 / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.3364, allocations: 0 / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.3364, allocations: 3.984 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.3365, allocations: 185.5 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3365, allocations: 0 / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.3367, allocations: 27.92 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.3367, allocations: 3.938 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.3367, allocations: 3.984 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3367, allocations: 4 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3367, allocations: 0 / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.337, allocations: 137.1 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-05/0.3371, allocations: 85.05 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.3371, allocations: 3.938 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.867e-05/0.3372, allocations: 11.94 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.54e-05/0.3372, allocations: 7.984 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.3373, allocations: 11.92 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.774e-05/0.3373, allocations: 79.28 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3373, allocations: 3.938 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002177/0.3375, allocations: 23.94 kB / 1.092 GB, free: 12.84 MB / 0.8575 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.0002027/0.3377, allocations: 123.2 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003355/0.3381, allocations: 79.94 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.3381, allocations: 0 / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.3382, allocations: 51.91 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.3384, allocations: 5.406 kB / 1.092 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004228/0.3388, allocations: 160.9 kB / 1.092 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.3391, allocations: 0.6821 MB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001824/0.3393, allocations: 39.95 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.84e-05/0.3393, allocations: 19.42 kB / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of SimCode: time 1.964e-06/0.3393, allocations: 0 / 1.093 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of Templates: time 0.003238/0.3426, allocations: 1.035 MB / 1.094 GB, free: 10.6 MB / 0.8575 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