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.001181/0.001181, allocations: 101.6 kB / 16.37 MB, free: 6.43 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.00124/0.00124, allocations: 195.8 kB / 17.31 MB, free: 5.781 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.186/1.186, allocations: 222.9 MB / 241 MB, free: 15.15 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.201/2.201, allocations: 437.1 MB / 0.7112 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 64.53 kB / 0.8707 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2357, allocations: 151.6 MB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001449/0.2372, allocations: 0.58 MB / 1.019 GB, free: 9.297 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003082/0.2375, allocations: 115.6 kB / 1.019 GB, free: 9.184 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.439e-05/0.2375, allocations: 0 / 1.019 GB, free: 9.184 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.175e-05/0.2376, allocations: 4 kB / 1.019 GB, free: 9.18 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.649e-06/0.2376, allocations: 0 / 1.019 GB, free: 9.18 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002763/0.2379, allocations: 39.89 kB / 1.02 GB, free: 9.141 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.905e-05/0.238, allocations: 59.94 kB / 1.02 GB, free: 9.082 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.457e-05/0.238, allocations: 4 kB / 1.02 GB, free: 9.078 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.93e-05/0.238, allocations: 27.95 kB / 1.02 GB, free: 9.051 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.338e-05/0.2381, allocations: 15.98 kB / 1.02 GB, free: 9.035 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.2381, allocations: 4 kB / 1.02 GB, free: 9.031 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.2382, allocations: 55.88 kB / 1.02 GB, free: 8.977 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.2382, allocations: 23.91 kB / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.537e-05/0.2383, allocations: 15.92 kB / 1.02 GB, free: 8.938 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.2384, allocations: 83.81 kB / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.2384, allocations: 0 / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.182e-06/0.2384, allocations: 0 / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.2384, allocations: 0 / 1.02 GB, free: 8.855 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.0003954/0.2388, allocations: 375.5 kB / 1.02 GB, free: 8.438 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.2389, allocations: 12.03 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.2389, allocations: 4.938 kB / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.985e-05/0.239, allocations: 164.3 kB / 1.02 GB, free: 8.223 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002063/0.2392, allocations: 285.6 kB / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.2392, allocations: 8.312 kB / 1.021 GB, free: 7.875 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.2394, allocations: 78.2 kB / 1.021 GB, free: 7.793 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.2394, allocations: 7.875 kB / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.2394, allocations: 7.984 kB / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.2394, allocations: 0 / 1.021 GB, free: 7.777 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002988/0.2397, allocations: 135.8 kB / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.2399, allocations: 173.6 kB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.2402, allocations: 98.52 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.2403, allocations: 40.84 kB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.2403, allocations: 0 / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.2403, allocations: 46.48 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.2404, allocations: 0 / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of matching and sorting (n=11): time 0.0004394/0.2408, allocations: 141.8 kB / 1.021 GB, free: 7.078 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.2408, allocations: 59.39 kB / 1.021 GB, free: 7.008 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.915e-05/0.2409, allocations: 93.8 kB / 1.021 GB, free: 6.906 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.2409, allocations: 29.7 kB / 1.021 GB, free: 6.871 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.199e-05/0.2409, allocations: 84.14 kB / 1.022 GB, free: 6.785 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/0.241, allocations: 35.45 kB / 1.022 GB, free: 6.75 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.241, allocations: 29.69 kB / 1.022 GB, free: 6.715 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 7.769e-05/0.2411, allocations: 318.8 kB / 1.022 GB, free: 6.395 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.2412, allocations: 27.97 kB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.2413, allocations: 39.91 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.2416, allocations: 77.42 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2416, allocations: 0 / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002827/0.2418, allocations: 113.6 kB / 1.022 GB, free: 6.133 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.2419, allocations: 11.94 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.2419, allocations: 0 / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.2419, allocations: 0 / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.242, allocations: 19.98 kB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.242, allocations: 0 / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.22e-05/0.2421, allocations: 23.77 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.2421, allocations: 4 kB / 1.022 GB, free: 6.074 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 6.427e-05/0.2422, allocations: 128.2 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.2422, allocations: 7.938 kB / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/0.2422, allocations: 7.969 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.2422, allocations: 0 / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.2423, allocations: 0 / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2423, allocations: 0 / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.2424, allocations: 181.6 kB / 1.023 GB, free: 5.695 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2424, allocations: 4 kB / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.2425, allocations: 23.97 kB / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.2425, allocations: 11.94 kB / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.2425, allocations: 0 / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2425, allocations: 0 / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2425, allocations: 0 / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002902/0.2428, allocations: 148.9 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 2.9e-05/0.2429, allocations: 81.02 kB / 1.023 GB, free: 5.395 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.2429, allocations: 3.938 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.006e-05/0.2429, allocations: 4 kB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.243, allocations: 19.97 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.243, allocations: 4 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.037e-05/0.243, allocations: 75.28 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of sort global known variables: time 9e-08/0.243, allocations: 0 / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001981/0.2432, allocations: 20 kB / 1.023 GB, free: 5.27 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.0001515/0.2434, allocations: 127.2 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002822/0.2437, allocations: 87.88 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.2437, allocations: 7.938 kB / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.2438, allocations: 59.83 kB / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001189/0.244, allocations: 0 / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000311/0.2443, allocations: 157 kB / 1.023 GB, free: 4.801 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.2445, allocations: 0.6807 MB / 1.024 GB, free: 4.094 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001055/0.2446, allocations: 39.95 kB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.342e-05/0.2446, allocations: 15.44 kB / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of SimCode: time 2.7e-07/0.2446, allocations: 0 / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of Templates: time 0.002698/0.2473, allocations: 1.017 MB / 1.025 GB, free: 3.027 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 cvode -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