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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.005416/0.005416, allocations: 102.5 kB / 15.74 MB, free: 6.031 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.001465/0.001465, allocations: 194.8 kB / 16.67 MB, free: 5.961 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.698/2.698, allocations: 482.6 MB / 0.755 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001821, allocations: 71.91 kB / 1.083 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2935, allocations: 162.3 MB / 1.242 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002861/0.2964, allocations: 1.355 MB / 1.243 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001777/0.2982, allocations: 1.083 MB / 1.244 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.64e-05/0.2983, allocations: 0 / 1.244 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.277e-05/0.2983, allocations: 11.92 kB / 1.244 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.555e-05/0.2984, allocations: 3.938 kB / 1.244 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006354/0.299, allocations: 218.6 kB / 1.245 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.45e-05/0.2991, allocations: 31.86 kB / 1.245 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.593e-05/0.2992, allocations: 3.938 kB / 1.245 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.176e-05/0.2992, allocations: 15.98 kB / 1.245 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.01e-05/0.2993, allocations: 11.92 kB / 1.245 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.2993, allocations: 4 kB / 1.245 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006666/0.3, allocations: 435.4 kB / 1.245 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.3, allocations: 7.938 kB / 1.245 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.3001, allocations: 11.94 kB / 1.245 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.3004, allocations: 199.4 kB / 1.245 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3004, allocations: 0 / 1.245 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3004, allocations: 0 / 1.245 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3004, allocations: 0 / 1.245 GB, free: 6.312 MB / 0.9981 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.00052/0.301, allocations: 390.8 kB / 1.246 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.301, allocations: 12.03 kB / 1.246 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.701e-05/0.301, allocations: 30.75 kB / 1.246 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/0.3011, allocations: 8.938 kB / 1.246 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.3012, allocations: 168.3 kB / 1.246 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.3013, allocations: 4.375 kB / 1.246 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.3013, allocations: 4.312 kB / 1.246 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.3014, allocations: 49.75 kB / 1.246 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3014, allocations: 0 / 1.246 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.3014, allocations: 0 / 1.246 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.3014, allocations: 0 / 1.246 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.257e-05/0.3015, allocations: 8 kB / 1.246 GB, free: 5.551 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001994/0.3017, allocations: 161.7 kB / 1.246 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.237e-05/0.3018, allocations: 46.58 kB / 1.246 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.268e-05/0.3018, allocations: 12.8 kB / 1.246 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/0.3029, allocations: 0.9934 MB / 1.247 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.303, allocations: 38.5 kB / 1.247 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.303, allocations: 0 / 1.247 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001744/0.3032, allocations: 53.69 kB / 1.247 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.3032, allocations: 55.41 kB / 1.247 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.738e-05/0.3033, allocations: 113.8 kB / 1.247 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.3034, allocations: 25.7 kB / 1.247 GB, free: 3.734 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/0.3034, allocations: 84.14 kB / 1.247 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.3034, allocations: 11.91 kB / 1.247 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.3035, allocations: 21.7 kB / 1.247 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3036, allocations: 310.8 kB / 1.248 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.616e-05/0.3037, allocations: 11.94 kB / 1.248 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.646e-05/0.3037, allocations: 4 kB / 1.248 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.551e-05/0.3038, allocations: 37.11 kB / 1.248 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.3038, allocations: 0 / 1.248 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.101e-05/0.3039, allocations: 53.59 kB / 1.248 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3039, allocations: 9.547 kB / 1.248 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3039, allocations: 0 / 1.248 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.3039, allocations: 0 / 1.248 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.304, allocations: 12 kB / 1.248 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.304, allocations: 3.938 kB / 1.248 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.304e-05/0.3041, allocations: 4 kB / 1.248 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.3041, allocations: 4 kB / 1.248 GB, free: 3.152 MB / 0.9981 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 9.561e-05/0.3042, allocations: 113.8 kB / 1.248 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.261e-05/0.3042, allocations: 7.938 kB / 1.248 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.3043, allocations: 57.59 kB / 1.248 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3043, allocations: 0 / 1.248 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3043, allocations: 0 / 1.248 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3044, allocations: 0 / 1.248 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.3045, allocations: 169.6 kB / 1.248 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3045, allocations: 0 / 1.248 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.409e-05/0.3046, allocations: 19.94 kB / 1.248 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.3046, allocations: 0 / 1.248 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.3046, allocations: 11.81 kB / 1.248 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3046, allocations: 4 kB / 1.248 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3046, allocations: 0 / 1.248 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.3047, allocations: 73.12 kB / 1.248 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.3048, allocations: 88.98 kB / 1.248 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.3048, allocations: 0 / 1.248 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.822e-05/0.3049, allocations: 8 kB / 1.248 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.477e-05/0.3049, allocations: 0 / 1.248 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.3049, allocations: 4 kB / 1.248 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.82e-05/0.3049, allocations: 87.27 kB / 1.248 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3049, allocations: 0 / 1.248 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002336/0.3052, allocations: 39.81 kB / 1.249 GB, free: 2.375 MB / 0.9981 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.0005849/0.3058, allocations: 0.6713 MB / 1.249 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001015/0.3059, allocations: 15.98 kB / 1.249 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3059, allocations: 0 / 1.249 GB, free: 1.66 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.676e-05/0.3059, allocations: 15.94 kB / 1.249 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.3062, allocations: 11.92 kB / 1.249 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004766/0.3067, allocations: 201.7 kB / 1.249 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.307, allocations: 0.6807 MB / 1.25 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.328e-05/0.3071, allocations: 4.609 kB / 1.25 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.303e-05/0.3071, allocations: 15.44 kB / 1.25 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of SimCode: time 2.11e-07/0.3071, allocations: 0 / 1.25 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.201/1.508, allocations: 2.191 MB / 1.252 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/13.42, allocations: 16.19 kB / 1.252 GB, free: 13.87 MB / 0.9981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=400 --tolerance=1e-06 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.mat","/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