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.005389/0.005389, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001339/0.001339, allocations: 190.1 kB / 16.67 MB, free: 5.875 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.486/1.486, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.645/2.645, allocations: 437.1 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 68.11 kB / 1.018 GB, free: 9.84 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7428/0.7448, allocations: 151.6 MB / 1.166 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001613/0.7464, allocations: 0.5922 MB / 1.167 GB, free: 3.148 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003842/0.7468, allocations: 101.6 kB / 1.167 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.7468, allocations: 0 / 1.167 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.568e-05/0.7469, allocations: 0 / 1.167 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.182e-06/0.7469, allocations: 0 / 1.167 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.7472, allocations: 39.88 kB / 1.167 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.7474, allocations: 59.94 kB / 1.167 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.063e-05/0.7474, allocations: 4 kB / 1.167 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.914e-05/0.7475, allocations: 27.91 kB / 1.167 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.078e-05/0.7475, allocations: 27.91 kB / 1.167 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.7475, allocations: 4 kB / 1.167 GB, free: 2.891 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.7477, allocations: 55.94 kB / 1.167 GB, free: 2.836 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.954e-05/0.7477, allocations: 15.98 kB / 1.167 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.7478, allocations: 19.92 kB / 1.167 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.7479, allocations: 75.75 kB / 1.167 GB, free: 2.727 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.7479, allocations: 0 / 1.167 GB, free: 2.727 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7479, allocations: 0 / 1.167 GB, free: 2.727 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.748, allocations: 0 / 1.167 GB, free: 2.727 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.0005553/0.7485, allocations: 379 kB / 1.168 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.7486, allocations: 16.91 kB / 1.168 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.088e-05/0.7486, allocations: 38.75 kB / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.7487, allocations: 12.94 kB / 1.168 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.7488, allocations: 160.4 kB / 1.168 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003128/0.7491, allocations: 277.6 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.7492, allocations: 8.375 kB / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.7494, allocations: 77.95 kB / 1.168 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.7494, allocations: 0 / 1.168 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.7495, allocations: 4 kB / 1.168 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.7495, allocations: 8 kB / 1.168 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000373/0.7499, allocations: 135.7 kB / 1.168 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002036/0.7501, allocations: 189.5 kB / 1.168 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003312/0.7504, allocations: 90.53 kB / 1.169 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.7506, allocations: 44.83 kB / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.7506, allocations: 0 / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.7506, allocations: 42.5 kB / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=11): time 9.91e-07/0.7506, allocations: 0 / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.0005692/0.7512, allocations: 157.8 kB / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.7513, allocations: 51.41 kB / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.127e-05/0.7513, allocations: 89.86 kB / 1.169 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.7513, allocations: 29.7 kB / 1.169 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.7514, allocations: 80.14 kB / 1.169 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.242e-05/0.7514, allocations: 39.67 kB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.754e-05/0.7515, allocations: 29.7 kB / 1.169 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.7517, allocations: 318.8 kB / 1.169 GB, free: 216 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.7518, allocations: 35.97 kB / 1.169 GB, free: 180 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.752, allocations: 27.98 kB / 1.169 GB, free: 152 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002975/0.7523, allocations: 81.34 kB / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.7523, allocations: 0 / 1.17 GB, free: 68 kB / 0.8887 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003693/0.7526, allocations: 121.5 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.7527, allocations: 7.938 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.7527, allocations: 3.984 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.7527, allocations: 4 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.7529, allocations: 23.98 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.7529, allocations: 0 / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.081e-05/0.7529, allocations: 4 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.753, allocations: 11.98 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.175e-05/0.7531, allocations: 117.8 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.7531, allocations: 7.891 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.12e-05/0.7531, allocations: 11.95 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.7531, allocations: 8 kB / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.7531, allocations: 0 / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.7532, allocations: 0 / 1.17 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.7533, allocations: 177.6 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7533, allocations: 0 / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.7534, allocations: 19.98 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.7535, allocations: 7.922 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.7535, allocations: 8 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.7535, allocations: 0 / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.7535, allocations: 0 / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003827/0.7539, allocations: 148.9 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.7539, allocations: 89.05 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.7539, allocations: 0 / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.069e-05/0.754, allocations: 4 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/0.7541, allocations: 15.97 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.7541, allocations: 8 kB / 1.17 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.611e-05/0.7541, allocations: 77.75 kB / 1.17 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.7541, allocations: 0 / 1.17 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002398/0.7544, allocations: 27.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.0007633/0.7552, allocations: 0.702 MB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004175/0.7556, allocations: 83.88 kB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7556, allocations: 0 / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.7558, allocations: 55.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.0001344/0.7559, 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.0005172/0.7565, allocations: 199.2 kB / 1.171 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.7568, allocations: 0.6846 MB / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001577/0.7569, 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.093e-05/0.757, allocations: 23.36 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of SimCode: time 2.71e-07/0.757, allocations: 0 / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02204/0.779, allocations: 2.035 MB / 1.174 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.277/9.056, allocations: 9.094 kB / 1.174 GB, free: 11.25 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