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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001267/0.001267, allocations: 109 kB / 16.37 MB, free: 6.477 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.001251/0.001251, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.503/2.503, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 62.62 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2777, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001588/0.2794, allocations: 0.5963 MB / 1.027 GB, free: 1.473 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003412/0.2797, allocations: 111.6 kB / 1.027 GB, free: 1.363 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.726e-05/0.2798, allocations: 0 / 1.027 GB, free: 1.363 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.714e-05/0.2798, allocations: 0 / 1.027 GB, free: 1.363 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.839e-06/0.2798, allocations: 0 / 1.027 GB, free: 1.363 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.2801, allocations: 39.89 kB / 1.027 GB, free: 1.324 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.2802, allocations: 67.92 kB / 1.028 GB, free: 1.258 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.44e-05/0.2803, allocations: 4 kB / 1.028 GB, free: 1.254 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.492e-05/0.2803, allocations: 19.98 kB / 1.028 GB, free: 1.234 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.197e-05/0.2804, allocations: 23.95 kB / 1.028 GB, free: 1.211 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.2804, allocations: 4 kB / 1.028 GB, free: 1.207 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.2805, allocations: 47.91 kB / 1.028 GB, free: 1.16 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.917e-05/0.2806, allocations: 27.95 kB / 1.028 GB, free: 1.133 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.446e-05/0.2806, allocations: 15.92 kB / 1.028 GB, free: 1.117 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.2808, allocations: 75.83 kB / 1.028 GB, free: 1.043 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2808, allocations: 0 / 1.028 GB, free: 1.043 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2808, allocations: 0 / 1.028 GB, free: 1.043 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.2808, allocations: 0 / 1.028 GB, free: 1.043 MB / 0.795 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.000465/0.2813, allocations: 363.6 kB / 1.028 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.2813, allocations: 15.97 kB / 1.028 GB, free: 0.6211 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.2814, allocations: 12.88 kB / 1.028 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.939e-05/0.2814, allocations: 178.6 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002275/0.2817, allocations: 277.6 kB / 1.029 GB, free: 68 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.2817, allocations: 4.375 kB / 1.029 GB, free: 64 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.282, allocations: 78.19 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.282, allocations: 3.938 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.282, allocations: 4 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.282, allocations: 4 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003304/0.2823, allocations: 127.8 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.2825, allocations: 181.5 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002688/0.2828, allocations: 102.5 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.2829, allocations: 44.83 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.2829, allocations: 4.312 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.283, allocations: 34.56 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.283, allocations: 3.938 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0004809/0.2835, allocations: 145.5 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.2835, allocations: 63.34 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.518e-05/0.2836, allocations: 89.86 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.2836, allocations: 25.7 kB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.6e-05/0.2836, allocations: 80.14 kB / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.12e-05/0.2837, allocations: 35.45 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.696e-05/0.2837, allocations: 29.7 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.842e-05/0.2838, allocations: 314.8 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.2839, allocations: 31.97 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.2841, allocations: 39.91 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.2843, allocations: 72.81 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2843, allocations: 0 / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003099/0.2846, allocations: 110.3 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.2847, allocations: 11.88 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.2847, allocations: 7.938 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.2847, allocations: 0 / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.2848, allocations: 23.97 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.2849, allocations: 0 / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.835e-05/0.2849, allocations: 15.84 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.2849, allocations: 8 kB / 1.03 GB, free: 14.27 MB / 0.8106 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.372e-05/0.285, allocations: 117.8 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.618e-05/0.285, allocations: 7.938 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.325e-05/0.2851, allocations: 7.969 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2851, allocations: 3.938 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.2851, allocations: 0 / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2851, allocations: 4 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.2852, allocations: 185.5 kB / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2853, allocations: 4 kB / 1.03 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.2854, allocations: 23.92 kB / 1.031 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.2854, allocations: 7.938 kB / 1.031 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.2854, allocations: 7.984 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2854, allocations: 0 / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2854, allocations: 0 / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003241/0.2857, allocations: 137.1 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.2858, allocations: 93.02 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.2858, allocations: 7.922 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.752e-05/0.2859, allocations: 4 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.2859, allocations: 11.98 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.286, allocations: 7.984 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.246e-05/0.286, allocations: 79.22 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.286, allocations: 0 / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000221/0.2862, allocations: 20 kB / 1.031 GB, free: 13.45 MB / 0.8106 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.0001707/0.2864, allocations: 127.2 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003107/0.2867, allocations: 87.88 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2867, allocations: 0 / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.2869, allocations: 43.91 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/0.287, allocations: 8 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003423/0.2874, allocations: 153 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.2876, allocations: 0.6846 MB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001085/0.2877, allocations: 43.81 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.129e-05/0.2878, allocations: 23.42 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.2878, allocations: 0 / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of Templates: time 0.003085/0.2909, allocations: 1.016 MB / 1.033 GB, free: 11.21 MB / 0.8106 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 -s gbode -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