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.001096/0.001096, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 197 kB / 16.53 MB, free: 6.664 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.597/2.597, allocations: 437.1 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 67.91 kB / 0.8694 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5321/0.5334, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001889/0.5354, allocations: 0.5862 MB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003467/0.5357, allocations: 99.66 kB / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.177e-05/0.5358, allocations: 0 / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.542e-05/0.5358, allocations: 3.938 kB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.689e-06/0.5358, allocations: 0 / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003146/0.5362, allocations: 39.89 kB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.5363, allocations: 63.94 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.5363, allocations: 7.922 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.704e-05/0.5364, allocations: 31.97 kB / 1.018 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.126e-05/0.5364, allocations: 19.97 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.5365, allocations: 4 kB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.5366, allocations: 43.95 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.89e-05/0.5366, allocations: 23.97 kB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.354e-05/0.5367, allocations: 23.86 kB / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.5368, allocations: 67.83 kB / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.5368, allocations: 0 / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of FrontEnd: time 3.647e-06/0.5368, allocations: 4 kB / 1.018 GB, free: 1.477 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.5368, allocations: 0 / 1.018 GB, free: 1.477 MB / 0.7637 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.000446/0.5373, allocations: 375.5 kB / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.5373, allocations: 8.031 kB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.948e-05/0.5374, allocations: 42.75 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.5374, allocations: 4.938 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.2e-05/0.5375, allocations: 166.6 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002326/0.5377, allocations: 281.6 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.5378, allocations: 4.375 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.538, allocations: 85.81 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.538, allocations: 4 kB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.538, allocations: 15.88 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.538, allocations: 0 / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003237/0.5384, allocations: 131.8 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.5385, allocations: 181.5 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.5388, allocations: 98.52 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.539, allocations: 44.77 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.539, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.539, allocations: 42.5 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 9.31e-07/0.5391, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0005066/0.5396, allocations: 145.9 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.5396, allocations: 55.41 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.899e-05/0.5396, allocations: 89.86 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.5397, allocations: 25.7 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 1.911e-05/0.5397, allocations: 80.14 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.5397, allocations: 43.44 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.5398, allocations: 29.7 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.435e-05/0.5399, allocations: 318.8 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.54, allocations: 27.97 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.5401, allocations: 35.91 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.5404, allocations: 76.81 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.5404, allocations: 3.938 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003243/0.5408, allocations: 106.3 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.5408, allocations: 11.94 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.5408, allocations: 4 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.5408, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.541, allocations: 23.92 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.541, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.924e-05/0.5411, allocations: 15.89 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.5411, allocations: 4 kB / 1.021 GB, free: 14.65 MB / 0.7794 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.495e-05/0.5412, allocations: 117.8 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.849e-05/0.5412, allocations: 7.938 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.755e-05/0.5412, allocations: 11.97 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.5413, allocations: 3.984 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5413, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.5413, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.5414, allocations: 181.5 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5414, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.5416, allocations: 35.91 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.5416, allocations: 3.938 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.5416, allocations: 7.875 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.5416, allocations: 3.984 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.5416, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003475/0.5419, allocations: 153.1 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-05/0.542, allocations: 81.05 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.542, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.754e-05/0.5421, allocations: 7.984 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.604e-05/0.5421, allocations: 11.98 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.5422, allocations: 8 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.339e-05/0.5422, allocations: 75.28 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5422, allocations: 4 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002249/0.5424, allocations: 35.92 kB / 1.022 GB, free: 13.82 MB / 0.7794 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.0006691/0.5431, allocations: 0.6903 MB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003341/0.5434, allocations: 99.81 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5435, allocations: 4 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.5436, allocations: 55.89 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.5438, allocations: 0 / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004989/0.5443, allocations: 194.7 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.5445, allocations: 0.6846 MB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001673/0.5447, allocations: 39.95 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.5447, allocations: 19.42 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5447, allocations: 4 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.5627, allocations: 1.992 MB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.858/7.421, allocations: 4.578 kB / 1.025 GB, free: 10.02 MB / 0.7794 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