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.InternalResistancesOneUTubeNegative.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.0008778/0.0008778, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.00124/0.00124, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.865/0.865, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.744/1.744, allocations: 389 MB / 0.633 GB, free: 12.65 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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.9998 GB, free: 13.36 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.426e-05, allocations: 2.281 kB / 0.9998 GB, free: 13.35 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001929/0.001953, allocations: 1.423 MB / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003076/0.00503, allocations: 2.634 MB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.119e-05/0.005091, allocations: 0 / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.005119, allocations: 11.92 kB / 1.004 GB, free: 9.258 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.03e-05/0.005189, allocations: 15.81 kB / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.003203/0.008393, allocations: 1.631 MB / 1.005 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.94e-05/0.008482, allocations: 43.67 kB / 1.005 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.924e-05/0.008521, allocations: 4 kB / 1.005 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.048e-05/0.008562, allocations: 23.91 kB / 1.005 GB, free: 7.555 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.118e-05/0.008583, allocations: 8 kB / 1.005 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.008595, allocations: 0 / 1.005 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001638/0.01023, allocations: 1.458 MB / 1.007 GB, free: 6.086 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.01025, allocations: 15.92 kB / 1.007 GB, free: 6.07 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.01028, allocations: 8 kB / 1.007 GB, free: 6.062 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.01152, allocations: 1.235 MB / 1.008 GB, free: 4.824 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.01153, allocations: 0 / 1.008 GB, free: 4.824 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.393e-06/0.01153, allocations: 4 kB / 1.008 GB, free: 4.82 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.01154, allocations: 0 / 1.008 GB, free: 4.82 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.0004735/0.01201, allocations: 472 kB / 1.009 GB, free: 4.328 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.01205, allocations: 12.03 kB / 1.009 GB, free: 4.316 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.325e-05/0.01209, allocations: 110 kB / 1.009 GB, free: 4.199 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.01214, allocations: 84.17 kB / 1.009 GB, free: 4.117 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.01224, allocations: 193 kB / 1.009 GB, free: 3.902 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/0.01229, allocations: 150.9 kB / 1.009 GB, free: 3.754 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.426e-05/0.01233, allocations: 154.9 kB / 1.009 GB, free: 3.602 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.489e-05/0.01239, allocations: 105.5 kB / 1.009 GB, free: 3.492 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.01241, allocations: 75.47 kB / 1.009 GB, free: 3.418 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.678e-05/0.01244, allocations: 154.5 kB / 1.01 GB, free: 3.266 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.48e-05/0.01248, allocations: 150.6 kB / 1.01 GB, free: 3.117 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.018e-05/0.01252, allocations: 158.6 kB / 1.01 GB, free: 2.961 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002135/0.01273, allocations: 432.9 kB / 1.01 GB, free: 2.496 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.795e-05/0.0128, allocations: 177.1 kB / 1.01 GB, free: 2.312 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.463e-05/0.01282, allocations: 80.14 kB / 1.01 GB, free: 2.23 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.01285, allocations: 83.28 kB / 1.011 GB, free: 2.148 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.01288, allocations: 105.8 kB / 1.011 GB, free: 2.035 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 1.342e-06/0.01288, allocations: 0 / 1.011 GB, free: 2.035 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 6.035e-05/0.01294, allocations: 37.59 kB / 1.011 GB, free: 1.992 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.01299, allocations: 134.6 kB / 1.011 GB, free: 1.848 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.01309, allocations: 133.4 kB / 1.011 GB, free: 1.711 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.0131, allocations: 25.7 kB / 1.011 GB, free: 1.68 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.739e-05/0.01314, allocations: 88.14 kB / 1.011 GB, free: 1.59 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-06/0.01314, allocations: 0 / 1.011 GB, free: 1.59 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.01317, allocations: 21.66 kB / 1.011 GB, free: 1.562 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002228/0.0134, allocations: 322.8 kB / 1.011 GB, free: 1.238 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/0.01341, allocations: 4 kB / 1.011 GB, free: 1.234 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.262e-05/0.01343, allocations: 4 kB / 1.011 GB, free: 1.23 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.437e-05/0.01346, allocations: 12.86 kB / 1.011 GB, free: 1.215 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01346, allocations: 0 / 1.011 GB, free: 1.215 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001065/0.01357, allocations: 49.64 kB / 1.011 GB, free: 1.16 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.01358, allocations: 7.938 kB / 1.011 GB, free: 1.152 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.0136, allocations: 7.938 kB / 1.011 GB, free: 1.145 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.01362, allocations: 0 / 1.011 GB, free: 1.145 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.01362, allocations: 0 / 1.011 GB, free: 1.145 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.01362, allocations: 3.938 kB / 1.011 GB, free: 1.141 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.76e-05/0.01364, allocations: 12.06 kB / 1.011 GB, free: 1.129 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.01365, allocations: 0 / 1.011 GB, free: 1.129 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 6.907e-05/0.01371, allocations: 189.1 kB / 1.012 GB, free: 0.9336 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.01375, allocations: 108.9 kB / 1.012 GB, free: 0.8203 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.599e-05/0.01379, allocations: 116.7 kB / 1.012 GB, free: 0.6992 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-05/0.01382, allocations: 176.3 kB / 1.012 GB, free: 0.5195 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.752e-05/0.01386, allocations: 176.3 kB / 1.012 GB, free: 348 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-05/0.0139, allocations: 192.2 kB / 1.012 GB, free: 148 kB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.01406, allocations: 380.3 kB / 1.013 GB, free: 15.72 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.256e-05/0.01408, allocations: 104.9 kB / 1.013 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.141e-05/0.0141, allocations: 105 kB / 1.013 GB, free: 15.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.766e-05/0.01414, allocations: 180.3 kB / 1.013 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.323e-05/0.01418, allocations: 192.1 kB / 1.013 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-05/0.01423, allocations: 176.3 kB / 1.013 GB, free: 14.95 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.254e-05/0.01427, allocations: 184.2 kB / 1.014 GB, free: 14.76 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.107e-05/0.01436, allocations: 303.8 kB / 1.014 GB, free: 14.44 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.0144, allocations: 120.9 kB / 1.014 GB, free: 14.31 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.058e-05/0.01445, allocations: 180.2 kB / 1.014 GB, free: 14.13 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.933e-05/0.0145, allocations: 109.2 kB / 1.014 GB, free: 14.02 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.01455, allocations: 176.3 kB / 1.015 GB, free: 13.84 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.446e-05/0.01457, allocations: 105 kB / 1.015 GB, free: 13.73 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 4.504e-05/0.01462, allocations: 99.27 kB / 1.015 GB, free: 13.63 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.01462, allocations: 7.938 kB / 1.015 GB, free: 13.62 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0006581/0.01527, allocations: 294.9 kB / 1.015 GB, free: 13.33 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.001254/0.01653, allocations: 1.213 MB / 1.016 GB, free: 12.09 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 9.602e-05/0.01662, allocations: 37.7 kB / 1.016 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01663, allocations: 0 / 1.016 GB, free: 12.05 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.01663, allocations: 8 kB / 1.016 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.01693, allocations: 463.7 kB / 1.017 GB, free: 11.59 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.01797, allocations: 1.568 MB / 1.018 GB, free: 9.934 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.293e-05/0.01802, allocations: 71.25 kB / 1.018 GB, free: 9.844 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 1.552e-05/0.01803, allocations: 0 / 1.018 GB, free: 9.844 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.901e-05/0.01806, allocations: 16.48 kB / 1.018 GB, free: 9.828 MB / 0.9792 GB Notification: Performance of SimCode: time 1.182e-06/0.01806, allocations: 4.031 kB / 1.018 GB, free: 9.824 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02568/0.04374, allocations: 7.803 MB / 1.026 GB, free: 2.25 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.737/6.781, allocations: 14.27 kB / 1.026 GB, free: 2.238 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_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_InternalResistancesOneUTubeNegative.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative_res.csv. Warning: Get data of variable x from file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.916327021084726]