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.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.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.001145/0.001145, allocations: 108 kB / 15.61 MB, free: 148 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.001296/0.001296, allocations: 196.5 kB / 16.53 MB, free: 6.656 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.288/1.288, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.467/2.467, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 67.91 kB / 0.8694 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5357/0.5371, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002416/0.5396, allocations: 1.364 MB / 1.019 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.5411, allocations: 1.087 MB / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.576e-05/0.5412, allocations: 0 / 1.02 GB, free: 0 / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.116e-05/0.5412, allocations: 4.047 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.58e-05/0.5413, allocations: 11.91 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006376/0.5419, allocations: 224.2 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.916e-05/0.542, allocations: 27.86 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.183e-05/0.5421, allocations: 7.984 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.894e-05/0.5421, allocations: 11.83 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.773e-05/0.5422, allocations: 15.92 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.267e-06/0.5422, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005672/0.5428, allocations: 431.4 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.5428, allocations: 4 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/0.5428, allocations: 23.84 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.5431, allocations: 193.9 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.5431, allocations: 0 / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5431, allocations: 0 / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.5432, allocations: 0 / 1.021 GB, free: 15.07 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.0003881/0.5435, allocations: 379.4 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.5436, allocations: 19.97 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.837e-05/0.5436, allocations: 34.75 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.971e-05/0.5437, allocations: 4.875 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.214e-05/0.5437, allocations: 176.2 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.5438, allocations: 4.375 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.5438, allocations: 4.375 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.615e-05/0.5439, allocations: 41.75 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.5439, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.5439, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.5439, allocations: 3.984 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.604e-05/0.544, allocations: 15.98 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000135/0.5441, allocations: 161.7 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.203e-05/0.5442, allocations: 42.56 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.719e-05/0.5442, allocations: 12.89 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008208/0.545, allocations: 0.9895 MB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.5451, allocations: 34.5 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.5451, allocations: 3.938 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.000156/0.5452, allocations: 57.69 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.5453, allocations: 51.41 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.038e-05/0.5454, allocations: 113.8 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.5454, allocations: 25.7 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.801e-05/0.5454, allocations: 80.14 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.5454, allocations: 15.8 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.5455, allocations: 17.72 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.97e-05/0.5456, allocations: 314.8 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.276e-05/0.5456, allocations: 7.984 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.694e-05/0.5456, allocations: 11.94 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.124e-05/0.5457, allocations: 20.86 kB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.5457, allocations: 0 / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.012e-05/0.5457, allocations: 57.53 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.5458, allocations: 8 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.5458, allocations: 0 / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.5458, allocations: 0 / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.953e-05/0.5459, allocations: 15.98 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.5459, allocations: 0 / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.507e-05/0.5459, allocations: 0 / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.5459, allocations: 3.938 kB / 1.023 GB, free: 11.92 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 5.757e-05/0.546, allocations: 117.8 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.546, allocations: 3.938 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.5461, allocations: 59.14 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.5462, allocations: 7.984 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.5462, allocations: 0 / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.5462, allocations: 0 / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.734e-05/0.5463, allocations: 165.6 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.5463, allocations: 4.312 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.488e-05/0.5464, allocations: 19.92 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.5464, allocations: 4 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.5464, allocations: 0 / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.5464, allocations: 3.938 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5464, allocations: 0 / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.274e-05/0.5465, allocations: 81.02 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.134e-05/0.5465, allocations: 85.05 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.5465, allocations: 3.938 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.124e-05/0.5466, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.115e-05/0.5466, allocations: 4 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.5466, allocations: 4 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.517e-05/0.5466, allocations: 87.27 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.81e-07/0.5466, allocations: 0 / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002281/0.5469, allocations: 39.98 kB / 1.024 GB, free: 11.14 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.0004285/0.5473, allocations: 0.6708 MB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.347e-05/0.5474, allocations: 20 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5474, allocations: 0 / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.356e-05/0.5474, allocations: 19.92 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.5477, allocations: 5.172 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004066/0.5481, allocations: 198 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.5483, allocations: 0.6807 MB / 1.026 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.274e-05/0.5483, allocations: 5.969 kB / 1.026 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.5483, allocations: 15.44 kB / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.5483, allocations: 0 / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.71/2.258, allocations: 2.166 MB / 1.028 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/12.82, allocations: 12.5 kB / 1.028 GB, free: 7.449 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