Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.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.609/1.609, allocations: 249.3 MB / 261.8 MB, free: 5.742 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.001145/0.001145, allocations: 184.8 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.781/1.781, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0008827/0.0008829, allocations: 82.55 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.877e-05/3.88e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2446, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8472/1.092, allocations: 132.3 MB / 1.021 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/1.092, allocations: 74.36 kB / 1.021 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004306/1.097, allocations: 1.335 MB / 1.022 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.234e-06/1.097, allocations: 0 / 1.022 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.321e-05/1.097, allocations: 3.938 kB / 1.022 GB, free: 1.223 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004173/1.097, allocations: 352.5 kB / 1.023 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/1.097, allocations: 12.03 kB / 1.023 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/1.097, allocations: 0 / 1.023 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/1.097, allocations: 178.9 kB / 1.023 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/1.097, allocations: 0 / 1.023 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/1.097, allocations: 7 kB / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/1.098, allocations: 56.8 kB / 1.023 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/1.098, allocations: 0 / 1.023 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/1.098, allocations: 0 / 1.023 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/1.098, allocations: 0 / 1.023 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.497e-05/1.098, allocations: 19.81 kB / 1.023 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/1.098, allocations: 280.9 kB / 1.023 GB, free: 240 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/1.098, allocations: 48.28 kB / 1.023 GB, free: 192 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/1.098, allocations: 20.42 kB / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004195/1.099, allocations: 405.3 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/1.099, allocations: 31.44 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/1.099, allocations: 0 / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.0002135/1.099, allocations: 57.41 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/1.099, allocations: 55.36 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.481e-05/1.099, allocations: 107.7 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/1.099, allocations: 25.7 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.821e-05/1.099, allocations: 87.77 kB / 1.024 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/1.099, allocations: 3.906 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/1.099, allocations: 0 / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001199/1.099, allocations: 322.3 kB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.165e-05/1.099, allocations: 4 kB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.798e-05/1.099, allocations: 7.875 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.689e-05/1.1, allocations: 11.62 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/1.1, allocations: 0 / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.687e-05/1.1, allocations: 60.22 kB / 1.024 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/1.1, allocations: 4 kB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/1.1, allocations: 0 / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/1.1, allocations: 0 / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.803e-05/1.1, allocations: 15.98 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/1.1, allocations: 0 / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.864e-05/1.1, allocations: 19.94 kB / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/1.1, allocations: 0 / 1.024 GB, free: 14.86 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: 2 (bin.y,bin.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.696e-05/1.1, allocations: 101 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/1.1, allocations: 7 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/1.1, allocations: 68.77 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/1.1, allocations: 48 / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.1, allocations: 11.92 kB / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.207e-06/1.1, allocations: 0 / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/1.1, allocations: 172.3 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.1, allocations: 4 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.091e-05/1.1, allocations: 11.98 kB / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/1.1, allocations: 0 / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/1.101, allocations: 0 / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.101, allocations: 4 kB / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.101, allocations: 0 / 1.025 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/1.101, allocations: 153.7 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.725e-05/1.101, allocations: 81.11 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/1.101, allocations: 2.438 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.569e-05/1.101, allocations: 11.98 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/1.101, allocations: 0 / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/1.101, allocations: 7.75 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.761e-05/1.101, allocations: 91.19 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/1.101, allocations: 0 / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002473/1.101, allocations: 23.81 kB / 1.025 GB, free: 14.05 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: 2 (bin.y,bin.k) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0002184/1.101, allocations: 127.2 kB / 1.025 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.738e-05/1.102, allocations: 19.25 kB / 1.025 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.102, allocations: 0 / 1.025 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.522e-05/1.102, allocations: 19.17 kB / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/1.102, allocations: 7.953 kB / 1.025 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002222/1.102, allocations: 70.47 kB / 1.025 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/1.102, allocations: 0.6887 MB / 1.026 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.305e-05/1.102, allocations: 8 kB / 1.026 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/1.102, allocations: 14.56 kB / 1.026 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of SimCode: time 3.61e-07/1.102, allocations: 0 / 1.026 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of Templates: time 0.002955/1.105, allocations: 0.827 MB / 1.027 GB, free: 12.25 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_Binomial.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches