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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Binomial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_Binomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004563/0.004563, allocations: 98.62 kB / 15.73 MB, free: 6.066 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.001117/0.001117, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.519/2.519, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 67.84 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8331/0.8346, allocations: 151.6 MB / 1.166 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001831/0.8365, allocations: 0.5925 MB / 1.167 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003951/0.8369, allocations: 109.6 kB / 1.167 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.5e-05/0.8369, allocations: 0 / 1.167 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.43e-05/0.837, allocations: 0 / 1.167 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.115e-06/0.837, allocations: 0 / 1.167 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003235/0.8373, allocations: 35.84 kB / 1.167 GB, free: 3.008 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.8374, allocations: 67.92 kB / 1.167 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.8375, allocations: 7.984 kB / 1.167 GB, free: 2.934 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.614e-05/0.8375, allocations: 23.98 kB / 1.167 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.322e-05/0.8376, allocations: 23.95 kB / 1.167 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.8376, allocations: 4 kB / 1.167 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.8377, allocations: 47.97 kB / 1.167 GB, free: 2.836 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.006e-05/0.8378, allocations: 23.95 kB / 1.167 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.371e-05/0.8378, allocations: 19.86 kB / 1.167 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.838, allocations: 71.83 kB / 1.167 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.838, allocations: 0 / 1.167 GB, free: 2.723 MB / 0.8887 GB Notification: Performance of FrontEnd: time 8.91e-07/0.838, allocations: 3.938 kB / 1.167 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.838, allocations: 0 / 1.167 GB, free: 2.719 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.0004824/0.8385, allocations: 379 kB / 1.168 GB, free: 2.301 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.8385, allocations: 12.92 kB / 1.168 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.604e-05/0.8386, allocations: 38.73 kB / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.8386, allocations: 8.938 kB / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.086e-05/0.8387, allocations: 160.4 kB / 1.168 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002492/0.839, allocations: 277.6 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.839, allocations: 4.375 kB / 1.168 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.8393, allocations: 89.92 kB / 1.168 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.8393, allocations: 0 / 1.168 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.8393, allocations: 7.938 kB / 1.168 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.8393, allocations: 4 kB / 1.168 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003545/0.8397, allocations: 135.8 kB / 1.168 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001825/0.8399, allocations: 177.5 kB / 1.168 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.8402, allocations: 98.45 kB / 1.169 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.8404, allocations: 44.83 kB / 1.169 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.839e-05/0.8404, allocations: 7.984 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.8404, allocations: 42.5 kB / 1.169 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.8404, allocations: 3.938 kB / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.0005524/0.841, allocations: 145.9 kB / 1.169 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.841, allocations: 51.41 kB / 1.169 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.665e-05/0.8411, allocations: 89.86 kB / 1.169 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.8411, allocations: 33.7 kB / 1.169 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.805e-05/0.8411, allocations: 80.14 kB / 1.169 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.225e-05/0.8412, allocations: 35.69 kB / 1.169 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.103e-05/0.8413, allocations: 33.7 kB / 1.169 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.8414, allocations: 314.8 kB / 1.169 GB, free: 212 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.8415, allocations: 31.98 kB / 1.169 GB, free: 180 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/0.8417, allocations: 31.97 kB / 1.169 GB, free: 148 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.842, allocations: 77.41 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.842, allocations: 0 / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000367/0.8423, allocations: 125.5 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.8424, allocations: 7.938 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.8424, allocations: 4 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.8424, allocations: 4 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.8426, allocations: 23.97 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.8426, allocations: 0 / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.752e-05/0.8427, allocations: 4 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.8427, allocations: 7.984 kB / 1.17 GB, free: 15.89 MB / 0.9044 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 9.152e-05/0.8428, allocations: 117.8 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.8428, allocations: 7.891 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.286e-05/0.8429, allocations: 19.97 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.8429, allocations: 0 / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.8429, allocations: 0 / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.8429, allocations: 3.984 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.8431, allocations: 181.6 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.8431, allocations: 0 / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.8433, allocations: 19.98 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.8433, allocations: 3.938 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.8433, allocations: 11.92 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.8433, allocations: 0 / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8433, allocations: 0 / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.8437, allocations: 145 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.8438, allocations: 89.03 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.8438, allocations: 0 / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.735e-05/0.8439, allocations: 8 kB / 1.17 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/0.8439, allocations: 11.92 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.8439, allocations: 7.984 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 2.949e-05/0.844, allocations: 77.75 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.844, allocations: 4 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002485/0.8442, allocations: 23.94 kB / 1.17 GB, free: 15.07 MB / 0.9044 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.0007659/0.845, allocations: 0.702 MB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003661/0.8454, allocations: 83.88 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8454, allocations: 4 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.8456, allocations: 51.91 kB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.8457, allocations: 4 kB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005332/0.8463, allocations: 190.4 kB / 1.171 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.8465, allocations: 0.6885 MB / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001783/0.8467, allocations: 39.95 kB / 1.172 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.357e-05/0.8468, allocations: 19.42 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.8468, allocations: 0 / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.8662, allocations: 2.04 MB / 1.174 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.677/8.543, allocations: 12.98 kB / 1.174 GB, free: 11.24 MB / 0.9044 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv --start-time 0 --stop-time 15.9 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00636 Buildings_10_Buildings_Utilities_Math_Functions_Examples_Binomial.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial_res.csv","/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