Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001664/0.001664, allocations: 108.5 kB / 16.41 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.002015/0.002015, allocations: 192.7 kB / 17.35 MB, free: 5.625 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.51/1.51, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.842/2.842, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 68.12 kB / 1.055 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.121/1.123, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.00176/1.124, allocations: 0.5891 MB / 1.209 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00042/1.125, allocations: 115.6 kB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.378e-05/1.125, allocations: 0 / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.986e-05/1.125, allocations: 0 / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.412e-06/1.125, allocations: 4 kB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/1.125, allocations: 35.91 kB / 1.209 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000124/1.126, allocations: 63.92 kB / 1.209 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.936e-05/1.126, allocations: 0 / 1.209 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.686e-05/1.126, allocations: 31.91 kB / 1.209 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.201e-05/1.126, allocations: 19.97 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/1.126, allocations: 4 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/1.126, allocations: 43.95 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.503e-05/1.126, allocations: 23.97 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/1.126, allocations: 23.91 kB / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001457/1.126, allocations: 71.78 kB / 1.209 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.126, allocations: 4 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.234e-06/1.126, allocations: 0 / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.38e-06/1.126, allocations: 0 / 1.209 GB, free: 12.61 MB / 0.9356 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.0005376/1.127, allocations: 371.5 kB / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/1.127, allocations: 8.031 kB / 1.21 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/1.127, allocations: 8.844 kB / 1.21 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.502e-05/1.127, allocations: 176.1 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000256/1.127, allocations: 281.6 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/1.127, allocations: 4.375 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/1.127, allocations: 82.2 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/1.127, allocations: 3.938 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/1.127, allocations: 3.984 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/1.127, allocations: 0 / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/1.128, allocations: 135.8 kB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002078/1.128, allocations: 173.6 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002769/1.128, allocations: 98.45 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/1.128, allocations: 44.84 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/1.128, allocations: 3.984 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/1.128, allocations: 42.55 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.222e-06/1.128, allocations: 3.938 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0004984/1.129, allocations: 149.7 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/1.129, allocations: 59.33 kB / 1.211 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.811e-05/1.129, allocations: 89.86 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/1.129, allocations: 29.7 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.923e-05/1.129, allocations: 84.14 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.343e-05/1.129, allocations: 33.39 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.661e-05/1.129, allocations: 29.69 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000103/1.129, allocations: 314.8 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/1.129, allocations: 31.97 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/1.13, allocations: 35.97 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/1.13, allocations: 64.83 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.13, allocations: 4 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002962/1.13, allocations: 126.1 kB / 1.212 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/1.13, allocations: 4 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.13, allocations: 3.938 kB / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/1.13, allocations: 0 / 1.212 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/1.13, allocations: 23.98 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.443e-06/1.13, allocations: 0 / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.015e-05/1.13, allocations: 11.98 kB / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/1.13, allocations: 4 kB / 1.212 GB, free: 9.844 MB / 0.9356 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.831e-05/1.131, allocations: 121.8 kB / 1.212 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.807e-05/1.131, allocations: 7.906 kB / 1.212 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.552e-05/1.131, allocations: 11.91 kB / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.131, allocations: 0 / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/1.131, allocations: 7.938 kB / 1.212 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.144e-05/1.131, allocations: 85.05 kB / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/1.131, allocations: 0 / 1.212 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.063e-05/1.131, allocations: 7.984 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/1.131, allocations: 11.98 kB / 1.212 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003867/1.131, allocations: 212.9 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003593/1.132, allocations: 290.6 kB / 1.213 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001437/1.132, allocations: 43.91 kB / 1.213 GB, free: 9 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.016e-05/1.132, allocations: 75.28 kB / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of Backend: time 2.6e-07/1.132, allocations: 0 / 1.213 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005564/1.132, allocations: 149.3 kB / 1.213 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004897/1.133, allocations: 0.572 MB / 1.213 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of Templates: time 0.004728/1.138, allocations: 1.395 MB / 1.215 GB, free: 6.762 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches