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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.405/2.405, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001472/0.001472, allocations: 189.3 kB / 498.1 MB, free: 5.742 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.776/1.776, allocations: 223.2 MB / 0.7949 GB, free: 18.9 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.0009622/0.0009623, allocations: 96.02 kB / 0.9346 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004412/0.0004413, allocations: 11.03 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3284, allocations: 142.4 MB / 1.223 GB, free: 89.58 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2071/0.5355, allocations: 148.9 MB / 1.368 GB, free: 4.527 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003547/0.536, allocations: 75.95 kB / 1.368 GB, free: 4.453 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004277/0.5403, allocations: 1.228 MB / 1.37 GB, free: 3.223 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.966e-06/0.5403, allocations: 0 / 1.37 GB, free: 3.223 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.5403, allocations: 4 kB / 1.37 GB, free: 3.219 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.0004914/0.5408, allocations: 351.4 kB / 1.37 GB, free: 2.828 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.5409, allocations: 8.031 kB / 1.37 GB, free: 2.82 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.87e-05/0.5409, allocations: 15.89 kB / 1.37 GB, free: 2.805 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.5411, allocations: 167 kB / 1.37 GB, free: 2.602 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002838/0.5414, allocations: 277 kB / 1.37 GB, free: 2.27 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.5414, allocations: 4 kB / 1.37 GB, free: 2.266 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.5417, allocations: 93.5 kB / 1.37 GB, free: 2.168 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.5417, allocations: 3.984 kB / 1.37 GB, free: 2.164 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.5417, allocations: 0 / 1.37 GB, free: 2.164 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.5417, allocations: 0 / 1.37 GB, free: 2.164 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003475/0.5421, allocations: 131.8 kB / 1.371 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002266/0.5423, allocations: 177.6 kB / 1.371 GB, free: 1.812 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.5426, allocations: 94.52 kB / 1.371 GB, free: 1.711 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.5426, allocations: 0 / 1.371 GB, free: 1.711 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.5427, allocations: 42.5 kB / 1.371 GB, free: 1.66 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 1.562e-06/0.5427, allocations: 0 / 1.371 GB, free: 1.66 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0005157/0.5432, allocations: 154 kB / 1.371 GB, free: 1.504 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.5433, allocations: 51.41 kB / 1.371 GB, free: 1.441 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.967e-05/0.5433, allocations: 85 kB / 1.371 GB, free: 1.352 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.5433, allocations: 29.7 kB / 1.371 GB, free: 1.316 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.507e-05/0.5434, allocations: 80.33 kB / 1.371 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.569e-05/0.5435, allocations: 43.53 kB / 1.371 GB, free: 1.188 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-06/0.5435, allocations: 0 / 1.371 GB, free: 1.188 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.5436, allocations: 314.8 kB / 1.372 GB, free: 0.8711 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.5437, allocations: 31.97 kB / 1.372 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.5439, allocations: 35.91 kB / 1.372 GB, free: 0.8047 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.544, allocations: 39.86 kB / 1.372 GB, free: 0.7656 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.544, allocations: 7.938 kB / 1.372 GB, free: 0.7578 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003155/0.5443, allocations: 109.5 kB / 1.372 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.5444, allocations: 4 kB / 1.372 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.5444, allocations: 4 kB / 1.372 GB, free: 0.6367 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.5444, allocations: 4 kB / 1.372 GB, free: 0.6328 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.5445, allocations: 19.98 kB / 1.372 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.5446, allocations: 0 / 1.372 GB, free: 0.6133 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.5446, allocations: 15.92 kB / 1.372 GB, free: 0.5977 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.5446, allocations: 4 kB / 1.372 GB, free: 0.5938 MB / 0.8698 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.0001165/0.5448, allocations: 125.7 kB / 1.372 GB, free: 472 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.5448, allocations: 3.906 kB / 1.372 GB, free: 468 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.701e-05/0.5448, allocations: 15.97 kB / 1.372 GB, free: 448 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.5448, allocations: 0 / 1.372 GB, free: 448 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.5449, allocations: 0 / 1.372 GB, free: 448 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.82e-06/0.5449, allocations: 0 / 1.372 GB, free: 448 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.545, allocations: 181.6 kB / 1.372 GB, free: 216 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.545, allocations: 3.953 kB / 1.372 GB, free: 212 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.5452, allocations: 27.97 kB / 1.372 GB, free: 184 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.5452, allocations: 0 / 1.372 GB, free: 184 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.5452, allocations: 4 kB / 1.372 GB, free: 180 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.5452, allocations: 0 / 1.372 GB, free: 180 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.5452, allocations: 0 / 1.372 GB, free: 180 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.5455, allocations: 148.9 kB / 1.372 GB, free: 12 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.018e-05/0.5456, allocations: 85.06 kB / 1.372 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.5456, allocations: 0 / 1.372 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.188e-05/0.5457, allocations: 7.984 kB / 1.372 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/0.5458, allocations: 15.92 kB / 1.372 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.5458, allocations: 7.984 kB / 1.372 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.325e-05/0.5459, allocations: 75.28 kB / 1.372 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5459, allocations: 4 kB / 1.372 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002273/0.5461, allocations: 20 kB / 1.373 GB, free: 15.78 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.0002692/0.5464, allocations: 127 kB / 1.373 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003149/0.5467, allocations: 91.81 kB / 1.373 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5467, allocations: 0 / 1.373 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.5469, allocations: 47.91 kB / 1.373 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001023/0.547, allocations: 4.984 kB / 1.373 GB, free: 15.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004209/0.5474, allocations: 166.7 kB / 1.373 GB, free: 15.31 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.5478, allocations: 0.6909 MB / 1.374 GB, free: 14.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001443/0.5479, allocations: 43.73 kB / 1.374 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.997e-05/0.548, allocations: 11.44 kB / 1.374 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of SimCode: time 3.51e-07/0.548, allocations: 7.875 kB / 1.374 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of Templates: time 0.003434/0.5514, allocations: 0.919 MB / 1.375 GB, free: 13.62 MB / 0.8855 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","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches