Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_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_latest_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.007984/0.007984, allocations: 101.8 kB / 15.73 MB, free: 5.555 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.00171/0.00171, allocations: 194.6 kB / 16.67 MB, free: 5.484 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 3.008/3.008, allocations: 469.4 MB / 0.7421 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 67.89 kB / 1.064 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3744, allocations: 159.1 MB / 1.22 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002474/0.3769, allocations: 1.37 MB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.3786, allocations: 1.09 MB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.128e-05/0.3786, allocations: 3.938 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.876e-05/0.3787, allocations: 0 / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.16e-05/0.3787, allocations: 7.938 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007134/0.3794, allocations: 215.9 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.756e-05/0.3795, allocations: 31.84 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.532e-05/0.3796, allocations: 4 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.367e-05/0.3796, allocations: 7.938 kB / 1.222 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.992e-05/0.3797, allocations: 23.92 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.3797, allocations: 0 / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005958/0.3803, allocations: 431.4 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.3804, allocations: 4 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.63e-05/0.3804, allocations: 15.88 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003423/0.3807, allocations: 195.4 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3808, allocations: 4 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3808, allocations: 0 / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.3808, allocations: 0 / 1.223 GB, free: 11.15 MB / 0.9825 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.0004471/0.3812, allocations: 396.3 kB / 1.223 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.3813, allocations: 12.03 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.691e-05/0.3813, allocations: 30.75 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.743e-05/0.3814, allocations: 0.9375 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.3815, allocations: 176.3 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.3815, allocations: 384 / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.3815, allocations: 4.375 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.3816, allocations: 45.8 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.3816, allocations: 0 / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.3816, allocations: 0 / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.3817, allocations: 4 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.707e-05/0.3817, allocations: 12 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.3819, allocations: 161.7 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.844e-05/0.382, allocations: 38.52 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.562e-05/0.382, allocations: 20.92 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008896/0.3829, allocations: 0.9856 MB / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.383, allocations: 38.44 kB / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.383, allocations: 4 kB / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0001699/0.3831, allocations: 57.64 kB / 1.225 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.3832, allocations: 55.41 kB / 1.225 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.921e-05/0.3833, allocations: 113.7 kB / 1.225 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.3833, allocations: 29.7 kB / 1.225 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.284e-05/0.3833, allocations: 84.12 kB / 1.225 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.3833, allocations: 11.91 kB / 1.225 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.3834, allocations: 17.7 kB / 1.225 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.749e-05/0.3835, allocations: 318.8 kB / 1.226 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.12e-05/0.3835, allocations: 11.94 kB / 1.226 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.715e-05/0.3835, allocations: 4 kB / 1.226 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.621e-05/0.3836, allocations: 20.84 kB / 1.226 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3836, allocations: 0 / 1.226 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.281e-05/0.3837, allocations: 57.62 kB / 1.226 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.3837, allocations: 8 kB / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3837, allocations: 3.938 kB / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.3837, allocations: 0 / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.3838, allocations: 12 kB / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3838, allocations: 0 / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.696e-05/0.3839, allocations: 8 kB / 1.226 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.3839, allocations: 4 kB / 1.226 GB, free: 7.988 MB / 0.9825 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 7.155e-05/0.384, allocations: 111.2 kB / 1.226 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.384, allocations: 7.891 kB / 1.226 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.3841, allocations: 65.91 kB / 1.226 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3841, allocations: 4 kB / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3841, allocations: 0 / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.3841, allocations: 0 / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.3843, allocations: 169.6 kB / 1.226 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3843, allocations: 0 / 1.226 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.57e-05/0.3843, allocations: 15.94 kB / 1.226 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3844, allocations: 0 / 1.226 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.3844, allocations: 0 / 1.226 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3844, allocations: 0 / 1.226 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3844, allocations: 0 / 1.226 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.598e-05/0.3845, allocations: 73.12 kB / 1.226 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.3845, allocations: 96.92 kB / 1.226 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.3846, allocations: 4 kB / 1.226 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.344e-05/0.3846, allocations: 0 / 1.226 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.3846, allocations: 4 kB / 1.226 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-06/0.3846, allocations: 0 / 1.226 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.535e-05/0.3847, allocations: 87.27 kB / 1.226 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.553e-06/0.3847, allocations: 0 / 1.226 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002449/0.3849, allocations: 47.75 kB / 1.226 GB, free: 7.207 MB / 0.9825 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.0004679/0.3854, allocations: 0.6631 MB / 1.227 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.169e-05/0.3855, allocations: 23.98 kB / 1.227 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.3855, allocations: 0 / 1.227 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.243e-05/0.3855, allocations: 11.94 kB / 1.227 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.3858, allocations: 17.8 kB / 1.227 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/0.3862, allocations: 205.5 kB / 1.227 GB, free: 6.223 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.3864, allocations: 0.6806 MB / 1.228 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.694e-05/0.3865, allocations: 6.781 kB / 1.228 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.3865, allocations: 15.42 kB / 1.228 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of SimCode: time 2.1e-07/0.3865, allocations: 0 / 1.228 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.4054, allocations: 2.195 MB / 1.23 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.593/7.998, allocations: 14.75 kB / 1.23 GB, free: 3.492 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches