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.458/1.458, allocations: 249.5 MB / 257 MB, free: 6.863 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.001064/0.001064, allocations: 172.9 kB / 316.3 MB, free: 3.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0009394/0.0009394, allocations: 91.61 kB / 0.6714 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.193e-05/2.191e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.271, allocations: 106.3 MB / 0.8852 GB, free: 12.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9019/1.173, allocations: 132.5 MB / 1.015 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/1.173, allocations: 69.59 kB / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004238/1.178, allocations: 1.328 MB / 1.016 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.333e-06/1.178, allocations: 4 kB / 1.016 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.584e-06/1.178, allocations: 0 / 1.016 GB, free: 4.039 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.0004563/1.178, allocations: 346 kB / 1.016 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/1.178, allocations: 12.03 kB / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/1.178, allocations: 0 / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/1.178, allocations: 178.9 kB / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/1.178, allocations: 3.938 kB / 1.017 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/1.178, allocations: 8 kB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.011e-05/1.178, allocations: 22.62 kB / 1.017 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.622e-05/1.179, allocations: 41.19 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/1.179, allocations: 0 / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/1.179, allocations: 1.125 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/1.179, allocations: 0 / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000421/1.179, allocations: 251.2 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/1.179, allocations: 53.05 kB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.351e-05/1.179, allocations: 12.11 kB / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000414/1.18, allocations: 404.8 kB / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/1.18, allocations: 34.56 kB / 1.017 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 4.618e-06/1.18, allocations: 3.984 kB / 1.017 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003519/1.18, allocations: 66.89 kB / 1.017 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/1.18, allocations: 55.41 kB / 1.017 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.286e-05/1.18, allocations: 98.06 kB / 1.018 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/1.18, allocations: 25.7 kB / 1.018 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.562e-05/1.18, allocations: 87.31 kB / 1.018 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/1.18, allocations: 7.906 kB / 1.018 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/1.18, allocations: 0 / 1.018 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001684/1.181, allocations: 314.8 kB / 1.018 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.481e-05/1.181, allocations: 10.94 kB / 1.018 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.687e-05/1.181, allocations: 11.06 kB / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/1.181, allocations: 26.28 kB / 1.018 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.181, allocations: 0 / 1.018 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001987/1.181, allocations: 63.95 kB / 1.018 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/1.181, allocations: 4 kB / 1.018 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/1.181, allocations: 0 / 1.018 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/1.181, allocations: 0 / 1.018 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.286e-05/1.181, allocations: 15.98 kB / 1.018 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-06/1.181, allocations: 0 / 1.018 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.856e-05/1.181, allocations: 11.98 kB / 1.018 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/1.181, allocations: 4 kB / 1.018 GB, free: 1.695 MB / 0.6355 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 8.253e-05/1.181, allocations: 107.5 kB / 1.018 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/1.181, allocations: 0 / 1.018 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/1.182, allocations: 74.47 kB / 1.018 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/1.182, allocations: 3.938 kB / 1.018 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/1.182, allocations: 0 / 1.018 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/1.182, allocations: 7.938 kB / 1.018 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/1.182, allocations: 149.1 kB / 1.018 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/1.182, allocations: 0 / 1.018 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.068e-05/1.182, allocations: 15.98 kB / 1.018 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/1.182, allocations: 3.938 kB / 1.018 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/1.182, allocations: 0 / 1.018 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/1.182, allocations: 0 / 1.018 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.182, allocations: 0 / 1.018 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/1.182, allocations: 163.1 kB / 1.019 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.534e-05/1.182, allocations: 88.95 kB / 1.019 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/1.182, allocations: 0 / 1.019 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.819e-05/1.182, allocations: 7.984 kB / 1.019 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/1.182, allocations: 11.48 kB / 1.019 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/1.182, allocations: 0 / 1.019 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.032e-05/1.183, allocations: 83.22 kB / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/1.183, allocations: 0 / 1.019 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002473/1.183, allocations: 24 kB / 1.019 GB, free: 0.918 MB / 0.6355 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.0002187/1.183, allocations: 127.2 kB / 1.019 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.492e-05/1.183, allocations: 22.86 kB / 1.019 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/1.183, allocations: 0 / 1.019 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.099e-05/1.183, allocations: 15.56 kB / 1.019 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/1.183, allocations: 0 / 1.019 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002417/1.184, allocations: 79 kB / 1.019 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/1.184, allocations: 0.6846 MB / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.274e-05/1.184, allocations: 0 / 1.02 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.734e-05/1.184, allocations: 14.19 kB / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/1.184, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of Templates: time 0.003097/1.187, allocations: 0.7827 MB / 1.02 GB, free: 15.17 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