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.001476/0.001476, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.0017/0.0017, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.476/1.476, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.554/2.554, allocations: 437 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 63.91 kB / 1.019 GB, free: 9.41 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009/1.011, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.002332/1.013, allocations: 0.5731 MB / 1.168 GB, free: 3.32 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004569/1.013, allocations: 107.6 kB / 1.168 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/1.013, allocations: 0 / 1.168 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.286e-05/1.014, allocations: 3.938 kB / 1.168 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.402e-06/1.014, allocations: 4 kB / 1.168 GB, free: 3.207 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/1.014, allocations: 35.91 kB / 1.168 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/1.014, allocations: 67.92 kB / 1.168 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.732e-05/1.014, allocations: 0 / 1.168 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.677e-05/1.014, allocations: 27.92 kB / 1.168 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.98e-05/1.014, allocations: 23.95 kB / 1.168 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/1.014, allocations: 4 kB / 1.168 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/1.014, allocations: 47.95 kB / 1.168 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.527e-05/1.015, allocations: 19.97 kB / 1.168 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/1.015, allocations: 23.91 kB / 1.168 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000168/1.015, allocations: 67.84 kB / 1.168 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.015, allocations: 11.94 kB / 1.168 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.943e-06/1.015, allocations: 0 / 1.168 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.29e-06/1.015, allocations: 0 / 1.168 GB, free: 2.883 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.0005847/1.015, allocations: 367.5 kB / 1.169 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/1.015, allocations: 8.031 kB / 1.169 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/1.015, allocations: 8.844 kB / 1.169 GB, free: 2.457 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/1.016, allocations: 164.2 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002774/1.016, allocations: 289.5 kB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/1.016, allocations: 8.375 kB / 1.169 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/1.016, allocations: 78.2 kB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/1.016, allocations: 3.938 kB / 1.169 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/1.016, allocations: 7.984 kB / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/1.016, allocations: 0 / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000379/1.017, allocations: 135.8 kB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/1.017, allocations: 181.6 kB / 1.17 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/1.017, allocations: 98.41 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/1.017, allocations: 44.83 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.223e-05/1.017, allocations: 4 kB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/1.017, allocations: 34.56 kB / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/1.017, allocations: 0 / 1.17 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.0006153/1.018, allocations: 149.8 kB / 1.17 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/1.018, allocations: 59.34 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.499e-05/1.018, allocations: 89.86 kB / 1.17 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/1.018, allocations: 29.7 kB / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/1.018, allocations: 84.08 kB / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 7.229e-05/1.018, allocations: 37.38 kB / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.266e-05/1.018, allocations: 25.7 kB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.019, allocations: 322.8 kB / 1.17 GB, free: 436 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/1.019, allocations: 27.98 kB / 1.17 GB, free: 408 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/1.019, allocations: 27.97 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/1.019, allocations: 77.47 kB / 1.171 GB, free: 300 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.019, allocations: 4 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003528/1.02, allocations: 117.4 kB / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.02, allocations: 8 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.02, allocations: 3.938 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/1.02, allocations: 3.984 kB / 1.171 GB, free: 156 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/1.02, allocations: 23.92 kB / 1.171 GB, free: 132 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/1.02, allocations: 4 kB / 1.171 GB, free: 128 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.603e-05/1.02, allocations: 8 kB / 1.171 GB, free: 120 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/1.02, allocations: 3.984 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.0001216/1.02, allocations: 117.8 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/1.02, allocations: 7.906 kB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.724e-05/1.02, allocations: 15.89 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/1.02, allocations: 0 / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/1.02, allocations: 0 / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.383e-05/1.02, allocations: 85.05 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/1.02, allocations: 4 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.518e-05/1.02, allocations: 4 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.11e-05/1.02, allocations: 11.97 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004434/1.021, allocations: 212.8 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004356/1.021, allocations: 282.7 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001553/1.021, allocations: 47.89 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.463e-05/1.021, allocations: 77.75 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of Backend: time 2.9e-07/1.021, allocations: 0 / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006317/1.022, allocations: 156.6 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004748/1.023, allocations: 0.572 MB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of Templates: time 0.004241/1.027, allocations: 1.374 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