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.001513/0.001513, allocations: 99.19 kB / 16.35 MB, free: 5.824 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.001885/0.001885, allocations: 193.5 kB / 17.29 MB, free: 5.48 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.341/1.341, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.457/2.457, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.06 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2728/0.2742, allocations: 151.6 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001781/0.276, allocations: 0.5861 MB / 1.019 GB, free: 9.254 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003385/0.2764, allocations: 103.7 kB / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.609e-05/0.2764, allocations: 3.938 kB / 1.019 GB, free: 9.148 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.827e-05/0.2764, allocations: 0 / 1.019 GB, free: 9.148 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.789e-06/0.2765, allocations: 4 kB / 1.019 GB, free: 9.145 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003118/0.2768, allocations: 39.89 kB / 1.019 GB, free: 9.105 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.2769, allocations: 67.92 kB / 1.02 GB, free: 9.039 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.788e-05/0.277, allocations: 3.984 kB / 1.02 GB, free: 9.035 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.314e-05/0.277, allocations: 23.98 kB / 1.02 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.972e-05/0.277, allocations: 23.97 kB / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.2771, allocations: 4 kB / 1.02 GB, free: 8.984 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.2772, allocations: 43.95 kB / 1.02 GB, free: 8.941 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.458e-05/0.2772, allocations: 19.97 kB / 1.02 GB, free: 8.922 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.2773, allocations: 27.84 kB / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.2774, allocations: 67.84 kB / 1.02 GB, free: 8.828 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2774, allocations: 0 / 1.02 GB, free: 8.828 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2774, allocations: 7.938 kB / 1.02 GB, free: 8.82 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.2774, allocations: 0 / 1.02 GB, free: 8.82 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.0004467/0.2779, allocations: 375.5 kB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.2779, allocations: 8.031 kB / 1.02 GB, free: 8.395 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.278, allocations: 8.875 kB / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.886e-05/0.278, allocations: 172.3 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002401/0.2783, allocations: 277.6 kB / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.2783, allocations: 8.375 kB / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.2785, allocations: 78.19 kB / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2786, allocations: 7.938 kB / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.2786, allocations: 3.938 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2786, allocations: 0 / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003243/0.2789, allocations: 135.8 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/0.2791, allocations: 181.6 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002677/0.2794, allocations: 90.52 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.2795, allocations: 44.83 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.2795, allocations: 11.98 kB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.2796, allocations: 30.56 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of pre-optimization done (n=11): time 1.142e-06/0.2796, allocations: 0 / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.000499/0.2801, allocations: 153.8 kB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.2801, allocations: 55.41 kB / 1.021 GB, free: 6.969 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.974e-05/0.2802, allocations: 89.86 kB / 1.021 GB, free: 6.871 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.2802, allocations: 25.7 kB / 1.021 GB, free: 6.84 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.2802, allocations: 84.14 kB / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.467e-05/0.2803, allocations: 39.45 kB / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.072e-05/0.2804, allocations: 29.7 kB / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.2805, allocations: 310.8 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.2806, allocations: 35.97 kB / 1.022 GB, free: 6.332 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.2807, allocations: 31.97 kB / 1.022 GB, free: 6.301 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.281, allocations: 73.47 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.281, allocations: 3.938 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003065/0.2813, allocations: 121.5 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.2813, allocations: 7.938 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.2814, allocations: 0 / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.2814, allocations: 0 / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.2815, allocations: 23.98 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2815, allocations: 0 / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.394e-05/0.2816, allocations: 15.83 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.2816, allocations: 11.98 kB / 1.022 GB, free: 6.039 MB / 0.795 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 8.655e-05/0.2817, allocations: 125.7 kB / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.643e-05/0.2817, allocations: 11.92 kB / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.098e-05/0.2818, allocations: 11.97 kB / 1.022 GB, free: 5.879 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2818, allocations: 4 kB / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2818, allocations: 0 / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2818, allocations: 0 / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001324/0.282, allocations: 177.5 kB / 1.023 GB, free: 5.652 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.282, allocations: 4 kB / 1.023 GB, free: 5.648 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.2821, allocations: 27.91 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.2821, allocations: 3.938 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.2821, allocations: 4 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2821, allocations: 8 kB / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2821, allocations: 0 / 1.023 GB, free: 5.605 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003359/0.2825, allocations: 137 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.2825, allocations: 81.02 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.2825, allocations: 11.94 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.327e-05/0.2826, allocations: 7.984 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/0.2827, allocations: 7.984 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.2827, allocations: 12 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.296e-05/0.2827, allocations: 75.28 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2827, allocations: 0 / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002312/0.283, allocations: 23.92 kB / 1.023 GB, free: 5.219 MB / 0.795 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.0001821/0.2831, allocations: 119.2 kB / 1.023 GB, free: 5.09 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003127/0.2835, allocations: 91.86 kB / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2835, allocations: 0 / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.2836, allocations: 47.97 kB / 1.023 GB, free: 4.953 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.2838, allocations: 10.41 kB / 1.023 GB, free: 4.945 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004069/0.2842, allocations: 158.8 kB / 1.023 GB, free: 4.766 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.2844, allocations: 0.6884 MB / 1.024 GB, free: 4.051 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001362/0.2846, allocations: 35.95 kB / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.039e-05/0.2846, allocations: 19.42 kB / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.2846, allocations: 0 / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of Templates: time 0.003361/0.288, allocations: 1.017 MB / 1.025 GB, free: 2.984 MB / 0.795 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 -s gbode -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