Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009925/0.0009925, 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.001054/0.001054, 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.9406/0.9406, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.65/1.65, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_11_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_11_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 3.226e-06/3.226e-06, allocations: 0 / 0.9506 GB, free: 3.426 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.359e-05/3.682e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.422 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002431/0.002468, allocations: 1.462 MB / 0.952 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.003413/0.005882, allocations: 2.669 MB / 0.9546 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.225e-05/0.005934, allocations: 0 / 0.9546 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.421e-05/0.005958, allocations: 7.922 kB / 0.9546 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 5.809e-05/0.006016, allocations: 19.8 kB / 0.9546 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002609/0.008626, allocations: 1.643 MB / 0.9563 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 7.811e-05/0.008704, allocations: 51.61 kB / 0.9563 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.571e-05/0.008739, allocations: 0 / 0.9563 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 3.911e-05/0.008778, allocations: 23.98 kB / 0.9563 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 2.14e-05/0.0088, allocations: 11.94 kB / 0.9563 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.008811, allocations: 0 / 0.9563 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.01031, allocations: 1.489 MB / 0.9578 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.01032, allocations: 4 kB / 0.9578 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.01034, allocations: 15.92 kB / 0.9578 GB, free: 12 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0009974/0.01134, allocations: 1.267 MB / 0.959 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.01134, allocations: 8 kB / 0.9591 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.333e-06/0.01134, allocations: 0 / 0.9591 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.01135, allocations: 4 kB / 0.9591 GB, free: 10.72 MB / 0.9167 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.0004171/0.01176, allocations: 476 kB / 0.9595 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.0118, allocations: 8.031 kB / 0.9595 GB, free: 10.22 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.306e-05/0.01184, allocations: 106 kB / 0.9596 GB, free: 10.11 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.829e-05/0.01189, allocations: 80.22 kB / 0.9597 GB, free: 10.03 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.692e-05/0.01199, allocations: 192.9 kB / 0.9599 GB, free: 9.812 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.094e-05/0.01203, allocations: 158.9 kB / 0.96 GB, free: 9.656 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.946e-05/0.01207, allocations: 150.9 kB / 0.9602 GB, free: 9.508 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.871e-05/0.01212, allocations: 101.5 kB / 0.9603 GB, free: 9.402 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.01214, allocations: 75.47 kB / 0.9603 GB, free: 9.328 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.891e-05/0.01218, allocations: 162.5 kB / 0.9605 GB, free: 9.168 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-05/0.01221, allocations: 166.4 kB / 0.9607 GB, free: 9.004 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.825e-05/0.01225, allocations: 154.6 kB / 0.9608 GB, free: 8.852 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002018/0.01245, allocations: 429 kB / 0.9612 GB, free: 8.391 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.475e-05/0.01251, allocations: 173.1 kB / 0.9614 GB, free: 8.211 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.33e-05/0.01254, allocations: 80.14 kB / 0.9615 GB, free: 8.129 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.01256, allocations: 75.28 kB / 0.9615 GB, free: 8.055 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.01259, allocations: 117.8 kB / 0.9616 GB, free: 7.93 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.01259, allocations: 0 / 0.9616 GB, free: 7.93 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 5.453e-05/0.01265, allocations: 37.53 kB / 0.9617 GB, free: 7.887 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.01269, allocations: 130.7 kB / 0.9618 GB, free: 7.746 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.01279, allocations: 136.3 kB / 0.9619 GB, free: 7.605 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.0128, allocations: 25.7 kB / 0.962 GB, free: 7.574 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/0.01284, allocations: 92.14 kB / 0.962 GB, free: 7.48 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.01284, allocations: 0 / 0.962 GB, free: 7.48 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.431e-05/0.01286, allocations: 17.7 kB / 0.9621 GB, free: 7.457 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.117e-05/0.01293, allocations: 318.8 kB / 0.9624 GB, free: 7.137 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/0.01295, allocations: 4 kB / 0.9624 GB, free: 7.133 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.285e-05/0.01297, allocations: 7.984 kB / 0.9624 GB, free: 7.125 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.093e-05/0.013, allocations: 12.86 kB / 0.9624 GB, free: 7.109 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.013, allocations: 0 / 0.9624 GB, free: 7.109 MB / 0.9167 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.783e-05/0.0131, allocations: 57.66 kB / 0.9624 GB, free: 7.047 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.01311, allocations: 12 kB / 0.9625 GB, free: 7.035 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.01313, allocations: 8 kB / 0.9625 GB, free: 7.027 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.01314, allocations: 0 / 0.9625 GB, free: 7.027 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.414e-06/0.01314, allocations: 3.984 kB / 0.9625 GB, free: 7.023 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.01314, allocations: 0 / 0.9625 GB, free: 7.023 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.346e-05/0.01316, allocations: 0 / 0.9625 GB, free: 7.023 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.01316, allocations: 4 kB / 0.9625 GB, free: 7.02 MB / 0.9167 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.556e-05/0.01323, allocations: 181.1 kB / 0.9626 GB, free: 6.832 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.01327, allocations: 108.9 kB / 0.9627 GB, free: 6.719 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.0133, allocations: 120.5 kB / 0.9629 GB, free: 6.594 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-05/0.01334, allocations: 188.2 kB / 0.963 GB, free: 6.402 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.1e-05/0.01338, allocations: 180.2 kB / 0.9632 GB, free: 6.219 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.05e-05/0.01342, allocations: 180.3 kB / 0.9634 GB, free: 6.035 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.01356, allocations: 380.3 kB / 0.9637 GB, free: 5.613 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.259e-05/0.01358, allocations: 108.9 kB / 0.9639 GB, free: 5.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.537e-05/0.01361, allocations: 108.9 kB / 0.964 GB, free: 5.387 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001901/0.0138, allocations: 184.2 kB / 0.9641 GB, free: 5.199 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.973e-05/0.01384, allocations: 180.2 kB / 0.9643 GB, free: 5.016 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-05/0.01387, allocations: 180.3 kB / 0.9645 GB, free: 4.832 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.706e-05/0.01391, allocations: 184.2 kB / 0.9647 GB, free: 4.645 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.467e-05/0.01399, allocations: 311.7 kB / 0.9649 GB, free: 4.316 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.898e-05/0.01402, allocations: 116.9 kB / 0.9651 GB, free: 4.195 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.01407, allocations: 180.2 kB / 0.9652 GB, free: 4.012 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.77e-05/0.01412, allocations: 113.2 kB / 0.9653 GB, free: 3.895 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.01416, allocations: 176.3 kB / 0.9655 GB, free: 3.715 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.01418, allocations: 113 kB / 0.9656 GB, free: 3.598 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.909e-05/0.01422, allocations: 99.27 kB / 0.9657 GB, free: 3.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01422, allocations: 0 / 0.9657 GB, free: 3.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0004114/0.01463, allocations: 298.9 kB / 0.966 GB, free: 3.203 MB / 0.9167 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.0009342/0.01557, allocations: 1.234 MB / 0.9672 GB, free: 1.945 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.103e-05/0.01565, allocations: 41.64 kB / 0.9672 GB, free: 1.898 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.01565, allocations: 0 / 0.9672 GB, free: 1.898 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.61e-07/0.01565, allocations: 0 / 0.9672 GB, free: 1.898 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.01593, allocations: 458.3 kB / 0.9677 GB, free: 1.449 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009192/0.01685, allocations: 1.613 MB / 0.9693 GB, free: 15.75 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.791e-05/0.01689, allocations: 63.34 kB / 0.9693 GB, free: 15.67 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 1.134e-05/0.0169, allocations: 3.906 kB / 0.9693 GB, free: 15.66 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.288e-05/0.01692, allocations: 20.48 kB / 0.9693 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of SimCode: time 4.81e-07/0.01692, allocations: 0 / 0.9693 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01813/0.03505, allocations: 8.002 MB / 0.9772 GB, free: 7.875 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.215/7.25, allocations: 0.5 kB / 0.9772 GB, free: 7.875 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv. Warning: Get data of variable x from file Buildings_11_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: 11.472443931736052]