Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.Binomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002397/0.002397, allocations: 193.7 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.517/2.517, allocations: 390.2 MB / 0.6643 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 67.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9945/0.996, allocations: 140.4 MB / 0.9491 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.003461/0.9995, allocations: 1.585 MB / 0.9506 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005334/1, allocations: 185.6 kB / 0.9508 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.361e-05/1, allocations: 5.375 kB / 0.9508 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.551e-05/1, allocations: 3.938 kB / 0.9508 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.149e-05/1, allocations: 0 / 0.9508 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/1.001, allocations: 48.39 kB / 0.9509 GB, free: 7.688 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.881e-05/1.001, allocations: 33.67 kB / 0.9509 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/1.001, allocations: 14.86 kB / 0.9509 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.446e-05/1.001, allocations: 13.44 kB / 0.9509 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.57e-05/1.001, allocations: 17.42 kB / 0.9509 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/1.001, allocations: 6.75 kB / 0.951 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/1.001, allocations: 51.31 kB / 0.951 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.456e-05/1.001, allocations: 5.375 kB / 0.951 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.939e-05/1.001, allocations: 19.98 kB / 0.951 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/1.001, allocations: 61.73 kB / 0.9511 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.001, allocations: 0 / 0.9511 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.705e-06/1.001, allocations: 0 / 0.9511 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.025e-06/1.001, allocations: 3.984 kB / 0.9511 GB, free: 7.543 MB / 0.7169 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.0004927/1.002, allocations: 354 kB / 0.9514 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/1.002, allocations: 8.25 kB / 0.9514 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/1.002, allocations: 7.594 kB / 0.9514 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.156e-05/1.002, allocations: 179 kB / 0.9516 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/1.002, allocations: 1.75 kB / 0.9516 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/1.002, allocations: 1.75 kB / 0.9516 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002022/1.002, allocations: 64.42 kB / 0.9517 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/1.002, allocations: 192 / 0.9517 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/1.002, allocations: 3.938 kB / 0.9517 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/1.002, allocations: 1.719 kB / 0.9517 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/1.002, allocations: 47.08 kB / 0.9517 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000369/1.003, allocations: 279.4 kB / 0.952 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003271/1.003, allocations: 62.28 kB / 0.9521 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.167e-05/1.003, allocations: 33.28 kB / 0.9521 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/1.004, allocations: 164.1 kB / 0.9522 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/1.004, allocations: 35.53 kB / 0.9523 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/1.004, allocations: 0 / 0.9523 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003938/1.004, allocations: 103.9 kB / 0.9524 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/1.004, allocations: 55.34 kB / 0.9524 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.93e-05/1.004, allocations: 108.3 kB / 0.9525 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/1.004, allocations: 25.7 kB / 0.9526 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/1.004, allocations: 89.77 kB / 0.9526 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.455e-05/1.004, allocations: 5.281 kB / 0.9526 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/1.004, allocations: 21.14 kB / 0.9527 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.099e-05/1.004, allocations: 316.2 kB / 0.953 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.049e-05/1.004, allocations: 25.72 kB / 0.953 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.741e-05/1.004, allocations: 23.92 kB / 0.953 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/1.005, allocations: 46.91 kB / 0.9531 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.005, allocations: 0 / 0.9531 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001999/1.005, allocations: 73.03 kB / 0.9531 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/1.005, allocations: 8.312 kB / 0.9531 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/1.005, allocations: 1.281 kB / 0.9531 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/1.005, allocations: 0 / 0.9531 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.193e-05/1.005, allocations: 15.67 kB / 0.9532 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/1.005, allocations: 1.25 kB / 0.9532 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.702e-05/1.005, allocations: 11.73 kB / 0.9532 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/1.005, allocations: 1.25 kB / 0.9532 GB, free: 5.434 MB / 0.7169 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,rea2Int.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.64e-05/1.005, allocations: 112.3 kB / 0.9533 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/1.005, allocations: 9.094 kB / 0.9533 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/1.005, allocations: 84.67 kB / 0.9534 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/1.005, allocations: 3.938 kB / 0.9534 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/1.005, allocations: 0 / 0.9534 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/1.005, allocations: 1.344 kB / 0.9534 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/1.006, allocations: 172.2 kB / 0.9535 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/1.006, allocations: 1.281 kB / 0.9535 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.294e-05/1.006, allocations: 11.34 kB / 0.9535 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/1.006, allocations: 4 kB / 0.9536 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/1.006, allocations: 9.516 kB / 0.9536 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/1.006, allocations: 320 / 0.9536 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.006, allocations: 0 / 0.9536 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/1.006, allocations: 168.1 kB / 0.9537 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.977e-05/1.006, allocations: 82.23 kB / 0.9538 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/1.006, allocations: 5.109 kB / 0.9538 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.092e-05/1.006, allocations: 6.969 kB / 0.9538 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.728e-05/1.006, allocations: 11.2 kB / 0.9538 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/1.006, allocations: 5.125 kB / 0.9538 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.406e-05/1.006, allocations: 93.95 kB / 0.9539 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/1.006, allocations: 0 / 0.9539 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002439/1.007, allocations: 18.11 kB / 0.9539 GB, free: 4.652 MB / 0.7169 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 (rea2Int.y,bin.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001798/1.007, allocations: 113.9 kB / 0.954 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002346/1.007, allocations: 53.5 kB / 0.9541 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/1.007, allocations: 1.281 kB / 0.9541 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.707e-05/1.007, allocations: 23.36 kB / 0.9541 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/1.007, allocations: 5.219 kB / 0.9541 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/1.008, allocations: 138.9 kB / 0.9543 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/1.008, allocations: 0.6878 MB / 0.9549 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.21e-05/1.008, allocations: 2.875 kB / 0.9549 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/1.008, allocations: 10.91 kB / 0.9549 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/1.008, allocations: 0 / 0.9549 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of Templates: time 0.00343/1.011, allocations: 0.9072 MB / 0.9558 GB, free: 3.199 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Binomial.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Binomial.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Binomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches