Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",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.001577/0.001581, 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.001861/0.001861, allocations: 193.1 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.301/1.301, allocations: 222.9 MB / 239.8 MB, free: 4.547 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.453/2.453, allocations: 437 MB / 0.7099 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 64.14 kB / 0.8687 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5015/0.5029, allocations: 151.6 MB / 1.017 GB, free: 2.902 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002202/0.5051, allocations: 1.421 MB / 1.018 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.5066, allocations: 1.126 MB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.698e-05/0.5066, allocations: 4 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.5066, allocations: 3.938 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.9e-05/0.5067, allocations: 7.922 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.5071, allocations: 155.5 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.301e-05/0.5072, allocations: 35.8 kB / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.5072, allocations: 0 / 1.019 GB, free: 136 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.768e-05/0.5073, allocations: 15.92 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.465e-05/0.5074, allocations: 15.92 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.5074, allocations: 7.938 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005239/0.5079, allocations: 427.5 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.177e-05/0.5079, allocations: 7.938 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.662e-05/0.508, allocations: 11.94 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.5082, allocations: 197.8 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.5083, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.12e-07/0.5083, allocations: 0 / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.5083, allocations: 0 / 1.02 GB, free: 15.46 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003946/0.5087, allocations: 387.4 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.5087, allocations: 15.98 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.697e-05/0.5088, allocations: 38.69 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.107e-05/0.5088, allocations: 0.9375 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.401e-05/0.5089, allocations: 172.3 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.693e-06/0.5089, allocations: 384 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.455e-06/0.5089, allocations: 384 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.998e-05/0.509, allocations: 45.81 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-06/0.509, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.509, allocations: 0 / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.509, allocations: 3.938 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.461e-05/0.5091, allocations: 12 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000139/0.5092, allocations: 173.5 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.3e-05/0.5093, allocations: 38.61 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.5094, allocations: 16.89 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000809/0.5102, allocations: 0.9934 MB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.5102, allocations: 34.5 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.5102, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001489/0.5104, allocations: 65.53 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.5104, allocations: 51.41 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.731e-05/0.5105, allocations: 109.8 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.5105, allocations: 29.7 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.858e-05/0.5105, allocations: 80.14 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.313e-05/0.5105, allocations: 7.906 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/0.5106, allocations: 13.72 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.027e-05/0.5106, allocations: 322.8 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.903e-05/0.5107, allocations: 4 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.529e-05/0.5107, allocations: 4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.636e-05/0.5107, allocations: 28.84 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5108, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.607e-05/0.5108, allocations: 57.48 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.5109, allocations: 9.25 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.5109, allocations: 3.984 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.5109, allocations: 0 / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.511, allocations: 15.94 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.511, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.255e-05/0.511, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.511, allocations: 0 / 1.023 GB, free: 12.31 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 6.058e-05/0.5111, allocations: 114.4 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.5111, allocations: 7.922 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.5112, allocations: 65.53 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.5112, allocations: 4 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.5113, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-06/0.5113, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.503e-05/0.5114, allocations: 165.6 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5114, allocations: 3.938 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.712e-05/0.5114, allocations: 19.92 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.5115, allocations: 4 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.5115, allocations: 0 / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5115, allocations: 0 / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.5115, allocations: 0 / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.5116, allocations: 73.12 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.5116, allocations: 93.34 kB / 1.023 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.5116, allocations: 3.984 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.328e-05/0.5117, allocations: 0 / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.405e-05/0.5117, allocations: 4 kB / 1.023 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.5117, allocations: 8 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.558e-05/0.5117, allocations: 87.58 kB / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5117, allocations: 0 / 1.023 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002179/0.512, allocations: 35.98 kB / 1.023 GB, free: 11.53 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0004168/0.5124, allocations: 0.6708 MB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.742e-05/0.5125, allocations: 27.92 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5125, allocations: 0 / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.052e-05/0.5125, allocations: 8 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.5127, allocations: 10.39 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003864/0.5131, allocations: 219.5 kB / 1.024 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.5133, allocations: 0.677 MB / 1.025 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.168e-05/0.5134, allocations: 4 kB / 1.025 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.5134, allocations: 13.16 kB / 1.025 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.5134, allocations: 0 / 1.025 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.357/1.87, allocations: 2.027 MB / 1.027 GB, free: 8 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002874/1.87, allocations: 294.9 kB / 1.027 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/3.605, allocations: 0 / 1.027 GB, free: 7.621 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches