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.001391/0.001391, allocations: 105.3 kB / 16.27 MB, free: 5.949 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.0015/0.0015, allocations: 190.1 kB / 17.2 MB, free: 5.586 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.368/1.368, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.45/2.45, allocations: 437 MB / 0.711 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 68.88 kB / 0.8699 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3373, allocations: 151.6 MB / 1.018 GB, free: 10.7 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.002139/0.3395, allocations: 0.5708 MB / 1.019 GB, free: 10.12 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004265/0.34, allocations: 107.6 kB / 1.019 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.624e-05/0.34, allocations: 7.938 kB / 1.019 GB, free: 10.01 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.493e-05/0.3401, allocations: 7.922 kB / 1.019 GB, free: 10 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.071e-06/0.3401, allocations: 4 kB / 1.019 GB, free: 10 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.3405, allocations: 31.91 kB / 1.019 GB, free: 9.969 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.3406, allocations: 63.92 kB / 1.019 GB, free: 9.906 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.763e-05/0.3407, allocations: 4 kB / 1.019 GB, free: 9.902 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.272e-05/0.3407, allocations: 23.98 kB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.618e-05/0.3408, allocations: 23.95 kB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.3408, allocations: 4 kB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.341, allocations: 39.97 kB / 1.019 GB, free: 9.812 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.632e-05/0.341, allocations: 27.95 kB / 1.019 GB, free: 9.785 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.719e-05/0.3411, allocations: 23.86 kB / 1.019 GB, free: 9.762 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.3412, allocations: 71.83 kB / 1.019 GB, free: 9.691 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3413, allocations: 0 / 1.019 GB, free: 9.691 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3413, allocations: 0 / 1.019 GB, free: 9.691 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.637e-06/0.3413, allocations: 0 / 1.019 GB, free: 9.691 MB / 0.795 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.0005814/0.3419, allocations: 375.4 kB / 1.019 GB, free: 9.273 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3419, allocations: 8.031 kB / 1.019 GB, free: 9.266 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.652e-05/0.342, allocations: 4.938 kB / 1.019 GB, free: 9.262 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.3421, allocations: 172.6 kB / 1.019 GB, free: 9.055 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003102/0.3424, allocations: 277.6 kB / 1.02 GB, free: 8.723 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.3425, allocations: 8.375 kB / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.3427, allocations: 82.19 kB / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3427, allocations: 3.938 kB / 1.02 GB, free: 8.625 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.3428, allocations: 0 / 1.02 GB, free: 8.625 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3428, allocations: 3.938 kB / 1.02 GB, free: 8.621 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003609/0.3431, allocations: 135.8 kB / 1.02 GB, free: 8.488 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001967/0.3433, allocations: 181.5 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.3436, allocations: 94.52 kB / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.3438, allocations: 44.83 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.798e-05/0.3438, allocations: 8 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.3439, allocations: 30.56 kB / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.3439, allocations: 0 / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.00055/0.3444, allocations: 157.7 kB / 1.02 GB, free: 7.906 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.3445, allocations: 51.41 kB / 1.021 GB, free: 7.844 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.178e-05/0.3445, allocations: 89.86 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.3446, allocations: 33.7 kB / 1.021 GB, free: 7.707 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.877e-05/0.3446, allocations: 80.14 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.74e-05/0.3447, allocations: 39.45 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.173e-05/0.3447, allocations: 33.64 kB / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3448, allocations: 310.8 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.345, allocations: 31.97 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.3451, allocations: 35.97 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002909/0.3454, allocations: 72.81 kB / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.3455, allocations: 4 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003339/0.3458, allocations: 117.5 kB / 1.021 GB, free: 6.969 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3458, allocations: 7.938 kB / 1.021 GB, free: 6.961 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3458, allocations: 0 / 1.021 GB, free: 6.961 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3459, allocations: 3.984 kB / 1.021 GB, free: 6.957 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.346, allocations: 27.97 kB / 1.021 GB, free: 6.93 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.346, allocations: 0 / 1.021 GB, free: 6.93 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.944e-05/0.3461, allocations: 11.84 kB / 1.021 GB, free: 6.918 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.3462, allocations: 4 kB / 1.021 GB, free: 6.914 MB / 0.795 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.301e-05/0.3463, allocations: 125.8 kB / 1.021 GB, free: 6.781 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.3463, allocations: 3.938 kB / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.87e-05/0.3463, allocations: 11.97 kB / 1.022 GB, free: 6.766 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.3463, allocations: 4 kB / 1.022 GB, free: 6.762 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3463, allocations: 0 / 1.022 GB, free: 6.762 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3463, allocations: 0 / 1.022 GB, free: 6.762 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.3465, allocations: 181.5 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3465, allocations: 0 / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.3466, allocations: 23.98 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.3467, allocations: 11.88 kB / 1.022 GB, free: 6.5 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.3467, allocations: 7.984 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3467, allocations: 4 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3467, allocations: 0 / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.3471, allocations: 137.8 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.999e-05/0.3471, allocations: 81.02 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.3471, allocations: 11.92 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.787e-05/0.3472, allocations: 4 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.163e-05/0.3473, allocations: 15.98 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.3473, allocations: 7.984 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.924e-05/0.3473, allocations: 75.28 kB / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3473, allocations: 0 / 1.022 GB, free: 6.125 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002402/0.3476, allocations: 27.94 kB / 1.022 GB, free: 6.098 MB / 0.795 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.0002343/0.3478, allocations: 119.2 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003531/0.3482, allocations: 91.88 kB / 1.022 GB, free: 5.879 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3482, allocations: 4 kB / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.3484, allocations: 52.23 kB / 1.022 GB, free: 5.824 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.3485, allocations: 4.219 kB / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004605/0.349, allocations: 194.6 kB / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.3493, allocations: 0.6813 MB / 1.023 GB, free: 4.891 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.471e-05/0.3494, allocations: 31.34 kB / 1.023 GB, free: 4.859 MB / 0.795 GB Notification: Performance of SimCode: time 3.01e-07/0.3494, allocations: 4 kB / 1.023 GB, free: 4.855 MB / 0.795 GB Notification: Performance of Templates: time 0.003326/0.3527, allocations: 1.312 MB / 1.025 GB, free: 3.543 MB / 0.795 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 -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