Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 104.2 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0018/0.0018, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.52/1.52, allocations: 230.6 MB / 252.8 MB, free: 9.105 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.271/3.271, allocations: 0.49 GB / 0.7916 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_12_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_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 78.8 kB / 1.149 GB, free: 26.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4217/0.4238, allocations: 176.1 MB / 1.321 GB, free: 3.211 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003257/0.427, allocations: 1.391 MB / 1.322 GB, free: 1.812 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002178/0.4292, allocations: 1.149 MB / 1.323 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.82e-05/0.4292, allocations: 3.938 kB / 1.323 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.888e-05/0.4293, allocations: 8 kB / 1.323 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.335e-05/0.4293, allocations: 7.922 kB / 1.323 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.4303, allocations: 224.6 kB / 1.324 GB, free: 428 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.4305, allocations: 31.8 kB / 1.324 GB, free: 396 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.697e-05/0.4305, allocations: 7.938 kB / 1.324 GB, free: 388 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001561/0.4307, allocations: 15.98 kB / 1.324 GB, free: 372 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.751e-05/0.4308, allocations: 15.92 kB / 1.324 GB, free: 356 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.4308, allocations: 4 kB / 1.324 GB, free: 352 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008768/0.4316, allocations: 435.5 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.967e-05/0.4317, allocations: 3.938 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.935e-05/0.4317, allocations: 15.94 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005126/0.4322, allocations: 211.3 kB / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.4322, allocations: 0 / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4322, allocations: 0 / 1.324 GB, free: 15.69 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.4322, allocations: 0 / 1.324 GB, free: 15.69 MB / 1.029 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.0006845/0.4329, allocations: 394.8 kB / 1.325 GB, free: 15.26 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.433, allocations: 12.03 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.034e-05/0.433, allocations: 34.73 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.472e-05/0.4331, allocations: 4.891 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.4332, allocations: 168.3 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.4332, allocations: 384 / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.4333, allocations: 8.375 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.4334, allocations: 37.81 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.4334, allocations: 0 / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.4334, allocations: 4 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.4334, allocations: 4 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.228e-05/0.4335, allocations: 19.92 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.4337, allocations: 161.6 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.4338, allocations: 38.56 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/0.4339, allocations: 12.89 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001117/0.435, allocations: 0.9895 MB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.07e-05/0.435, allocations: 38.44 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.435, allocations: 4 kB / 1.326 GB, free: 13.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0001915/0.4352, allocations: 65.8 kB / 1.326 GB, free: 13.32 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.4353, allocations: 51.41 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.4354, allocations: 106.1 kB / 1.326 GB, free: 13.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.4354, allocations: 25.7 kB / 1.326 GB, free: 13.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.047e-05/0.4354, allocations: 88.12 kB / 1.326 GB, free: 13.02 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.4355, allocations: 11.91 kB / 1.326 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.076e-05/0.4355, allocations: 13.72 kB / 1.327 GB, free: 12.99 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.4357, allocations: 318.8 kB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.864e-05/0.4357, allocations: 7.984 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.877e-05/0.4357, allocations: 8 kB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.363e-05/0.4358, allocations: 24.8 kB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4358, allocations: 0 / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001021/0.4359, allocations: 57.58 kB / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.4359, allocations: 4 kB / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.4359, allocations: 0 / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.4359, allocations: 11.94 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.436, allocations: 11.98 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/0.4361, allocations: 12.06 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.327e-05/0.4361, allocations: 0 / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.4361, allocations: 0 / 1.327 GB, free: 12.52 MB / 1.029 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.637e-05/0.4362, allocations: 113.8 kB / 1.327 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.293e-05/0.4362, allocations: 3.938 kB / 1.327 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.4364, allocations: 65.52 kB / 1.327 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4364, allocations: 0 / 1.327 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4364, allocations: 0 / 1.327 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4364, allocations: 4 kB / 1.327 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.4365, allocations: 157.7 kB / 1.327 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4365, allocations: 0 / 1.327 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.514e-05/0.4366, allocations: 19.92 kB / 1.327 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4366, allocations: 0 / 1.327 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.4366, allocations: 4 kB / 1.327 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4366, allocations: 0 / 1.327 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4366, allocations: 0 / 1.327 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001374/0.4368, allocations: 81.02 kB / 1.327 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.4368, allocations: 88.98 kB / 1.327 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.4368, allocations: 4 kB / 1.327 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.236e-05/0.4369, allocations: 0 / 1.327 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.897e-05/0.4369, allocations: 3.984 kB / 1.327 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.4369, allocations: 0 / 1.327 GB, free: 11.88 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.441e-05/0.437, allocations: 87.28 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.437, allocations: 3.938 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002739/0.4372, allocations: 43.86 kB / 1.328 GB, free: 11.74 MB / 1.029 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.0006671/0.4379, allocations: 0.6806 MB / 1.328 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001253/0.438, allocations: 24.27 kB / 1.328 GB, free: 11.01 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.438, allocations: 0 / 1.328 GB, free: 11.01 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.662e-05/0.4381, allocations: 16.08 kB / 1.328 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.4383, allocations: 6.594 kB / 1.328 GB, free: 10.99 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005611/0.4389, allocations: 213.5 kB / 1.329 GB, free: 10.75 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.4392, allocations: 0.6807 MB / 1.329 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.853e-05/0.4393, allocations: 6.812 kB / 1.329 GB, free: 10.04 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.4393, allocations: 13.16 kB / 1.329 GB, free: 10.02 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.4393, allocations: 0 / 1.329 GB, free: 10.02 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02896/0.4683, allocations: 2.304 MB / 1.331 GB, free: 7.93 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.26/8.728, allocations: 7.609 kB / 1.331 GB, free: 7.922 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv --start-time 0 --stop-time 10000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.804760427912697]