Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.53/1.53, allocations: 249.5 MB / 257 MB, free: 6.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 176.9 kB / 316.3 MB, free: 3.324 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009889/0.0009888, allocations: 94.59 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.321e-05/2.324e-05, allocations: 11.98 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2642, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.855/1.119, allocations: 131.5 MB / 1.014 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/1.12, allocations: 72.14 kB / 1.014 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00365/1.123, allocations: 1.218 MB / 1.015 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.293e-06/1.123, allocations: 0 / 1.015 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.167e-06/1.123, allocations: 4 kB / 1.015 GB, free: 5.203 MB / 0.6355 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.0004569/1.124, allocations: 353.5 kB / 1.015 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.838e-05/1.124, allocations: 8.031 kB / 1.015 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.02e-05/1.124, allocations: 8 kB / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/1.124, allocations: 163 kB / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002674/1.124, allocations: 277 kB / 1.016 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/1.124, allocations: 7.938 kB / 1.016 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001888/1.124, allocations: 118.2 kB / 1.016 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/1.125, allocations: 64.08 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/1.125, allocations: 0 / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/1.125, allocations: 3.938 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/1.125, allocations: 4 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002449/1.125, allocations: 164.2 kB / 1.016 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/1.125, allocations: 78.8 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.556e-05/1.125, allocations: 26.61 kB / 1.016 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/1.125, allocations: 7.938 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/1.125, allocations: 41.55 kB / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.974e-06/1.125, allocations: 0 / 1.016 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001545/1.127, allocations: 191.8 kB / 1.016 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/1.127, allocations: 59.34 kB / 1.016 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.157e-05/1.127, allocations: 88.25 kB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/1.127, allocations: 25.7 kB / 1.017 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/1.127, allocations: 80.33 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.893e-05/1.127, allocations: 38.27 kB / 1.017 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-06/1.127, allocations: 0 / 1.017 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001512/1.127, allocations: 323.1 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.129e-05/1.127, allocations: 15.38 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.914e-05/1.127, allocations: 22.36 kB / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/1.129, allocations: 136.7 kB / 1.017 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.129, allocations: 0 / 1.017 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001273/1.13, allocations: 215.8 kB / 1.017 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/1.13, allocations: 9.875 kB / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.13, allocations: 4 kB / 1.017 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/1.13, allocations: 3.938 kB / 1.017 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/1.13, allocations: 23.97 kB / 1.017 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/1.13, allocations: 4 kB / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.272e-05/1.13, allocations: 3.906 kB / 1.017 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/1.13, allocations: 4 kB / 1.017 GB, free: 2.566 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001015/1.13, allocations: 101 kB / 1.017 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/1.13, allocations: 11.89 kB / 1.017 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.938e-05/1.13, allocations: 19.33 kB / 1.018 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/1.13, allocations: 0 / 1.018 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.13, allocations: 4 kB / 1.018 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/1.13, allocations: 0 / 1.018 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/1.131, allocations: 153.7 kB / 1.018 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/1.131, allocations: 0 / 1.018 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/1.131, allocations: 19.98 kB / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/1.131, allocations: 0 / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/1.131, allocations: 11.3 kB / 1.018 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/1.131, allocations: 4.766 kB / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.131, allocations: 0 / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/1.132, allocations: 235.2 kB / 1.018 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.787e-05/1.132, allocations: 84.95 kB / 1.018 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/1.132, allocations: 3.938 kB / 1.018 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.261e-05/1.132, allocations: 4 kB / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.657e-05/1.132, allocations: 26.47 kB / 1.018 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/1.132, allocations: 7.984 kB / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.481e-05/1.132, allocations: 75.28 kB / 1.018 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.61e-07/1.132, allocations: 4 kB / 1.018 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000251/1.133, allocations: 20 kB / 1.018 GB, free: 1.75 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000237/1.133, allocations: 126.8 kB / 1.018 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001443/1.133, allocations: 62.52 kB / 1.018 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/1.133, allocations: 0 / 1.018 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.45e-05/1.133, allocations: 35.3 kB / 1.018 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001029/1.133, allocations: 4 kB / 1.018 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/1.133, allocations: 108.2 kB / 1.018 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/1.134, allocations: 0.6923 MB / 1.019 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001451/1.134, allocations: 39.83 kB / 1.019 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.364e-05/1.134, allocations: 22.48 kB / 1.019 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of SimCode: time 2.71e-07/1.134, allocations: 0 / 1.019 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of Templates: time 0.002924/1.137, allocations: 0.8975 MB / 1.02 GB, free: 15.76 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches