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.001536/0.001536, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001216/0.001216, allocations: 193.7 kB / 16.14 MB, free: 6.711 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.292/1.292, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.508/2.508, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 71.91 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5873/0.5888, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Binomial): time 0.001602/0.5904, allocations: 0.6568 MB / 1.017 GB, free: 2.141 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003648/0.5908, allocations: 111.6 kB / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.336e-05/0.5908, allocations: 0 / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.59e-05/0.5909, allocations: 4 kB / 1.017 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.709e-06/0.5909, allocations: 0 / 1.017 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.5911, allocations: 31.89 kB / 1.018 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.5912, allocations: 59.94 kB / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.208e-05/0.5913, allocations: 0 / 1.018 GB, free: 1.938 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.099e-05/0.5913, allocations: 23.98 kB / 1.018 GB, free: 1.914 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.618e-05/0.5913, allocations: 23.95 kB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.5914, allocations: 4 kB / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.5915, allocations: 47.95 kB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.732e-05/0.5915, allocations: 23.91 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.188e-05/0.5916, allocations: 23.92 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.5917, allocations: 71.83 kB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.5917, allocations: 3.984 kB / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.52e-07/0.5917, allocations: 0 / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.5917, allocations: 0 / 1.018 GB, free: 1.719 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.0004229/0.5922, allocations: 367.5 kB / 1.018 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.5922, allocations: 8.031 kB / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.5922, allocations: 46.73 kB / 1.018 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.5923, allocations: 8.938 kB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.061e-05/0.5924, allocations: 166.6 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002221/0.5926, allocations: 281.6 kB / 1.019 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.5926, allocations: 4.375 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002267/0.5929, allocations: 89.88 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.5929, allocations: 0 / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.5929, allocations: 0 / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.5929, allocations: 4 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003191/0.5932, allocations: 131.8 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.5934, allocations: 177.5 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.5936, allocations: 102.5 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.5938, allocations: 44.83 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.5938, allocations: 0 / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.5938, allocations: 38.5 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=11): time 9.32e-07/0.5938, allocations: 3.938 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of matching and sorting (n=11): time 0.0004936/0.5943, allocations: 153.8 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.5944, allocations: 55.41 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.864e-05/0.5944, allocations: 89.86 kB / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.5944, allocations: 25.7 kB / 1.019 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.36e-05/0.5945, allocations: 88.14 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.5945, allocations: 35.45 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.5946, allocations: 25.7 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.473e-05/0.5946, allocations: 314.8 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.5948, allocations: 31.97 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.5949, allocations: 39.97 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.5952, allocations: 72.75 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5952, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003104/0.5955, allocations: 113.6 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.5955, allocations: 7.938 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.5955, allocations: 0 / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.5955, allocations: 0 / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.5957, allocations: 27.97 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.5957, allocations: 0 / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.5958, allocations: 15.91 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.5958, allocations: 11.98 kB / 1.02 GB, free: 14.89 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.34e-05/0.5959, allocations: 114.4 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.5959, allocations: 7.875 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/0.5959, allocations: 7.969 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.5959, allocations: 4 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.5959, allocations: 0 / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.5959, allocations: 3.984 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.5961, allocations: 185.5 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.5961, allocations: 8 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.5962, allocations: 23.92 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.5962, allocations: 3.938 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.5963, allocations: 7.984 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.5963, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.5963, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.5966, allocations: 137.1 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.5967, allocations: 92.94 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.5967, allocations: 7.938 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.565e-05/0.5968, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.5968, allocations: 15.92 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.5968, allocations: 7.984 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.169e-05/0.5969, allocations: 75.28 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5969, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000215/0.5971, allocations: 27.94 kB / 1.021 GB, free: 14.08 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.0006262/0.5977, allocations: 0.6952 MB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000298/0.598, allocations: 91.92 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.598, allocations: 0 / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.5982, allocations: 43.91 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.5983, allocations: 9.688 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.5988, allocations: 216.3 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.599, allocations: 0.6905 MB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001404/0.5991, allocations: 39.95 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.85e-05/0.5992, allocations: 19.42 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.5992, allocations: 0 / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01025/0.6094, allocations: 1.852 MB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/0.6096, allocations: 197.9 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/2.244, allocations: 4 kB / 1.025 GB, free: 10.17 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