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.InternalResistancesTwoUTubeNegative.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.001223/0.001223, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008205/0.0008205, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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 0.8758/0.8758, allocations: 177.1 MB / 202.7 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.771/1.771, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.9998 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.091e-05/3.296e-05, allocations: 2.281 kB / 0.9998 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002749/0.002782, allocations: 1.441 MB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.004333/0.007115, allocations: 2.665 MB / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.581e-05/0.007211, allocations: 0 / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.705e-05/0.007248, allocations: 3.938 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.007355, allocations: 23.78 kB / 1.004 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.004694/0.01205, allocations: 1.658 MB / 1.005 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.0122, allocations: 47.67 kB / 1.005 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 6.077e-05/0.01226, allocations: 3.906 kB / 1.005 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.25e-05/0.01232, allocations: 23.97 kB / 1.005 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.247e-05/0.01235, allocations: 11.94 kB / 1.006 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.01237, allocations: 0 / 1.006 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001854/0.01422, allocations: 1.493 MB / 1.007 GB, free: 6.023 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.01424, allocations: 11.88 kB / 1.007 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.01426, allocations: 12 kB / 1.007 GB, free: 6 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001394/0.01566, allocations: 1.278 MB / 1.008 GB, free: 4.719 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.01566, allocations: 0 / 1.008 GB, free: 4.719 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.543e-06/0.01566, allocations: 0 / 1.008 GB, free: 4.719 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.01567, allocations: 0 / 1.008 GB, free: 4.719 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005426/0.01621, allocations: 472 kB / 1.009 GB, free: 4.227 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.01625, allocations: 8.031 kB / 1.009 GB, free: 4.219 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.128e-05/0.01629, allocations: 114 kB / 1.009 GB, free: 4.098 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.01634, allocations: 80.17 kB / 1.009 GB, free: 4.02 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.01644, allocations: 197 kB / 1.009 GB, free: 3.801 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.94e-05/0.01648, allocations: 154.9 kB / 1.009 GB, free: 3.648 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.01652, allocations: 150.9 kB / 1.009 GB, free: 3.5 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.115e-05/0.01657, allocations: 105.5 kB / 1.009 GB, free: 3.391 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.01659, allocations: 79.47 kB / 1.01 GB, free: 3.312 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.454e-05/0.01662, allocations: 154.5 kB / 1.01 GB, free: 3.16 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.153e-05/0.01666, allocations: 150.6 kB / 1.01 GB, free: 3.012 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.456e-05/0.01669, allocations: 150.6 kB / 1.01 GB, free: 2.863 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.0169, allocations: 448.9 kB / 1.01 GB, free: 2.383 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.155e-05/0.01696, allocations: 165.1 kB / 1.011 GB, free: 2.211 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.607e-05/0.01698, allocations: 80.14 kB / 1.011 GB, free: 2.129 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.017, allocations: 75.28 kB / 1.011 GB, free: 2.055 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.01703, allocations: 113.8 kB / 1.011 GB, free: 1.934 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.01704, allocations: 0 / 1.011 GB, free: 1.934 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 5.944e-05/0.0171, allocations: 41.53 kB / 1.011 GB, free: 1.887 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.01714, allocations: 134.7 kB / 1.011 GB, free: 1.742 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.01724, allocations: 128.2 kB / 1.011 GB, free: 1.609 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 7.615e-06/0.01725, allocations: 25.7 kB / 1.011 GB, free: 1.578 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.924e-05/0.01729, allocations: 92.14 kB / 1.011 GB, free: 1.484 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-06/0.01729, allocations: 0 / 1.011 GB, free: 1.484 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.01732, allocations: 21.7 kB / 1.011 GB, free: 1.457 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.716e-05/0.0174, allocations: 314.8 kB / 1.012 GB, free: 1.141 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.06e-05/0.01742, allocations: 12 kB / 1.012 GB, free: 1.129 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.216e-05/0.01743, allocations: 4 kB / 1.012 GB, free: 1.125 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.153e-05/0.01746, allocations: 16.92 kB / 1.012 GB, free: 1.105 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01746, allocations: 3.984 kB / 1.012 GB, free: 1.102 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.859e-05/0.01756, allocations: 53.59 kB / 1.012 GB, free: 1.043 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.01757, allocations: 7.938 kB / 1.012 GB, free: 1.035 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.01759, allocations: 7.938 kB / 1.012 GB, free: 1.027 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.0176, allocations: 3.984 kB / 1.012 GB, free: 1.023 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-07/0.01761, allocations: 0 / 1.012 GB, free: 1.023 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.01761, allocations: 0 / 1.012 GB, free: 1.023 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.905e-05/0.01763, allocations: 11.89 kB / 1.012 GB, free: 1.012 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.01763, allocations: 4.062 kB / 1.012 GB, free: 1.008 MB / 0.9636 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.761e-05/0.01771, allocations: 185.1 kB / 1.012 GB, free: 0.8164 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.01775, allocations: 105 kB / 1.012 GB, free: 0.707 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.484e-05/0.0178, allocations: 120.7 kB / 1.012 GB, free: 0.582 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-05/0.01784, allocations: 176.3 kB / 1.012 GB, free: 412 kB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.304e-05/0.0179, allocations: 184.2 kB / 1.012 GB, free: 220 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.032e-05/0.01794, allocations: 180.3 kB / 1.013 GB, free: 32 kB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.0181, allocations: 384.3 kB / 1.013 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.389e-05/0.01812, allocations: 104.9 kB / 1.013 GB, free: 15.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.778e-05/0.01815, allocations: 101 kB / 1.013 GB, free: 15.39 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.48e-05/0.01819, allocations: 192.2 kB / 1.013 GB, free: 15.2 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.77e-05/0.01823, allocations: 180.2 kB / 1.013 GB, free: 15.01 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.044e-05/0.01827, allocations: 176.3 kB / 1.014 GB, free: 14.83 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-05/0.01832, allocations: 192.2 kB / 1.014 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.377e-05/0.01841, allocations: 307.7 kB / 1.014 GB, free: 14.31 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.398e-05/0.01845, allocations: 108.9 kB / 1.014 GB, free: 14.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.309e-05/0.0185, allocations: 180.2 kB / 1.014 GB, free: 14.02 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.943e-05/0.01855, allocations: 113.2 kB / 1.015 GB, free: 13.9 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.01859, allocations: 176.3 kB / 1.015 GB, free: 13.72 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/0.01861, allocations: 112.9 kB / 1.015 GB, free: 13.6 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 4.489e-05/0.01866, allocations: 103.9 kB / 1.015 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.01866, allocations: 0 / 1.015 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0006505/0.01931, allocations: 299 kB / 1.015 GB, free: 13.21 MB / 0.9792 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 (0): * Single equations (assignments): 0 * 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.001031/0.02034, allocations: 1.221 MB / 1.016 GB, free: 11.96 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 8.951e-05/0.02043, allocations: 45.62 kB / 1.016 GB, free: 11.91 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.02043, allocations: 4.062 kB / 1.016 GB, free: 11.9 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.02043, allocations: 0 / 1.016 GB, free: 11.9 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.02072, allocations: 467.7 kB / 1.017 GB, free: 11.44 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.02179, allocations: 1.588 MB / 1.018 GB, free: 9.77 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.615e-05/0.02184, allocations: 63.34 kB / 1.018 GB, free: 9.688 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 1.738e-05/0.02185, allocations: 0 / 1.018 GB, free: 9.688 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.02189, allocations: 28.52 kB / 1.018 GB, free: 9.66 MB / 0.9792 GB Notification: Performance of SimCode: time 6.11e-07/0.02189, allocations: 0 / 1.018 GB, free: 9.66 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02119/0.04308, allocations: 8.012 MB / 1.026 GB, free: 1.879 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.789/6.832, allocations: 4.047 kB / 1.026 GB, free: 1.875 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable x in file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv. Warning: Get data of variable x from file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.963052195496857]