Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.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_9_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_9_Buildings.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001316/0.001317, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.17 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.297/2.297, allocations: 390.2 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.91 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9832/0.9844, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001858/0.9863, allocations: 0.5792 MB / 1.089 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004024/0.9867, allocations: 104 kB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.583e-05/0.9868, allocations: 1.156 kB / 1.089 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.801e-05/0.9868, allocations: 3.938 kB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.636e-06/0.9868, allocations: 0 / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.9872, allocations: 42.56 kB / 1.089 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.9874, allocations: 64.97 kB / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.9874, allocations: 2.688 kB / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.449e-05/0.9875, allocations: 29.72 kB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.098e-05/0.9876, allocations: 20.78 kB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.9876, allocations: 2.281 kB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.9878, allocations: 49.84 kB / 1.09 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.435e-05/0.9878, allocations: 22.38 kB / 1.09 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.17e-05/0.9879, allocations: 18.47 kB / 1.09 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.9881, allocations: 75.88 kB / 1.09 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.9881, allocations: 1.156 kB / 1.09 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9881, allocations: 0 / 1.09 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.9881, allocations: 0 / 1.09 GB, free: 4.996 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005129/0.9886, allocations: 370.9 kB / 1.09 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.9887, allocations: 8.312 kB / 1.09 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.9887, allocations: 15 kB / 1.09 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.753e-05/0.9888, allocations: 170.1 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002292/0.9891, allocations: 280.3 kB / 1.09 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.9891, allocations: 8.297 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/0.9894, allocations: 75.72 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.9894, allocations: 3.938 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.9894, allocations: 4.781 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.9894, allocations: 6.281 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004207/0.9899, allocations: 128.9 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.99, allocations: 179.4 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003185/0.9904, allocations: 98.23 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.9905, allocations: 41.59 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.9906, allocations: 2.438 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.9906, allocations: 40.48 kB / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.893e-06/0.9906, allocations: 0 / 1.091 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0005634/0.9912, allocations: 154.6 kB / 1.091 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.9912, allocations: 53.53 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.563e-05/0.9912, allocations: 90.42 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.9912, allocations: 25.7 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.453e-05/0.9913, allocations: 85.16 kB / 1.091 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.066e-05/0.9913, allocations: 36.84 kB / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-05/0.9914, allocations: 38.7 kB / 1.091 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.839e-05/0.9914, allocations: 314.4 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.9916, allocations: 33.02 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.9917, allocations: 35 kB / 1.092 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.992, allocations: 73.52 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.992, allocations: 0 / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003394/0.9924, allocations: 109.3 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.9924, allocations: 5.375 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.9924, allocations: 8.938 kB / 1.092 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.9924, allocations: 3.938 kB / 1.092 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.9926, allocations: 28.19 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.9926, allocations: 0.8125 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.602e-05/0.9927, allocations: 8.734 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.9927, allocations: 8.484 kB / 1.092 GB, free: 2.902 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: 1 (n) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.396e-05/0.9928, allocations: 116.4 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.9928, allocations: 3.125 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.147e-05/0.9929, allocations: 20.67 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.9929, allocations: 0.6562 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.9929, allocations: 9.359 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.389e-05/0.9929, allocations: 87.09 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.9929, allocations: 0.875 kB / 1.092 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.547e-05/0.993, allocations: 8.859 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.321e-05/0.9931, allocations: 9.969 kB / 1.092 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004415/0.9935, allocations: 202.1 kB / 1.093 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003895/0.9939, allocations: 295.1 kB / 1.093 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001605/0.9941, allocations: 40.97 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.282e-05/0.9941, allocations: 75.28 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of Backend: time 3.7e-07/0.9941, allocations: 0.625 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006186/0.9947, allocations: 154.7 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003309/0.9951, allocations: 0.5814 MB / 1.094 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of Templates: time 0.004661/0.9998, allocations: 1.37 MB / 1.095 GB, free: 1.395 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches