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.00948/0.00948, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.002216/0.002216, allocations: 190 kB / 16.67 MB, free: 5.934 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.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.273/2.273, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 71.88 kB / 0.9509 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075/1.076, allocations: 140.4 MB / 1.088 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002793/1.079, allocations: 1.529 MB / 1.089 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004982/1.079, allocations: 173 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.222e-05/1.079, allocations: 0 / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.332e-05/1.079, allocations: 5.297 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.656e-05/1.08, allocations: 5.344 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003699/1.08, allocations: 55.69 kB / 1.09 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.247e-05/1.08, allocations: 38.98 kB / 1.09 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/1.08, allocations: 20 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.213e-05/1.08, allocations: 11.61 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.029e-05/1.08, allocations: 17.64 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/1.08, allocations: 3.906 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/1.08, allocations: 53.89 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/1.08, allocations: 6.578 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.05e-05/1.08, allocations: 22.59 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001696/1.081, allocations: 64.58 kB / 1.09 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/1.081, allocations: 3.938 kB / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.683e-06/1.081, allocations: 0 / 1.09 GB, free: 4.238 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.735e-06/1.081, allocations: 4.719 kB / 1.09 GB, free: 4.234 MB / 0.8575 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.0004617/1.081, allocations: 355 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/1.081, allocations: 9.312 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/1.081, allocations: 2.969 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.232e-05/1.081, allocations: 172.2 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/1.081, allocations: 5.312 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/1.081, allocations: 2.625 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/1.082, allocations: 66.41 kB / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/1.082, allocations: 192 / 1.09 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/1.082, allocations: 4.656 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/1.082, allocations: 1.328 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002139/1.082, allocations: 52.52 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003618/1.082, allocations: 275.6 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/1.083, allocations: 62.17 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/1.083, allocations: 25.56 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001978/1.083, allocations: 165.5 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/1.083, allocations: 44.02 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/1.083, allocations: 1.125 kB / 1.091 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0004221/1.083, allocations: 92.69 kB / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/1.083, allocations: 53.31 kB / 1.091 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.476e-05/1.083, allocations: 115 kB / 1.091 GB, free: 2.812 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/1.083, allocations: 26.83 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.095e-05/1.083, allocations: 85.73 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/1.083, allocations: 13.53 kB / 1.091 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/1.084, allocations: 19.52 kB / 1.091 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.845e-05/1.084, allocations: 321.2 kB / 1.092 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.356e-05/1.084, allocations: 20.69 kB / 1.092 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.647e-05/1.084, allocations: 20.25 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/1.084, allocations: 45.38 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/1.084, allocations: 1.094 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002208/1.084, allocations: 81.39 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/1.084, allocations: 6 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/1.084, allocations: 0.9688 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/1.084, allocations: 0 / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.504e-05/1.084, allocations: 11.92 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/1.084, allocations: 0 / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.082e-05/1.084, allocations: 7.453 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/1.084, allocations: 0.9688 kB / 1.092 GB, free: 2.273 MB / 0.8575 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 6.931e-05/1.084, allocations: 124.4 kB / 1.092 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.848e-05/1.085, allocations: 6.891 kB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/1.085, allocations: 80.41 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/1.085, allocations: 0 / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.085, allocations: 0.9062 kB / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.085, allocations: 0 / 1.092 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001571/1.085, allocations: 170.2 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.085, allocations: 4.656 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.03e-05/1.085, allocations: 11.86 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/1.085, allocations: 0 / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/1.085, allocations: 0.8438 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/1.085, allocations: 1.469 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.085, allocations: 4 kB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/1.085, allocations: 178.2 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/1.085, allocations: 83.09 kB / 1.093 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/1.085, allocations: 5.609 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.78e-05/1.086, allocations: 10.14 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.152e-05/1.086, allocations: 5.109 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/1.086, allocations: 1.5 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.3e-05/1.086, allocations: 88.48 kB / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.086, allocations: 0 / 1.093 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002574/1.086, allocations: 18.12 kB / 1.093 GB, free: 1.551 MB / 0.8575 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.0001964/1.086, allocations: 126 kB / 1.093 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002706/1.086, allocations: 50.2 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/1.086, allocations: 0.6562 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/1.087, allocations: 21.39 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/1.087, allocations: 10.88 kB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/1.087, allocations: 121 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/1.087, allocations: 0.6792 MB / 1.094 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.535e-05/1.087, allocations: 3.828 kB / 1.094 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/1.087, allocations: 11.2 kB / 1.094 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of SimCode: time 2.01e-07/1.087, allocations: 4.719 kB / 1.094 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of Templates: time 0.004333/1.092, allocations: 0.9729 MB / 1.095 GB, free: 0.5078 MB / 0.8575 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