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.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.001265/0.001265, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001584/0.001584, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.406/1.406, allocations: 230.6 MB / 256 MB, free: 7.781 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.082/3.082, allocations: 0.4892 GB / 0.7943 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 177] 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_12_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_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.001973/0.001973, allocations: 68.2 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3204, allocations: 176.1 MB / 1.325 GB, free: 2.285 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002895/0.3233, allocations: 1.455 MB / 1.327 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004683/0.328, allocations: 2.674 MB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.877e-05/0.328, allocations: 8 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.458e-05/0.328, allocations: 7.922 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.503e-05/0.3281, allocations: 7.875 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004061/0.3322, allocations: 1.633 MB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.123e-05/0.3323, allocations: 43.67 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.406e-05/0.3323, allocations: 4 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.091e-05/0.3323, allocations: 15.92 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.51e-05/0.3324, allocations: 23.86 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.248e-06/0.3324, allocations: 0 / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002257/0.3346, allocations: 1.49 MB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.3346, allocations: 4 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.072e-05/0.3347, allocations: 19.81 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001581/0.3363, allocations: 1.099 MB / 1.333 GB, free: 9.789 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3363, allocations: 0 / 1.333 GB, free: 9.789 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3363, allocations: 0 / 1.333 GB, free: 9.789 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.3363, allocations: 7.938 kB / 1.333 GB, free: 9.781 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006386/0.3369, allocations: 472 kB / 1.334 GB, free: 9.289 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.337, allocations: 11.98 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.308e-05/0.337, allocations: 114 kB / 1.334 GB, free: 9.156 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.071e-05/0.3371, allocations: 84.17 kB / 1.334 GB, free: 9.074 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.3373, allocations: 193.8 kB / 1.334 GB, free: 8.859 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.931e-05/0.3373, allocations: 154.9 kB / 1.334 GB, free: 8.707 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-05/0.3374, allocations: 150.9 kB / 1.335 GB, free: 8.559 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.568e-05/0.3375, allocations: 104.9 kB / 1.335 GB, free: 8.449 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.361e-05/0.3376, allocations: 75.28 kB / 1.335 GB, free: 8.375 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.081e-05/0.3376, allocations: 158.5 kB / 1.335 GB, free: 8.219 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-05/0.3377, allocations: 154.5 kB / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.656e-05/0.3378, allocations: 150.6 kB / 1.335 GB, free: 7.918 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.3381, allocations: 433 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.3382, allocations: 177.1 kB / 1.336 GB, free: 7.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.214e-05/0.3383, allocations: 80.14 kB / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.87e-05/0.3383, allocations: 79.22 kB / 1.336 GB, free: 7.109 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.671e-05/0.3384, allocations: 117.8 kB / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.3384, allocations: 0 / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.864e-05/0.3384, allocations: 33.7 kB / 1.336 GB, free: 6.945 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.096e-05/0.3385, allocations: 130.7 kB / 1.336 GB, free: 6.805 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.3387, allocations: 135.5 kB / 1.336 GB, free: 6.664 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.3387, allocations: 25.7 kB / 1.336 GB, free: 6.633 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.901e-05/0.3388, allocations: 92.09 kB / 1.336 GB, free: 6.539 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.3388, allocations: 4 kB / 1.336 GB, free: 6.535 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/0.3388, allocations: 21.7 kB / 1.336 GB, free: 6.508 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.339, allocations: 318.8 kB / 1.337 GB, free: 6.188 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.304e-05/0.339, allocations: 4 kB / 1.337 GB, free: 6.184 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.627e-05/0.339, allocations: 3.984 kB / 1.337 GB, free: 6.18 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.909e-05/0.3391, allocations: 20.8 kB / 1.337 GB, free: 6.156 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3391, allocations: 0 / 1.337 GB, free: 6.156 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001268/0.3392, allocations: 49.64 kB / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3392, allocations: 4 kB / 1.337 GB, free: 6.098 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.3392, allocations: 4 kB / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3392, allocations: 0 / 1.337 GB, free: 6.094 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.525e-06/0.3392, allocations: 8.047 kB / 1.337 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.3392, allocations: 0 / 1.337 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.319e-05/0.3393, allocations: 3.953 kB / 1.337 GB, free: 6.082 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.3393, allocations: 7.938 kB / 1.337 GB, free: 6.074 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 (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 0.0001188/0.3394, allocations: 185.1 kB / 1.337 GB, free: 5.883 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.828e-05/0.3395, allocations: 116.8 kB / 1.337 GB, free: 5.762 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.315e-05/0.3395, allocations: 112.8 kB / 1.337 GB, free: 5.637 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-05/0.3396, allocations: 184.2 kB / 1.337 GB, free: 5.449 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.651e-05/0.3397, allocations: 180.3 kB / 1.338 GB, free: 5.266 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.041e-05/0.3398, allocations: 184.3 kB / 1.338 GB, free: 5.078 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.34, allocations: 392.2 kB / 1.338 GB, free: 4.645 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.911e-05/0.3401, allocations: 101 kB / 1.338 GB, free: 4.539 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-05/0.3401, allocations: 108.9 kB / 1.338 GB, free: 4.426 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-05/0.3402, allocations: 184.3 kB / 1.339 GB, free: 4.238 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.42e-05/0.3403, allocations: 180.2 kB / 1.339 GB, free: 4.055 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.493e-05/0.3404, allocations: 180.2 kB / 1.339 GB, free: 3.871 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.031e-05/0.3405, allocations: 180.3 kB / 1.339 GB, free: 3.688 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00017/0.3406, allocations: 315.7 kB / 1.339 GB, free: 3.355 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.556e-05/0.3407, allocations: 108.9 kB / 1.339 GB, free: 3.242 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.249e-05/0.3408, allocations: 180.2 kB / 1.34 GB, free: 3.059 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.99e-05/0.3409, allocations: 109 kB / 1.34 GB, free: 2.945 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.051e-05/0.341, allocations: 184.2 kB / 1.34 GB, free: 2.758 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/0.341, allocations: 101 kB / 1.34 GB, free: 2.652 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.595e-05/0.3411, allocations: 105 kB / 1.34 GB, free: 2.551 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3411, allocations: 0 / 1.34 GB, free: 2.551 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007437/0.3418, allocations: 295 kB / 1.34 GB, free: 2.262 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 (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.001483/0.3433, allocations: 1.198 MB / 1.342 GB, free: 1.035 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.3434, allocations: 41.69 kB / 1.342 GB, free: 0.9883 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3434, allocations: 0 / 1.342 GB, free: 0.9883 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.472e-06/0.3434, allocations: 0 / 1.342 GB, free: 0.9883 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.3439, allocations: 459.7 kB / 1.342 GB, free: 0.5352 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.3454, allocations: 1.614 MB / 1.344 GB, free: 14.84 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.298e-05/0.3455, allocations: 71.42 kB / 1.344 GB, free: 14.75 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.27e-05/0.3455, allocations: 0 / 1.344 GB, free: 14.75 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.953e-05/0.3455, allocations: 19.44 kB / 1.344 GB, free: 14.73 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.3455, allocations: 0 / 1.344 GB, free: 14.73 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04862/0.3941, allocations: 7.824 MB / 1.351 GB, free: 7.102 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.68, allocations: 3.984 kB / 1.351 GB, free: 7.098 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv. Warning: Get data of variable x from file Buildings_12_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: 18.198912461288273]