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.InternalResistancesTwoUTube.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.0008923/0.0008923, 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.0008377/0.0008377, 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.8598/0.8598, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.719/1.719, allocations: 389 MB / 0.633 GB, free: 12.71 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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.9998 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135e-05/1.3e-05, allocations: 2.281 kB / 0.9998 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001641/0.001654, allocations: 1.438 MB / 1.001 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002942/0.004596, allocations: 2.665 MB / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.494e-05/0.004641, allocations: 4 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.945e-05/0.004661, allocations: 3.938 kB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.627e-05/0.004717, allocations: 19.78 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002698/0.007415, allocations: 1.659 MB / 1.005 GB, free: 7.629 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.187e-05/0.007497, allocations: 43.67 kB / 1.005 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.673e-05/0.007533, allocations: 7.906 kB / 1.005 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.378e-05/0.007567, allocations: 19.97 kB / 1.005 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 2.065e-05/0.007588, allocations: 11.94 kB / 1.005 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.007599, allocations: 0 / 1.005 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.009087, allocations: 1.493 MB / 1.007 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.009102, allocations: 7.938 kB / 1.007 GB, free: 6.043 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.009132, allocations: 19.92 kB / 1.007 GB, free: 6.023 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.01034, allocations: 1.27 MB / 1.008 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.01034, allocations: 0 / 1.008 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.91e-07/0.01034, allocations: 0 / 1.008 GB, free: 4.75 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.01034, allocations: 0 / 1.008 GB, free: 4.75 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.0004352/0.01078, allocations: 476 kB / 1.009 GB, free: 4.254 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.01081, allocations: 12.03 kB / 1.009 GB, free: 4.242 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.896e-05/0.01085, allocations: 110 kB / 1.009 GB, free: 4.125 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/0.0109, allocations: 88.16 kB / 1.009 GB, free: 4.039 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.163e-05/0.01099, allocations: 185 kB / 1.009 GB, free: 3.832 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/0.01103, allocations: 154.9 kB / 1.009 GB, free: 3.68 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.01107, allocations: 154.9 kB / 1.009 GB, free: 3.527 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.033e-05/0.01112, allocations: 105.5 kB / 1.009 GB, free: 3.418 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.01114, allocations: 75.47 kB / 1.01 GB, free: 3.344 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.874e-05/0.01118, allocations: 154.5 kB / 1.01 GB, free: 3.191 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.222e-05/0.01121, allocations: 150.6 kB / 1.01 GB, free: 3.043 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.589e-05/0.01125, allocations: 154.6 kB / 1.01 GB, free: 2.891 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002407/0.01149, allocations: 445 kB / 1.01 GB, free: 2.414 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.361e-05/0.01155, allocations: 169.1 kB / 1.011 GB, free: 2.238 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.315e-05/0.01157, allocations: 84.14 kB / 1.011 GB, free: 2.152 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.0116, allocations: 79.28 kB / 1.011 GB, free: 2.074 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.01163, allocations: 105.8 kB / 1.011 GB, free: 1.961 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 6.52e-07/0.01163, allocations: 0 / 1.011 GB, free: 1.961 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 6.304e-05/0.01169, allocations: 37.59 kB / 1.011 GB, free: 1.918 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.01174, allocations: 126.7 kB / 1.011 GB, free: 1.781 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.01185, allocations: 141.4 kB / 1.011 GB, free: 1.637 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/0.01186, allocations: 25.7 kB / 1.011 GB, free: 1.605 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.01189, allocations: 88.08 kB / 1.011 GB, free: 1.516 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.01189, allocations: 4 kB / 1.011 GB, free: 1.512 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.01192, allocations: 21.72 kB / 1.011 GB, free: 1.484 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.525e-05/0.01198, allocations: 314.8 kB / 1.012 GB, free: 1.168 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.819e-05/0.012, allocations: 8 kB / 1.012 GB, free: 1.16 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.106e-05/0.01201, allocations: 4 kB / 1.012 GB, free: 1.156 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.014e-05/0.01204, allocations: 16.86 kB / 1.012 GB, free: 1.137 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.01205, allocations: 0 / 1.012 GB, free: 1.137 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001079/0.01215, allocations: 57.69 kB / 1.012 GB, free: 1.074 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.01217, allocations: 11.94 kB / 1.012 GB, free: 1.062 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.01218, allocations: 0 / 1.012 GB, free: 1.062 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.01219, allocations: 12 kB / 1.012 GB, free: 1.051 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.0122, allocations: 0 / 1.012 GB, free: 1.051 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.0122, allocations: 3.938 kB / 1.012 GB, free: 1.047 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.515e-05/0.01222, allocations: 3.953 kB / 1.012 GB, free: 1.043 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-06/0.01222, allocations: 3.938 kB / 1.012 GB, free: 1.039 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.939e-05/0.01229, allocations: 185.1 kB / 1.012 GB, free: 0.8477 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.01233, allocations: 113 kB / 1.012 GB, free: 0.7305 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.43e-05/0.01236, allocations: 108.7 kB / 1.012 GB, free: 0.6172 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.822e-05/0.0124, allocations: 184.2 kB / 1.012 GB, free: 440 kB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.116e-05/0.01244, allocations: 176.3 kB / 1.012 GB, free: 256 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.17e-05/0.01248, allocations: 188.2 kB / 1.013 GB, free: 60 kB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.01263, allocations: 384.3 kB / 1.013 GB, free: 15.63 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.263e-05/0.01265, allocations: 105 kB / 1.013 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.111e-05/0.01267, allocations: 104.9 kB / 1.013 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.869e-05/0.01271, allocations: 176.3 kB / 1.013 GB, free: 15.23 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/0.01275, allocations: 188.1 kB / 1.013 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.844e-05/0.01279, allocations: 184.3 kB / 1.014 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-05/0.01283, allocations: 184.2 kB / 1.014 GB, free: 14.67 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.746e-05/0.01292, allocations: 303.8 kB / 1.014 GB, free: 14.35 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 2.999e-05/0.01295, allocations: 112.9 kB / 1.014 GB, free: 14.23 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.619e-05/0.013, allocations: 188.2 kB / 1.014 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.204e-05/0.01305, allocations: 109.2 kB / 1.015 GB, free: 13.93 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.01309, allocations: 180.3 kB / 1.015 GB, free: 13.74 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.01311, allocations: 105 kB / 1.015 GB, free: 13.63 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 4.174e-05/0.01315, allocations: 103.2 kB / 1.015 GB, free: 13.53 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.01315, allocations: 0 / 1.015 GB, free: 13.53 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004548/0.01361, allocations: 295 kB / 1.015 GB, free: 13.24 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.0009205/0.01453, allocations: 1.24 MB / 1.016 GB, free: 11.98 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 7.87e-05/0.01461, allocations: 37.69 kB / 1.016 GB, free: 11.93 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.01461, allocations: 0 / 1.016 GB, free: 11.93 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 2.254e-06/0.01461, allocations: 4 kB / 1.016 GB, free: 11.93 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002668/0.01488, allocations: 467.6 kB / 1.017 GB, free: 11.47 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000994/0.01587, allocations: 1.58 MB / 1.018 GB, free: 9.805 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.05e-05/0.01591, allocations: 75.38 kB / 1.018 GB, free: 9.711 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 1.077e-05/0.01592, allocations: 0 / 1.018 GB, free: 9.711 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/0.01595, allocations: 16.5 kB / 1.018 GB, free: 9.695 MB / 0.9792 GB Notification: Performance of SimCode: time 4.81e-07/0.01595, allocations: 0 / 1.018 GB, free: 9.695 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02025/0.0362, allocations: 8.013 MB / 1.026 GB, free: 1.906 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.769/6.805, allocations: 8.047 kB / 1.026 GB, free: 1.898 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_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_InternalResistancesTwoUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube_res.csv. Warning: Get data of variable x from file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.924324457533658]