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.005455/0.005455, allocations: 102.6 kB / 15.73 MB, free: 6.035 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.001123/0.001123, allocations: 193.1 kB / 16.67 MB, free: 5.973 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.407/2.407, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 64.61 kB / 0.9509 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3198, allocations: 140.4 MB / 1.088 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.002012/0.3219, allocations: 0.5727 MB / 1.089 GB, free: 1.016 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004107/0.3223, allocations: 107.9 kB / 1.089 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.97e-05/0.3224, allocations: 0 / 1.089 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.866e-05/0.3224, allocations: 0 / 1.089 GB, free: 0.9102 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.684e-06/0.3225, allocations: 3.938 kB / 1.089 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004042/0.3229, allocations: 43.89 kB / 1.089 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.323, allocations: 59.94 kB / 1.089 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.642e-05/0.3231, allocations: 7.984 kB / 1.089 GB, free: 0.7969 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.711e-05/0.3231, allocations: 27.97 kB / 1.089 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.379e-05/0.3232, allocations: 19.97 kB / 1.089 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.3232, allocations: 0 / 1.089 GB, free: 0.75 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.3233, allocations: 47.95 kB / 1.089 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.186e-05/0.3234, allocations: 27.97 kB / 1.089 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.28e-05/0.3234, allocations: 27.8 kB / 1.089 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.3236, allocations: 71.81 kB / 1.089 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3236, allocations: 0 / 1.089 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3236, allocations: 4 kB / 1.089 GB, free: 0.5742 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.3236, allocations: 0 / 1.089 GB, free: 0.5742 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.0005716/0.3242, allocations: 367.6 kB / 1.089 GB, free: 168 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3243, allocations: 8.031 kB / 1.089 GB, free: 160 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.225e-05/0.3243, allocations: 4.938 kB / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.3244, allocations: 176.3 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002753/0.3247, allocations: 277.6 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.3248, allocations: 4.375 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.325, allocations: 86.12 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3251, allocations: 7.875 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.3251, allocations: 3.984 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3251, allocations: 0 / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003421/0.3254, allocations: 131.8 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001988/0.3256, allocations: 177.6 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.326, allocations: 102.5 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001399/0.3261, allocations: 40.83 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.237e-05/0.3261, allocations: 8 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.3262, allocations: 30.56 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.3262, allocations: 0 / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.000554/0.3267, allocations: 153.8 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.3268, allocations: 55.41 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.152e-05/0.3269, allocations: 89.86 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.3269, allocations: 29.7 kB / 1.091 GB, free: 14.6 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.91e-05/0.3269, allocations: 80.14 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.142e-05/0.327, allocations: 39.44 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.522e-05/0.3271, allocations: 33.7 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3272, allocations: 310.8 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.3274, allocations: 39.91 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.3275, allocations: 35.97 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.3278, allocations: 80.75 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3278, allocations: 0 / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003311/0.3282, allocations: 109.6 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.3282, allocations: 7.938 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3282, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.3282, allocations: 0 / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.3284, allocations: 27.92 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3284, allocations: 7.922 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.904e-05/0.3285, allocations: 15.84 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.3285, allocations: 0 / 1.091 GB, free: 13.8 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 0.0001171/0.3286, allocations: 121.8 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.3287, allocations: 3.938 kB / 1.092 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.89e-05/0.3287, allocations: 11.97 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.3287, allocations: 4 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3287, allocations: 0 / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3288, allocations: 0 / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.3289, allocations: 173.6 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3289, allocations: 7.938 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.3291, allocations: 31.91 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3291, allocations: 3.938 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.3291, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.3291, allocations: 4 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3291, allocations: 0 / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003909/0.3295, allocations: 137.1 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.3296, allocations: 84.95 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.3296, allocations: 11.94 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.192e-05/0.3297, allocations: 7.984 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.988e-05/0.3298, allocations: 11.98 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.3298, allocations: 0 / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.786e-05/0.3299, allocations: 75.28 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.894e-06/0.3299, allocations: 4 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003133/0.3302, allocations: 27.92 kB / 1.092 GB, free: 12.99 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.0002614/0.3304, allocations: 127.2 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003745/0.3308, allocations: 80.81 kB / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3308, allocations: 0 / 1.092 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.331, allocations: 51.91 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.3312, allocations: 6.156 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004733/0.3317, allocations: 168.9 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.332, allocations: 0.6807 MB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001696/0.3321, allocations: 39.95 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.523e-05/0.3322, allocations: 19.42 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of SimCode: time 4.11e-07/0.3322, allocations: 4 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of Templates: time 0.003635/0.3358, allocations: 1.027 MB / 1.094 GB, free: 10.74 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