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.515/1.515, allocations: 249.3 MB / 261.8 MB, free: 5.867 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.001262/0.001262, allocations: 180.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0009351/0.0009352, allocations: 93.27 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.08e-05/5.091e-05, allocations: 4 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2533, allocations: 106.3 MB / 0.8918 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.978/1.231, allocations: 131.2 MB / 1.02 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003522/1.232, allocations: 78.31 kB / 1.02 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004292/1.236, allocations: 1.209 MB / 1.021 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.324e-06/1.236, allocations: 0 / 1.021 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.074e-05/1.236, allocations: 4 kB / 1.021 GB, free: 2.324 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.0006157/1.237, allocations: 353.4 kB / 1.022 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.499e-05/1.237, allocations: 8.031 kB / 1.022 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.848e-05/1.237, allocations: 11.98 kB / 1.022 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/1.237, allocations: 167 kB / 1.022 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003735/1.238, allocations: 276.5 kB / 1.022 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/1.238, allocations: 11.62 kB / 1.022 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/1.238, allocations: 71.64 kB / 1.022 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/1.238, allocations: 0 / 1.022 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/1.238, allocations: 0 / 1.022 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/1.238, allocations: 4 kB / 1.022 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000232/1.238, allocations: 121.4 kB / 1.022 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002555/1.238, allocations: 182.5 kB / 1.022 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/1.239, allocations: 82.19 kB / 1.022 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.047e-05/1.239, allocations: 39.84 kB / 1.023 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.348e-05/1.239, allocations: 7.984 kB / 1.023 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/1.239, allocations: 31.31 kB / 1.023 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/1.239, allocations: 0 / 1.023 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003098/1.239, allocations: 96.11 kB / 1.023 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/1.239, allocations: 59.39 kB / 1.023 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.314e-05/1.239, allocations: 88.94 kB / 1.023 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/1.239, allocations: 25.7 kB / 1.023 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.126e-05/1.239, allocations: 84.33 kB / 1.023 GB, free: 476 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.539e-05/1.239, allocations: 34.47 kB / 1.023 GB, free: 448 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/1.239, allocations: 0 / 1.023 GB, free: 448 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001992/1.24, allocations: 322 kB / 1.023 GB, free: 120 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-05/1.24, allocations: 19.73 kB / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.508e-05/1.24, allocations: 23.62 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.186e-05/1.24, allocations: 27.72 kB / 1.023 GB, free: 64 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/1.24, allocations: 3.953 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001965/1.24, allocations: 103.8 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/1.24, allocations: 4 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/1.24, allocations: 4 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/1.24, allocations: 0 / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/1.24, allocations: 31.91 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/1.24, allocations: 3.938 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.506e-05/1.24, allocations: 10.22 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/1.24, allocations: 7.562 kB / 1.023 GB, free: 15.91 MB / 0.6511 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.0001332/1.241, allocations: 105 kB / 1.024 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/1.241, allocations: 11.08 kB / 1.024 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.08e-05/1.241, allocations: 11.97 kB / 1.024 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/1.241, allocations: 0 / 1.024 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.241, allocations: 0 / 1.024 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.241, allocations: 0 / 1.024 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/1.241, allocations: 180 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/1.241, allocations: 0 / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/1.241, allocations: 31.86 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/1.241, allocations: 4 kB / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/1.241, allocations: 0 / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/1.241, allocations: 0 / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.241, allocations: 0 / 1.024 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002124/1.241, allocations: 130.8 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.184e-05/1.241, allocations: 88.95 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/1.241, allocations: 3.953 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.329e-05/1.241, allocations: 7.562 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.25e-05/1.242, allocations: 11.97 kB / 1.024 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/1.242, allocations: 8 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.484e-05/1.242, allocations: 75.28 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.242, allocations: 4 kB / 1.024 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002658/1.242, allocations: 31.86 kB / 1.024 GB, free: 15.16 MB / 0.6511 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.0003588/1.242, allocations: 132.8 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000191/1.243, allocations: 66.28 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/1.243, allocations: 4 kB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.359e-05/1.243, allocations: 42.92 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/1.243, allocations: 0 / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003668/1.243, allocations: 112.7 kB / 1.024 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/1.244, allocations: 0.6887 MB / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000156/1.244, allocations: 39.83 kB / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.397e-05/1.244, allocations: 19.17 kB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of SimCode: time 6.11e-07/1.244, allocations: 0 / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of Templates: time 0.003559/1.247, allocations: 0.9231 MB / 1.026 GB, free: 13.14 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