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.177/2.177, allocations: 387.1 MB / 399.7 MB, free: 9.535 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.001237/0.001237, allocations: 172.9 kB / 492.3 MB, free: 0.6367 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.632/1.632, allocations: 221.3 MB / 0.7871 GB, free: 12.98 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.0009827/0.0009829, allocations: 88.02 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.007e-05/4.01e-05, allocations: 11.94 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3365, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.042/1.378, allocations: 148.8 MB / 1.358 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/1.379, allocations: 78.94 kB / 1.358 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004821/1.384, allocations: 1.228 MB / 1.359 GB, free: 34.71 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.156e-06/1.384, allocations: 0 / 1.359 GB, free: 34.71 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.966e-06/1.384, allocations: 3.938 kB / 1.359 GB, free: 34.71 MB / 0.8386 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.0004232/1.384, allocations: 357 kB / 1.359 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.36e-05/1.384, allocations: 8.766 kB / 1.359 GB, free: 34.36 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.787e-05/1.384, allocations: 8.375 kB / 1.359 GB, free: 34.35 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.877e-05/1.384, allocations: 168.4 kB / 1.36 GB, free: 34.15 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002465/1.385, allocations: 277.1 kB / 1.36 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/1.385, allocations: 7.969 kB / 1.36 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/1.385, allocations: 76.8 kB / 1.36 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/1.385, allocations: 0 / 1.36 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/1.385, allocations: 4.922 kB / 1.36 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/1.385, allocations: 0 / 1.36 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002105/1.385, allocations: 120.9 kB / 1.36 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002042/1.385, allocations: 183.3 kB / 1.36 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/1.385, allocations: 82.72 kB / 1.36 GB, free: 33.57 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.007e-05/1.385, allocations: 39.53 kB / 1.36 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/1.385, allocations: 4.828 kB / 1.36 GB, free: 33.56 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/1.385, allocations: 30.56 kB / 1.36 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/1.386, allocations: 0 / 1.36 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0002422/1.386, allocations: 99.34 kB / 1.36 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/1.386, allocations: 51.41 kB / 1.36 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.396e-05/1.386, allocations: 85 kB / 1.361 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/1.386, allocations: 26.03 kB / 1.361 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 1.994e-05/1.386, allocations: 84.33 kB / 1.361 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.865e-05/1.386, allocations: 43.56 kB / 1.361 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-06/1.386, allocations: 0 / 1.361 GB, free: 33.19 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.899e-05/1.386, allocations: 318.6 kB / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.599e-05/1.386, allocations: 25.02 kB / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.914e-05/1.386, allocations: 23.95 kB / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.817e-05/1.386, allocations: 26.27 kB / 1.361 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.386, allocations: 3.953 kB / 1.361 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001445/1.386, allocations: 108.1 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/1.386, allocations: 9.094 kB / 1.361 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.386, allocations: 0 / 1.361 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/1.386, allocations: 0 / 1.361 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/1.387, allocations: 24.88 kB / 1.361 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/1.387, allocations: 0 / 1.361 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.029e-05/1.387, allocations: 8.5 kB / 1.361 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/1.387, allocations: 5.297 kB / 1.361 GB, free: 32.82 MB / 0.8386 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 7.767e-05/1.387, allocations: 108.8 kB / 1.361 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/1.387, allocations: 17.11 kB / 1.361 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.905e-05/1.387, allocations: 13.97 kB / 1.361 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/1.387, allocations: 3.719 kB / 1.361 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.387, allocations: 0 / 1.361 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/1.387, allocations: 1.734 kB / 1.361 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/1.387, allocations: 172.8 kB / 1.361 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/1.387, allocations: 0 / 1.361 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/1.387, allocations: 30.05 kB / 1.362 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/1.387, allocations: 0 / 1.362 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/1.387, allocations: 6 kB / 1.362 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.387, allocations: 0 / 1.362 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.387, allocations: 4 kB / 1.362 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/1.387, allocations: 128.1 kB / 1.362 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.123e-05/1.387, allocations: 85.75 kB / 1.362 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/1.387, allocations: 8.219 kB / 1.362 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.087e-05/1.388, allocations: 8.438 kB / 1.362 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.098e-05/1.388, allocations: 10.67 kB / 1.362 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/1.388, allocations: 5.562 kB / 1.362 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.991e-05/1.388, allocations: 79.28 kB / 1.362 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.388, allocations: 0 / 1.362 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002088/1.388, allocations: 23.97 kB / 1.362 GB, free: 32.24 MB / 0.8386 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.0002581/1.388, allocations: 134.4 kB / 1.362 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001471/1.388, allocations: 64.69 kB / 1.362 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.388, allocations: 0 / 1.362 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.35e-05/1.388, allocations: 43.48 kB / 1.362 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.951e-05/1.389, allocations: 3.812 kB / 1.362 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002615/1.389, allocations: 112.7 kB / 1.362 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/1.389, allocations: 0.6864 MB / 1.363 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001179/1.389, allocations: 46.34 kB / 1.363 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/1.389, allocations: 17.56 kB / 1.363 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.389, allocations: 0 / 1.363 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of Templates: time 0.003058/1.392, allocations: 0.9242 MB / 1.364 GB, free: 31.25 MB / 0.8386 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