Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.163/2.163, allocations: 393.5 MB / 408.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 190.7 kB / 0.4902 GB, free: 2.215 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 223.1 MB / 0.7992 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009427/0.0009428, allocations: 104.2 kB / 0.9396 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000397/0.0003972, allocations: 10.44 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3158, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1931/0.5089, allocations: 149.7 MB / 1.375 GB, free: 3.844 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.5093, allocations: 79.95 kB / 1.375 GB, free: 3.766 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003944/0.5132, allocations: 1.223 MB / 1.377 GB, free: 2.539 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5132, allocations: 0 / 1.377 GB, free: 2.539 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.5133, allocations: 0 / 1.377 GB, free: 2.539 MB / 0.8698 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.0004649/0.5137, allocations: 355.3 kB / 1.377 GB, free: 2.145 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.5138, allocations: 12.56 kB / 1.377 GB, free: 2.133 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.549e-05/0.5139, allocations: 7.906 kB / 1.377 GB, free: 2.125 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.514, allocations: 167 kB / 1.377 GB, free: 1.922 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000305/0.5143, allocations: 289 kB / 1.377 GB, free: 1.578 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.5143, allocations: 4 kB / 1.377 GB, free: 1.574 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002657/0.5146, allocations: 77.62 kB / 1.378 GB, free: 1.492 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.5146, allocations: 0 / 1.378 GB, free: 1.492 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.5146, allocations: 4 kB / 1.378 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.5147, allocations: 4 kB / 1.378 GB, free: 1.484 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000359/0.515, allocations: 135.8 kB / 1.378 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002217/0.5153, allocations: 177.5 kB / 1.378 GB, free: 1.129 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.5155, allocations: 98.52 kB / 1.378 GB, free: 1.023 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.217e-05/0.5156, allocations: 0 / 1.378 GB, free: 1.023 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.5156, allocations: 34.89 kB / 1.378 GB, free: 0.9805 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 1.012e-06/0.5156, allocations: 0 / 1.378 GB, free: 0.9805 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0005268/0.5162, allocations: 149.5 kB / 1.378 GB, free: 0.8281 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.5162, allocations: 51.41 kB / 1.378 GB, free: 0.7656 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.589e-05/0.5163, allocations: 89 kB / 1.378 GB, free: 0.6719 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.5163, allocations: 29.7 kB / 1.378 GB, free: 0.6367 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.723e-05/0.5164, allocations: 80.33 kB / 1.378 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.611e-05/0.5164, allocations: 43.38 kB / 1.378 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-06/0.5164, allocations: 4 kB / 1.378 GB, free: 0.5039 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.5166, allocations: 310.8 kB / 1.379 GB, free: 196 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.5167, allocations: 35.97 kB / 1.379 GB, free: 160 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.5168, allocations: 36.34 kB / 1.379 GB, free: 124 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.517, allocations: 40.09 kB / 1.379 GB, free: 84 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.517, allocations: 4 kB / 1.379 GB, free: 80 kB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003297/0.5173, allocations: 113.5 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.5174, allocations: 8 kB / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.5174, allocations: 0 / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.5174, allocations: 3.984 kB / 1.379 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.5176, allocations: 19.98 kB / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.5176, allocations: 0 / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.484e-05/0.5176, allocations: 7.938 kB / 1.379 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.5177, allocations: 7.984 kB / 1.379 GB, free: 15.91 MB / 0.8855 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001175/0.5178, allocations: 121.8 kB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.5178, allocations: 11.92 kB / 1.379 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.953e-05/0.5179, allocations: 15.95 kB / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.5179, allocations: 0 / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.5179, allocations: 0 / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.5179, allocations: 0 / 1.379 GB, free: 15.76 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.5181, allocations: 181.5 kB / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.5181, allocations: 3.953 kB / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.5182, allocations: 19.98 kB / 1.379 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.5182, allocations: 4 kB / 1.379 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.5182, allocations: 11.98 kB / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.5182, allocations: 0 / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.5182, allocations: 0 / 1.379 GB, free: 15.49 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.5186, allocations: 140.9 kB / 1.379 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.5186, allocations: 88.97 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.5187, allocations: 4 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.665e-05/0.5187, allocations: 4 kB / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/0.5188, allocations: 15.97 kB / 1.38 GB, free: 15.21 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.5188, allocations: 4 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.134e-05/0.5188, allocations: 75.28 kB / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1e-07/0.5188, allocations: 0 / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002255/0.5191, allocations: 31.98 kB / 1.38 GB, free: 15.1 MB / 0.8855 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 (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.0002556/0.5193, allocations: 120 kB / 1.38 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003438/0.5197, allocations: 89.39 kB / 1.38 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.5197, allocations: 0 / 1.38 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.5199, allocations: 51.97 kB / 1.38 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001019/0.52, allocations: 3.938 kB / 1.38 GB, free: 14.83 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004613/0.5204, allocations: 174 kB / 1.38 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.5208, allocations: 0.6848 MB / 1.381 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001383/0.521, allocations: 47.73 kB / 1.381 GB, free: 13.88 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.537e-05/0.521, allocations: 19.42 kB / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of SimCode: time 5.51e-07/0.521, allocations: 0 / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of Templates: time 0.003336/0.5244, allocations: 0.9097 MB / 1.382 GB, free: 12.95 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches