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.0116/0.0116, allocations: 97.41 kB / 15.73 MB, free: 6.047 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.001772/0.001772, allocations: 197 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.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.633/2.633, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.91 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3432, allocations: 151.6 MB / 1.167 GB, free: 6.789 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001998/0.3452, allocations: 0.5883 MB / 1.167 GB, free: 6.199 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003637/0.3456, allocations: 104 kB / 1.167 GB, free: 6.098 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.755e-05/0.3457, allocations: 0 / 1.167 GB, free: 6.098 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.787e-05/0.3457, allocations: 4 kB / 1.167 GB, free: 6.094 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 1.853e-05/0.3457, allocations: 0 / 1.167 GB, free: 6.094 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.3461, allocations: 39.84 kB / 1.167 GB, free: 6.055 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.3463, allocations: 67.92 kB / 1.167 GB, free: 5.988 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.064e-05/0.3463, allocations: 7.984 kB / 1.167 GB, free: 5.98 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.425e-05/0.3464, allocations: 19.98 kB / 1.167 GB, free: 5.961 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.949e-05/0.3464, allocations: 35.89 kB / 1.167 GB, free: 5.926 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.3465, allocations: 0 / 1.167 GB, free: 5.926 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.3466, allocations: 39.97 kB / 1.168 GB, free: 5.887 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.588e-05/0.3466, allocations: 27.95 kB / 1.168 GB, free: 5.859 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.357e-05/0.3467, allocations: 19.92 kB / 1.168 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.3468, allocations: 67.78 kB / 1.168 GB, free: 5.773 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3468, allocations: 3.984 kB / 1.168 GB, free: 5.77 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3469, allocations: 0 / 1.168 GB, free: 5.77 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3469, allocations: 0 / 1.168 GB, free: 5.77 MB / 0.92 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.0005378/0.3474, allocations: 375.3 kB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3475, allocations: 12.03 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.3475, allocations: 4.938 kB / 1.168 GB, free: 5.336 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.3476, allocations: 168.3 kB / 1.168 GB, free: 5.133 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002748/0.3479, allocations: 281.6 kB / 1.168 GB, free: 4.797 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.3479, allocations: 8.375 kB / 1.168 GB, free: 4.789 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.3482, allocations: 94 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3482, allocations: 3.938 kB / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.3482, allocations: 0 / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3482, allocations: 0 / 1.169 GB, free: 4.688 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003443/0.3486, allocations: 131.8 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.3488, allocations: 181.6 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.3491, allocations: 98.52 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.3492, allocations: 45.09 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.3493, allocations: 11.94 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.3493, allocations: 30.56 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.3493, allocations: 0 / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0005146/0.3498, allocations: 141.5 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.3499, allocations: 55.41 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.379e-05/0.3499, allocations: 93.86 kB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.3499, allocations: 29.7 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.052e-05/0.35, allocations: 80.14 kB / 1.169 GB, free: 3.699 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.856e-05/0.35, allocations: 35.69 kB / 1.169 GB, free: 3.664 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.075e-05/0.3501, allocations: 29.7 kB / 1.169 GB, free: 3.629 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.3502, allocations: 318.8 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.3503, allocations: 31.97 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.3505, allocations: 35.91 kB / 1.17 GB, free: 3.242 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.3507, allocations: 80.81 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3508, allocations: 0 / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003231/0.3511, allocations: 113.5 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.3511, allocations: 11.94 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.3511, allocations: 0 / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3512, allocations: 0 / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001663/0.3513, allocations: 23.92 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.3513, allocations: 4 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.842e-05/0.3514, allocations: 11.92 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.3514, allocations: 3.984 kB / 1.17 GB, free: 2.988 MB / 0.92 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.317e-05/0.3515, allocations: 121.8 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.009e-05/0.3515, allocations: 11.89 kB / 1.17 GB, free: 2.848 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.448e-05/0.3516, allocations: 11.97 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3516, allocations: 0 / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3516, allocations: 0 / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3516, allocations: 4 kB / 1.17 GB, free: 2.824 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.3518, allocations: 173.6 kB / 1.17 GB, free: 2.605 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3518, allocations: 0 / 1.17 GB, free: 2.605 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.3519, allocations: 31.91 kB / 1.17 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3519, allocations: 7.938 kB / 1.17 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.352, allocations: 3.938 kB / 1.17 GB, free: 2.562 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.352, allocations: 4 kB / 1.17 GB, free: 2.559 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.352, allocations: 0 / 1.17 GB, free: 2.559 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.3523, allocations: 153.7 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/0.3524, allocations: 77.11 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.3524, allocations: 7.938 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.582e-05/0.3525, allocations: 11.98 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/0.3525, allocations: 7.984 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.3525, allocations: 4 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.729e-05/0.3526, allocations: 75.28 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3526, allocations: 0 / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002313/0.3528, allocations: 31.92 kB / 1.171 GB, free: 2.16 MB / 0.92 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.0002307/0.353, allocations: 119.2 kB / 1.171 GB, free: 2.035 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003179/0.3534, allocations: 83.88 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3534, allocations: 4 kB / 1.171 GB, free: 1.949 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.3535, allocations: 51.91 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.3537, allocations: 4 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000391/0.3541, allocations: 164.7 kB / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002403/0.3543, allocations: 0.6807 MB / 1.172 GB, free: 1.004 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001543/0.3545, allocations: 39.95 kB / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/0.3545, allocations: 19.42 kB / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of SimCode: time 3.41e-07/0.3545, allocations: 0 / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of Templates: time 0.003381/0.3579, allocations: 1.026 MB / 1.173 GB, free: 15.93 MB / 0.9356 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/jenkins/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