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.007603/0.007603, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001814/0.001814, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.293/2.293, allocations: 437.1 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 67.84 kB / 1.018 GB, free: 9.844 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7016/0.7028, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.00225/0.7051, allocations: 1.368 MB / 1.168 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.7067, allocations: 1.083 MB / 1.169 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.362e-05/0.7067, allocations: 0 / 1.169 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/0.7067, allocations: 7.938 kB / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.588e-05/0.7068, allocations: 7.938 kB / 1.169 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005739/0.7074, allocations: 217.5 kB / 1.169 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.825e-05/0.7074, allocations: 31.86 kB / 1.169 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.778e-05/0.7075, allocations: 3.984 kB / 1.169 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.479e-05/0.7076, allocations: 19.92 kB / 1.169 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.347e-05/0.7076, allocations: 15.92 kB / 1.169 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.7076, allocations: 4 kB / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005693/0.7082, allocations: 427.4 kB / 1.169 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.017e-05/0.7082, allocations: 4 kB / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.7083, allocations: 19.86 kB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.7086, allocations: 197.9 kB / 1.17 GB, free: 384 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.7086, allocations: 0 / 1.17 GB, free: 384 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7086, allocations: 0 / 1.17 GB, free: 384 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.7086, allocations: 0 / 1.17 GB, free: 384 kB / 0.8887 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.000448/0.709, allocations: 383.4 kB / 1.17 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.7091, allocations: 12.88 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.7091, allocations: 34.73 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.824e-05/0.7092, allocations: 12.84 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.7093, allocations: 164.3 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.7093, allocations: 4.375 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.804e-06/0.7093, allocations: 384 / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.608e-05/0.7094, allocations: 49.75 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.7094, allocations: 0 / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.7094, allocations: 0 / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.7094, allocations: 4 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.55e-05/0.7095, allocations: 8 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.7097, allocations: 165.7 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.384e-05/0.7098, allocations: 38.61 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.77e-05/0.7098, allocations: 12.89 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009375/0.7107, allocations: 0.9895 MB / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.7108, allocations: 38.44 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.7108, allocations: 0 / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4): time 0.0001707/0.7109, allocations: 65.59 kB / 1.171 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.711, allocations: 51.41 kB / 1.171 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.261e-05/0.7111, allocations: 106.1 kB / 1.172 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.7111, allocations: 29.64 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.553e-05/0.7111, allocations: 84.14 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.7112, allocations: 19.78 kB / 1.172 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.7112, allocations: 17.72 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.7113, allocations: 314.8 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.005e-05/0.7114, allocations: 8 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.966e-05/0.7114, allocations: 11.98 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.754e-05/0.7114, allocations: 24.8 kB / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7115, allocations: 0 / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.886e-05/0.7115, allocations: 53.62 kB / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.7116, allocations: 4 kB / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.7116, allocations: 0 / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.7116, allocations: 0 / 1.172 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.7117, allocations: 12 kB / 1.172 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.7117, allocations: 8.047 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.476e-05/0.7117, allocations: 8 kB / 1.172 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.7118, allocations: 0 / 1.172 GB, free: 13.22 MB / 0.9044 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 6.707e-05/0.7118, allocations: 113.8 kB / 1.172 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.066e-05/0.7118, allocations: 11.84 kB / 1.172 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.712, allocations: 57.59 kB / 1.172 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.712, allocations: 0 / 1.172 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.712, allocations: 0 / 1.172 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.712, allocations: 3.984 kB / 1.172 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.7121, allocations: 161.6 kB / 1.172 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.7121, allocations: 4 kB / 1.173 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.373e-05/0.7122, allocations: 15.94 kB / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.7122, allocations: 0 / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.7122, allocations: 7.984 kB / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7122, allocations: 4 kB / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.7122, allocations: 384 / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.583e-05/0.7123, allocations: 81.05 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.7124, allocations: 84.95 kB / 1.173 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.7124, allocations: 4 kB / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.435e-05/0.7124, allocations: 4 kB / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.141e-05/0.7125, allocations: 0 / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.7125, allocations: 0 / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.006e-05/0.7125, allocations: 95.2 kB / 1.173 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.7125, allocations: 0 / 1.173 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002273/0.7127, allocations: 36 kB / 1.173 GB, free: 12.44 MB / 0.9044 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.0004675/0.7132, allocations: 0.6787 MB / 1.173 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.444e-05/0.7133, allocations: 12 kB / 1.173 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.7133, allocations: 0 / 1.173 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.346e-05/0.7133, allocations: 19.98 kB / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.7136, allocations: 3.938 kB / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/0.714, allocations: 205.6 kB / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.7143, allocations: 0.6807 MB / 1.174 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.926e-05/0.7143, allocations: 3.984 kB / 1.174 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.057e-05/0.7143, allocations: 15.44 kB / 1.174 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.7143, allocations: 0 / 1.174 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0171/0.7315, allocations: 2.191 MB / 1.177 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.255/7.987, allocations: 10.31 kB / 1.177 GB, free: 8.75 MB / 0.9044 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