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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001398/0.001398, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001467/0.001467, allocations: 191.8 kB / 16.14 MB, free: 6.691 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.276/1.276, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.555/2.555, allocations: 461.8 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001283, allocations: 69.38 kB / 0.8986 GB, free: 36.9 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3021, allocations: 157.4 MB / 1.052 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003007/0.3051, allocations: 1.431 MB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001865/0.307, allocations: 1.145 MB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.733e-05/0.3071, allocations: 0 / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.178e-05/0.3071, allocations: 0 / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.432e-05/0.3072, allocations: 7.922 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006246/0.3078, allocations: 151.6 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.361e-05/0.3079, allocations: 31.88 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.532e-05/0.3079, allocations: 3.984 kB / 1.055 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.99e-05/0.308, allocations: 15.92 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.468e-05/0.3081, allocations: 15.92 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.3081, allocations: 4 kB / 1.055 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006175/0.3087, allocations: 419.5 kB / 1.055 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.3087, allocations: 7.984 kB / 1.055 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.281e-05/0.3088, allocations: 19.88 kB / 1.055 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003849/0.3092, allocations: 195.8 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3092, allocations: 0 / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3092, allocations: 3.938 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3092, allocations: 4 kB / 1.056 GB, free: 4.711 MB / 0.8106 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.0004994/0.3097, allocations: 383.4 kB / 1.056 GB, free: 4.289 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.3098, allocations: 15.97 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.684e-05/0.3098, allocations: 34.75 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.819e-05/0.3098, allocations: 0.9375 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.31, allocations: 172.3 kB / 1.056 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.31, allocations: 384 / 1.056 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.31, allocations: 4.375 kB / 1.056 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.3101, allocations: 41.81 kB / 1.056 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.3101, allocations: 0 / 1.056 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.3101, allocations: 0 / 1.056 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.3101, allocations: 4 kB / 1.056 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.012e-05/0.3102, allocations: 15.92 kB / 1.056 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.3104, allocations: 157.7 kB / 1.056 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.312e-05/0.3105, allocations: 42.56 kB / 1.056 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.364e-05/0.3105, allocations: 16.89 kB / 1.056 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009726/0.3115, allocations: 0.9894 MB / 1.057 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.3115, allocations: 42.5 kB / 1.057 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3116, allocations: 0 / 1.057 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001812/0.3117, allocations: 57.53 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.3118, allocations: 55.41 kB / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.99e-05/0.3119, allocations: 109.8 kB / 1.058 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.3119, allocations: 25.7 kB / 1.058 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.3119, allocations: 92.12 kB / 1.058 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.312, allocations: 11.84 kB / 1.058 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.312, allocations: 13.72 kB / 1.058 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3121, allocations: 314.8 kB / 1.058 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.453e-05/0.3122, allocations: 11.98 kB / 1.058 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.543e-05/0.3122, allocations: 4 kB / 1.058 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.6e-05/0.3122, allocations: 20.8 kB / 1.058 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3122, allocations: 4 kB / 1.058 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.832e-05/0.3123, allocations: 57.53 kB / 1.058 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3124, allocations: 8 kB / 1.058 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3124, allocations: 0 / 1.058 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.3124, allocations: 0 / 1.058 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.3125, allocations: 15.98 kB / 1.058 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.3125, allocations: 0 / 1.058 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.433e-05/0.3125, allocations: 0 / 1.058 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.3126, allocations: 8 kB / 1.058 GB, free: 1.562 MB / 0.8106 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.716e-05/0.3126, allocations: 105.8 kB / 1.058 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.3127, allocations: 7.938 kB / 1.058 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.3128, allocations: 77.45 kB / 1.058 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.3128, allocations: 0 / 1.058 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3128, allocations: 0 / 1.058 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3128, allocations: 0 / 1.058 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.313, allocations: 165.6 kB / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.313, allocations: 0 / 1.059 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.15e-05/0.3131, allocations: 19.92 kB / 1.059 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3131, allocations: 0 / 1.059 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.3131, allocations: 0 / 1.059 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3131, allocations: 4 kB / 1.059 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3131, allocations: 0 / 1.059 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.3132, allocations: 81 kB / 1.059 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.546e-05/0.3133, allocations: 85.47 kB / 1.059 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.3133, allocations: 0 / 1.059 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.583e-05/0.3133, allocations: 4 kB / 1.059 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.858e-05/0.3133, allocations: 7.984 kB / 1.059 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.3133, allocations: 0 / 1.059 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.064e-05/0.3134, allocations: 83.28 kB / 1.059 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3134, allocations: 0 / 1.059 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002506/0.3137, allocations: 51.92 kB / 1.059 GB, free: 0.7773 MB / 0.8106 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.0005374/0.3142, allocations: 0.6669 MB / 1.06 GB, free: 84 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.467e-05/0.3143, allocations: 24 kB / 1.06 GB, free: 60 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3143, allocations: 0 / 1.06 GB, free: 60 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.408e-05/0.3143, allocations: 11.98 kB / 1.06 GB, free: 48 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/0.3146, allocations: 9.531 kB / 1.06 GB, free: 40 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004944/0.3151, allocations: 191.6 kB / 1.06 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.3154, allocations: 0.6848 MB / 1.06 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.572e-05/0.3154, allocations: 6.781 kB / 1.06 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.3154, allocations: 15.44 kB / 1.06 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of SimCode: time 4.81e-07/0.3155, allocations: 0 / 1.06 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1278/0.4432, allocations: 2.046 MB / 1.062 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003038/0.4436, allocations: 305.1 kB / 1.063 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/2.179, allocations: 2.844 kB / 1.063 GB, free: 12.87 MB / 0.8262 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=50 --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