Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001473/0.001473, allocations: 108 kB / 15.6 MB, free: 132 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.001412/0.001412, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.299/1.299, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.547/2.547, allocations: 469.8 MB / 0.7424 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001791/0.001792, allocations: 71.02 kB / 0.9087 GB, free: 34.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2891, allocations: 159.2 MB / 1.064 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003149/0.2923, allocations: 1.359 MB / 1.065 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001912/0.2942, allocations: 1.096 MB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.538e-05/0.2943, allocations: 0 / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.194e-05/0.2943, allocations: 0 / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.862e-05/0.2944, allocations: 7.938 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006449/0.295, allocations: 215.2 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.584e-05/0.2951, allocations: 27.86 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.995e-05/0.2952, allocations: 4 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.994e-05/0.2952, allocations: 19.86 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.379e-05/0.2953, allocations: 19.91 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.2953, allocations: 0 / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006347/0.296, allocations: 427.5 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.296, allocations: 4 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.296, allocations: 19.86 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000318/0.2964, allocations: 191.9 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/0.2964, allocations: 0 / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.719e-06/0.2964, allocations: 4 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.2964, allocations: 0 / 1.067 GB, free: 10.72 MB / 0.8262 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.0005102/0.2969, allocations: 383.3 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.297, allocations: 12.03 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.313e-05/0.297, allocations: 34.75 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.98e-05/0.297, allocations: 4.844 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.2972, allocations: 172.3 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.2972, allocations: 4.312 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.2972, allocations: 4.375 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.2974, allocations: 41.81 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.2974, allocations: 0 / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.2974, allocations: 0 / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.2974, allocations: 7.984 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.666e-05/0.2975, allocations: 12 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001967/0.2977, allocations: 161.7 kB / 1.068 GB, free: 9.754 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.384e-05/0.2978, allocations: 38.52 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.741e-05/0.2978, allocations: 20.92 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/0.2989, allocations: 0.9894 MB / 1.069 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.2989, allocations: 38.5 kB / 1.069 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.2989, allocations: 0 / 1.069 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001753/0.2991, allocations: 57.53 kB / 1.069 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.047e-05/0.2992, allocations: 55.41 kB / 1.069 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.612e-05/0.2992, allocations: 109.8 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.2993, allocations: 25.7 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.255e-05/0.2993, allocations: 84.14 kB / 1.07 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.2994, allocations: 15.75 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.2994, allocations: 17.7 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.2995, allocations: 318.8 kB / 1.07 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.012e-05/0.2996, allocations: 4 kB / 1.07 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.652e-05/0.2996, allocations: 7.984 kB / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.832e-05/0.2996, allocations: 24.86 kB / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2996, allocations: 0 / 1.07 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.336e-05/0.2997, allocations: 53.56 kB / 1.07 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.2997, allocations: 8 kB / 1.07 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2998, allocations: 0 / 1.07 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2998, allocations: 0 / 1.07 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.2999, allocations: 16 kB / 1.07 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2999, allocations: 0 / 1.07 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.143e-05/0.2999, allocations: 0 / 1.07 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.2999, allocations: 7.984 kB / 1.07 GB, free: 7.574 MB / 0.8262 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.793e-05/0.3, allocations: 109.8 kB / 1.07 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/0.3, allocations: 7.844 kB / 1.07 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.3002, allocations: 65.53 kB / 1.07 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3002, allocations: 0 / 1.07 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.3002, allocations: 0 / 1.07 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3002, allocations: 0 / 1.07 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.3003, allocations: 166 kB / 1.07 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3003, allocations: 0 / 1.07 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.603e-05/0.3004, allocations: 19.94 kB / 1.07 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3004, allocations: 7.938 kB / 1.07 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.3004, allocations: 0 / 1.07 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.3004, allocations: 0 / 1.07 GB, free: 7.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.3005, allocations: 3.984 kB / 1.07 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.3006, allocations: 81.05 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.3006, allocations: 84.95 kB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.3006, allocations: 4 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.175e-05/0.3007, allocations: 0 / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.3007, allocations: 11.94 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.3007, allocations: 0 / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.321e-05/0.3007, allocations: 87.25 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3007, allocations: 0 / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000238/0.301, allocations: 47.94 kB / 1.071 GB, free: 6.785 MB / 0.8262 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.0005171/0.3015, allocations: 0.6593 MB / 1.071 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001013/0.3016, allocations: 23.92 kB / 1.071 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3016, allocations: 0 / 1.071 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.998e-05/0.3017, allocations: 8 kB / 1.071 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.3019, allocations: 11.98 kB / 1.071 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004405/0.3023, allocations: 203.8 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.3026, allocations: 0.6768 MB / 1.072 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.152e-05/0.3026, allocations: 10.16 kB / 1.072 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.411e-05/0.3027, allocations: 15.42 kB / 1.072 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.3027, allocations: 0 / 1.072 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.36/1.663, allocations: 2.161 MB / 1.074 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.989/11.65, allocations: 6.625 kB / 1.074 GB, free: 3.117 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches