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.InternalResistancesOneUTube.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.0008174/0.0008174, 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.0008218/0.0008218, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8717/0.8717, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.732/1.732, allocations: 389 MB / 0.633 GB, free: 12.68 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.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.9998 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.686e-05, allocations: 2.281 kB / 0.9998 GB, free: 13.38 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002051/0.002078, allocations: 1.426 MB / 1.001 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003417/0.005495, allocations: 2.638 MB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.00554, allocations: 0 / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.077e-05/0.005561, allocations: 3.938 kB / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.664e-05/0.005618, allocations: 19.84 kB / 1.004 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002938/0.008556, allocations: 1.623 MB / 1.005 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.379e-05/0.00864, allocations: 47.67 kB / 1.005 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.053e-05/0.00868, allocations: 4 kB / 1.005 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.084e-05/0.008721, allocations: 15.98 kB / 1.005 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.365e-05/0.008745, allocations: 15.92 kB / 1.005 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.008757, allocations: 0 / 1.005 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001522/0.01028, allocations: 1.458 MB / 1.007 GB, free: 6.117 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.01029, allocations: 7.938 kB / 1.007 GB, free: 6.109 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.609e-05/0.01032, allocations: 15.94 kB / 1.007 GB, free: 6.094 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001338/0.01166, allocations: 1.235 MB / 1.008 GB, free: 4.855 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.01166, allocations: 4 kB / 1.008 GB, free: 4.852 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.664e-06/0.01166, allocations: 0 / 1.008 GB, free: 4.852 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.01167, allocations: 3.938 kB / 1.008 GB, free: 4.848 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.0005383/0.01221, allocations: 464.1 kB / 1.009 GB, free: 4.363 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.944e-05/0.01228, allocations: 12.03 kB / 1.009 GB, free: 4.352 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.312e-05/0.01232, allocations: 110 kB / 1.009 GB, free: 4.234 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/0.01237, allocations: 84.11 kB / 1.009 GB, free: 4.152 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.738e-05/0.01246, allocations: 197 kB / 1.009 GB, free: 3.934 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.638e-05/0.0125, allocations: 150.9 kB / 1.009 GB, free: 3.785 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.753e-05/0.01254, allocations: 150.9 kB / 1.009 GB, free: 3.637 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.795e-05/0.01259, allocations: 109.5 kB / 1.009 GB, free: 3.523 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.0126, allocations: 79.47 kB / 1.009 GB, free: 3.445 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/0.01271, allocations: 154.5 kB / 1.01 GB, free: 3.293 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.629e-05/0.01274, allocations: 150.6 kB / 1.01 GB, free: 3.145 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.844e-05/0.01278, allocations: 154.6 kB / 1.01 GB, free: 2.992 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002043/0.01299, allocations: 436.9 kB / 1.01 GB, free: 2.523 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.442e-05/0.01305, allocations: 177.1 kB / 1.01 GB, free: 2.34 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.503e-05/0.01308, allocations: 80.14 kB / 1.01 GB, free: 2.258 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.0131, allocations: 75.28 kB / 1.011 GB, free: 2.184 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.01313, allocations: 109.8 kB / 1.011 GB, free: 2.066 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 7.22e-07/0.01313, allocations: 0 / 1.011 GB, free: 2.066 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 5.738e-05/0.01318, allocations: 41.59 kB / 1.011 GB, free: 2.02 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.01323, allocations: 126.7 kB / 1.011 GB, free: 1.883 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.01333, allocations: 135.6 kB / 1.011 GB, free: 1.742 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.01334, allocations: 25.7 kB / 1.011 GB, free: 1.711 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.01338, allocations: 92.12 kB / 1.011 GB, free: 1.617 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/0.01338, allocations: 0 / 1.011 GB, free: 1.617 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/0.01341, allocations: 17.72 kB / 1.011 GB, free: 1.594 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002058/0.01361, allocations: 310.8 kB / 1.011 GB, free: 1.281 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.109e-05/0.01363, allocations: 11.98 kB / 1.011 GB, free: 1.27 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.22e-05/0.01364, allocations: 4 kB / 1.011 GB, free: 1.266 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.451e-05/0.01368, allocations: 16.89 kB / 1.011 GB, free: 1.246 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01368, allocations: 4.031 kB / 1.011 GB, free: 1.242 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.575e-05/0.01378, allocations: 49.64 kB / 1.011 GB, free: 1.188 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.01379, allocations: 7.938 kB / 1.011 GB, free: 1.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.01381, allocations: 4 kB / 1.011 GB, free: 1.176 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.01382, allocations: 3.938 kB / 1.011 GB, free: 1.172 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.01382, allocations: 0 / 1.011 GB, free: 1.172 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.01382, allocations: 0 / 1.011 GB, free: 1.172 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.44e-05/0.01384, allocations: 0 / 1.011 GB, free: 1.172 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.01384, allocations: 7.938 kB / 1.011 GB, free: 1.164 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.69e-05/0.01391, allocations: 185.1 kB / 1.012 GB, free: 0.9727 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.01395, allocations: 116.9 kB / 1.012 GB, free: 0.8516 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.825e-05/0.01398, allocations: 120.7 kB / 1.012 GB, free: 0.7266 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.999e-05/0.01402, allocations: 180.3 kB / 1.012 GB, free: 0.543 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.951e-05/0.01406, allocations: 176.3 kB / 1.012 GB, free: 372 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.413e-05/0.01411, allocations: 188.2 kB / 1.012 GB, free: 176 kB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.01426, allocations: 380.3 kB / 1.013 GB, free: 15.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.382e-05/0.01428, allocations: 108.9 kB / 1.013 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.037e-05/0.0143, allocations: 101 kB / 1.013 GB, free: 15.53 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.876e-05/0.01434, allocations: 176.3 kB / 1.013 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.273e-05/0.01439, allocations: 192.1 kB / 1.013 GB, free: 15.16 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.8e-05/0.01442, allocations: 180.3 kB / 1.013 GB, free: 14.97 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-05/0.01446, allocations: 184.2 kB / 1.014 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.508e-05/0.01456, allocations: 307.8 kB / 1.014 GB, free: 14.46 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.0146, allocations: 112.9 kB / 1.014 GB, free: 14.34 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.336e-05/0.01465, allocations: 184.2 kB / 1.014 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.87e-05/0.0147, allocations: 105.2 kB / 1.014 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-05/0.01475, allocations: 180.3 kB / 1.015 GB, free: 13.86 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.647e-05/0.01478, allocations: 101 kB / 1.015 GB, free: 13.76 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 5.14e-05/0.01483, allocations: 100.7 kB / 1.015 GB, free: 13.66 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01483, allocations: 0 / 1.015 GB, free: 13.66 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0008018/0.01563, allocations: 294.9 kB / 1.015 GB, free: 13.37 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.0009387/0.01657, allocations: 1.224 MB / 1.016 GB, free: 12.12 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 9.738e-05/0.01666, allocations: 37.69 kB / 1.016 GB, free: 12.08 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.01667, allocations: 0 / 1.016 GB, free: 12.08 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 2.484e-06/0.01667, allocations: 3.938 kB / 1.016 GB, free: 12.07 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.01693, allocations: 459.7 kB / 1.017 GB, free: 11.62 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009278/0.01786, allocations: 1.572 MB / 1.018 GB, free: 9.965 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.11e-05/0.0179, allocations: 71.23 kB / 1.018 GB, free: 9.875 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 1.316e-05/0.01791, allocations: 0 / 1.018 GB, free: 9.875 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.01794, allocations: 16.5 kB / 1.018 GB, free: 9.859 MB / 0.9792 GB Notification: Performance of SimCode: time 6.91e-07/0.01794, allocations: 0 / 1.018 GB, free: 9.859 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02098/0.03892, allocations: 7.812 MB / 1.026 GB, free: 2.273 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.723/6.762, allocations: 10.48 kB / 1.026 GB, free: 2.266 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_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_InternalResistancesOneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.InternalResistancesOneUTube_res.csv. Warning: Get data of variable x from file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.986727396957576]