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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0007894/0.0007896, allocations: 88.77 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 183.2 kB / 16.92 MB, free: 6.652 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.37/1.37, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.597/2.597, allocations: 437.8 MB / 0.7128 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003612, allocations: 8 kB / 0.8735 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6835/0.6839, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.0007865/0.6847, allocations: 325.5 kB / 1.024 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004046/0.6852, allocations: 103.7 kB / 1.024 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.435e-05/0.6852, allocations: 0 / 1.024 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.705e-05/0.6852, allocations: 0 / 1.024 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.12e-06/0.6852, allocations: 0 / 1.024 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.6855, allocations: 31.91 kB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.6857, allocations: 63.92 kB / 1.024 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.412e-05/0.6857, allocations: 4 kB / 1.024 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.932e-05/0.6858, allocations: 23.97 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.083e-05/0.6858, allocations: 19.97 kB / 1.024 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.6858, allocations: 4 kB / 1.024 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.686, allocations: 43.95 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.302e-05/0.686, allocations: 27.92 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.611e-05/0.6861, allocations: 53.59 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.727e-05/0.6862, allocations: 31.95 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.6862, allocations: 7.938 kB / 1.024 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.685e-06/0.6862, allocations: 0 / 1.024 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.6862, allocations: 0 / 1.024 GB, free: 15.17 MB / 0.7794 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.0005001/0.6867, allocations: 351.5 kB / 1.025 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.6868, allocations: 12.03 kB / 1.025 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.6868, allocations: 4.938 kB / 1.025 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.6869, allocations: 174.3 kB / 1.025 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002719/0.6872, allocations: 281.5 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.6872, allocations: 4.375 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.6875, allocations: 82.19 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.6875, allocations: 3.938 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.6875, allocations: 12 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.6875, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003315/0.6879, allocations: 127.8 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001745/0.6881, allocations: 185.5 kB / 1.026 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.6884, allocations: 102.5 kB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.6885, allocations: 44.83 kB / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.6885, allocations: 0 / 1.026 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.6886, allocations: 34.56 kB / 1.026 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 9.02e-07/0.6886, allocations: 336 / 1.026 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0005125/0.6891, allocations: 153.4 kB / 1.026 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.6891, allocations: 55.41 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.165e-05/0.6892, allocations: 93.8 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.6892, allocations: 25.7 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.629e-05/0.6892, allocations: 84.14 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.922e-05/0.6893, allocations: 35.45 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.6893, allocations: 17.72 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.6894, allocations: 314.8 kB / 1.027 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.6896, allocations: 31.97 kB / 1.027 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.6897, allocations: 39.91 kB / 1.027 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/0.69, allocations: 68.81 kB / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.69, allocations: 0 / 1.027 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000321/0.6903, allocations: 113.6 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.6903, allocations: 7.938 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.6903, allocations: 0 / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.6904, allocations: 0 / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.6905, allocations: 31.91 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.6905, allocations: 0 / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.137e-05/0.6906, allocations: 15.84 kB / 1.027 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.6906, allocations: 7.938 kB / 1.027 GB, free: 12.42 MB / 0.7794 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.000101/0.6907, allocations: 119.9 kB / 1.027 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.6907, allocations: 11.92 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.889e-05/0.6908, allocations: 7.969 kB / 1.027 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.6908, allocations: 4 kB / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6908, allocations: 0 / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.6908, allocations: 0 / 1.027 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.6909, allocations: 185.5 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.691, allocations: 3.984 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.6911, allocations: 27.92 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.6911, allocations: 3.938 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.6911, allocations: 4 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.6911, allocations: 7.984 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.6911, allocations: 0 / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.6915, allocations: 137.8 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.065e-05/0.6915, allocations: 81.11 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.6915, allocations: 3.938 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.857e-05/0.6916, allocations: 7.984 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.6916, allocations: 11.98 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.6917, allocations: 11.98 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.74e-05/0.6917, allocations: 75.28 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.904e-06/0.6917, allocations: 0 / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002104/0.6919, allocations: 23.94 kB / 1.028 GB, free: 11.61 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001843/0.6921, allocations: 115.2 kB / 1.028 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003242/0.6924, allocations: 84.05 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6925, allocations: 4 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.6926, allocations: 56 kB / 1.028 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.6928, allocations: 4 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.6931, allocations: 200.3 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.6934, allocations: 0.6809 MB / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.125e-05/0.6934, allocations: 23.42 kB / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6934, allocations: 0 / 1.029 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of Templates: time 0.002825/0.6963, allocations: 1.311 MB / 1.03 GB, free: 9.074 MB / 0.7794 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