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: "" <> 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.0007214/0.0007214, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004261/0.004261, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.252/1.252, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.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.353/2.353, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000322/0.0003221, allocations: 15.98 kB / 0.873 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.586/0.5863, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.00066/0.587, allocations: 321.5 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0004008/0.5875, allocations: 107.6 kB / 1.024 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.471e-05/0.5875, allocations: 8 kB / 1.024 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.641e-05/0.5875, allocations: 3.938 kB / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.889e-06/0.5875, allocations: 0 / 1.024 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.5878, allocations: 27.95 kB / 1.024 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.588, allocations: 59.92 kB / 1.024 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.05e-05/0.588, allocations: 0 / 1.024 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.142e-05/0.588, allocations: 23.97 kB / 1.024 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.048e-05/0.5881, allocations: 27.97 kB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.5881, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.5883, allocations: 47.95 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.623e-05/0.5883, allocations: 19.92 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.421e-05/0.5884, allocations: 57.55 kB / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.5885, allocations: 71.83 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.5885, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.134e-06/0.5885, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.5885, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.7794 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.0004308/0.589, allocations: 351.5 kB / 1.024 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.589, allocations: 8.031 kB / 1.024 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.74e-05/0.5891, allocations: 42.75 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.5891, allocations: 4.938 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.155e-05/0.5892, allocations: 174.6 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002466/0.5895, allocations: 277.6 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.5895, allocations: 4.375 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.5897, allocations: 89.88 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.5898, allocations: 0 / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.5898, allocations: 3.938 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.5898, allocations: 0 / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003463/0.5901, allocations: 131.8 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001762/0.5903, allocations: 181.5 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002994/0.5906, allocations: 102.5 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001448/0.5908, allocations: 40.83 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.5908, allocations: 7.984 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.5908, allocations: 42.44 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.5909, allocations: 0 / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0005237/0.5914, allocations: 149.8 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.5914, allocations: 55.41 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.759e-05/0.5915, allocations: 89.86 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.5915, allocations: 29.7 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.233e-05/0.5915, allocations: 84.08 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.09e-05/0.5916, allocations: 39.45 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.5916, allocations: 13.72 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.176e-05/0.5917, allocations: 314.8 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.5918, allocations: 31.97 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.592, allocations: 31.97 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002707/0.5923, allocations: 80.75 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.5923, allocations: 4 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003247/0.5926, allocations: 109.6 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.5926, allocations: 7.938 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.5927, allocations: 4 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.5927, allocations: 0 / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.5928, allocations: 23.97 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.5928, allocations: 7.922 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.222e-05/0.5929, allocations: 7.906 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.5929, allocations: 11.98 kB / 1.026 GB, free: 12.32 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 7.995e-05/0.593, allocations: 114.4 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.641e-05/0.593, allocations: 11.94 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.661e-05/0.5931, allocations: 11.97 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.5931, allocations: 0 / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5931, allocations: 0 / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.5931, allocations: 3.984 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.5932, allocations: 185.5 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.5932, allocations: 4 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.5934, allocations: 19.98 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.5934, allocations: 11.88 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.5934, allocations: 7.984 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.5934, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5934, allocations: 0 / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/0.5938, allocations: 137 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/0.5938, allocations: 85.03 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.5938, allocations: 8 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.996e-05/0.5939, allocations: 4 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.5939, allocations: 7.984 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.594, allocations: 7.984 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.13e-05/0.594, allocations: 75.28 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.594, allocations: 0 / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002224/0.5942, allocations: 27.94 kB / 1.027 GB, free: 11.51 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.0006583/0.5949, allocations: 0.7029 MB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003242/0.5952, allocations: 87.92 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5952, allocations: 3.938 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.5954, allocations: 51.91 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.5955, allocations: 6.031 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004879/0.596, allocations: 204.3 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000209/0.5962, allocations: 0.6903 MB / 1.029 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001384/0.5964, allocations: 39.91 kB / 1.029 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.351e-05/0.5964, allocations: 19.42 kB / 1.029 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.5964, allocations: 0 / 1.029 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.6215, allocations: 1.786 MB / 1.031 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/0.6217, allocations: 204 kB / 1.031 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/2.456, allocations: 0 / 1.031 GB, free: 7.695 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.Binomial_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_Binomial_fmu --startTime=0 --stopTime=15.9 --timeout=50 --tolerance=1e-06 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.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