Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001401/0.001401, allocations: 116.1 kB / 16.42 MB, free: 6.504 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.001537/0.001537, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.451/1.451, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.743/2.743, allocations: 437 MB / 0.7112 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 63.89 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.008, allocations: 151.6 MB / 1.167 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001599/1.01, allocations: 0.5866 MB / 1.168 GB, free: 3.324 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003823/1.01, allocations: 103.7 kB / 1.168 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.173e-05/1.011, allocations: 4 kB / 1.168 GB, free: 3.219 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.482e-05/1.011, allocations: 4 kB / 1.168 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.051e-06/1.011, allocations: 0 / 1.168 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/1.011, allocations: 31.89 kB / 1.168 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/1.011, allocations: 63.94 kB / 1.168 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.255e-05/1.011, allocations: 7.984 kB / 1.168 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.814e-05/1.011, allocations: 27.91 kB / 1.168 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.362e-05/1.011, allocations: 19.97 kB / 1.168 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/1.011, allocations: 4 kB / 1.168 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/1.011, allocations: 51.95 kB / 1.168 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.633e-05/1.011, allocations: 19.97 kB / 1.168 GB, free: 2.992 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.231e-05/1.011, allocations: 19.92 kB / 1.168 GB, free: 2.973 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001455/1.012, allocations: 71.83 kB / 1.168 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/1.012, allocations: 3.938 kB / 1.168 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.283e-06/1.012, allocations: 0 / 1.168 GB, free: 2.898 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.794e-06/1.012, allocations: 0 / 1.168 GB, free: 2.898 MB / 0.8887 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.0004683/1.012, allocations: 379.9 kB / 1.169 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/1.012, allocations: 8.031 kB / 1.169 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/1.012, allocations: 12.88 kB / 1.169 GB, free: 2.461 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.825e-05/1.012, allocations: 164.4 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/1.013, allocations: 281.6 kB / 1.169 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/1.013, allocations: 4.375 kB / 1.169 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/1.013, allocations: 82.19 kB / 1.169 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/1.013, allocations: 3.938 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/1.013, allocations: 0 / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/1.013, allocations: 4 kB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000316/1.013, allocations: 135.8 kB / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/1.013, allocations: 181.5 kB / 1.17 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/1.014, allocations: 102.5 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/1.014, allocations: 44.83 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/1.014, allocations: 0 / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/1.014, allocations: 38.56 kB / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/1.014, allocations: 0 / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.0004885/1.014, allocations: 153.8 kB / 1.17 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/1.014, allocations: 55.34 kB / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.59e-05/1.014, allocations: 93.86 kB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/1.014, allocations: 29.7 kB / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.352e-05/1.014, allocations: 84.14 kB / 1.17 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.241e-05/1.014, allocations: 39.67 kB / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/1.014, allocations: 25.7 kB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.015, allocations: 314.8 kB / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/1.015, allocations: 31.97 kB / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/1.015, allocations: 35.97 kB / 1.171 GB, free: 376 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002452/1.015, allocations: 72.81 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.015, allocations: 4 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003157/1.015, allocations: 125.5 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/1.015, allocations: 4 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/1.015, allocations: 3.938 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/1.016, allocations: 0 / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/1.016, allocations: 23.98 kB / 1.171 GB, free: 132 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/1.016, allocations: 0 / 1.171 GB, free: 132 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.883e-05/1.016, allocations: 11.98 kB / 1.171 GB, free: 120 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/1.016, allocations: 4 kB / 1.171 GB, free: 116 kB / 0.8887 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 0.0001124/1.016, allocations: 125.8 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/1.016, allocations: 3.953 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.602e-05/1.016, allocations: 11.91 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.016, allocations: 0 / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.016, allocations: 4 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.01e-05/1.016, allocations: 81.05 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/1.016, allocations: 4 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.662e-05/1.016, allocations: 7.984 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.696e-05/1.016, allocations: 15.98 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003705/1.017, allocations: 200.8 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003511/1.017, allocations: 295.5 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001361/1.017, allocations: 47.95 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.282e-05/1.017, allocations: 77.75 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of Backend: time 3.41e-07/1.017, allocations: 0 / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000512/1.018, allocations: 146.3 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003392/1.018, allocations: 0.5681 MB / 1.172 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of Templates: time 0.003361/1.021, allocations: 1.38 MB / 1.174 GB, free: 13.06 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_Binomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches