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.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.001515/0.001515, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001891/0.001891, allocations: 213.5 kB / 22.24 MB, free: 5.242 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.793 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.184/3.184, allocations: 0.4892 GB / 0.7943 GB, free: 35.65 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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_12_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_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.002065/0.002065, allocations: 78.09 kB / 1.153 GB, free: 25.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3236, allocations: 176.1 MB / 1.325 GB, free: 2.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002707/0.3263, allocations: 1.448 MB / 1.327 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004482/0.3308, allocations: 2.67 MB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.889e-05/0.3308, allocations: 4 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.661e-05/0.3308, allocations: 11.86 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.433e-05/0.3309, allocations: 11.86 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003959/0.3348, allocations: 1.642 MB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.335, allocations: 47.67 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.523e-05/0.335, allocations: 0 / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.032e-05/0.335, allocations: 15.94 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 2.984e-05/0.3351, allocations: 15.92 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.3351, allocations: 4 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002201/0.3373, allocations: 1.493 MB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.3373, allocations: 7.938 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.593e-05/0.3373, allocations: 11.94 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.3387, allocations: 1.103 MB / 1.333 GB, free: 9.875 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3387, allocations: 0 / 1.333 GB, free: 9.875 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3387, allocations: 0 / 1.333 GB, free: 9.875 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.3387, allocations: 0 / 1.333 GB, free: 9.875 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.0005767/0.3393, allocations: 472 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.3394, allocations: 15.98 kB / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.055e-05/0.3394, allocations: 114 kB / 1.334 GB, free: 9.246 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.337e-05/0.3395, allocations: 84.17 kB / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.3396, allocations: 189.8 kB / 1.334 GB, free: 8.953 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.181e-05/0.3397, allocations: 150.9 kB / 1.334 GB, free: 8.805 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.767e-05/0.3398, allocations: 150.9 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.176e-05/0.3398, allocations: 108.9 kB / 1.335 GB, free: 8.543 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/0.3399, allocations: 75.28 kB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.729e-05/0.3399, allocations: 150.6 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.064e-05/0.34, allocations: 150.6 kB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.386e-05/0.3401, allocations: 154.5 kB / 1.335 GB, free: 8.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002993/0.3404, allocations: 445 kB / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.234e-05/0.3404, allocations: 169.1 kB / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.9e-05/0.3405, allocations: 80.14 kB / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.835e-05/0.3405, allocations: 83.22 kB / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.251e-05/0.3406, allocations: 109.8 kB / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.3406, allocations: 3.938 kB / 1.336 GB, free: 7.082 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.502e-05/0.3407, allocations: 41.69 kB / 1.336 GB, free: 7.035 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.3407, allocations: 126.7 kB / 1.336 GB, free: 6.898 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.3409, allocations: 136.4 kB / 1.336 GB, free: 6.758 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.3409, allocations: 25.7 kB / 1.336 GB, free: 6.727 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.686e-05/0.3409, allocations: 96.09 kB / 1.336 GB, free: 6.629 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.3409, allocations: 4 kB / 1.336 GB, free: 6.625 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.341, allocations: 21.7 kB / 1.336 GB, free: 6.598 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.3411, allocations: 314.8 kB / 1.337 GB, free: 6.281 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.288e-05/0.3411, allocations: 4 kB / 1.337 GB, free: 6.277 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.713e-05/0.3411, allocations: 11.94 kB / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.251e-05/0.3412, allocations: 20.84 kB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3412, allocations: 0 / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001194/0.3413, allocations: 49.64 kB / 1.337 GB, free: 6.188 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.3413, allocations: 4 kB / 1.337 GB, free: 6.184 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/0.3413, allocations: 8 kB / 1.337 GB, free: 6.176 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.3413, allocations: 4.062 kB / 1.337 GB, free: 6.172 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.3413, allocations: 0 / 1.337 GB, free: 6.172 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.3413, allocations: 4 kB / 1.337 GB, free: 6.168 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.202e-05/0.3414, allocations: 3.953 kB / 1.337 GB, free: 6.164 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.3414, allocations: 3.984 kB / 1.337 GB, free: 6.16 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.0001062/0.3415, allocations: 185.1 kB / 1.337 GB, free: 5.969 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.925e-05/0.3415, allocations: 112.8 kB / 1.337 GB, free: 5.852 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.622e-05/0.3416, allocations: 108.8 kB / 1.337 GB, free: 5.73 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.167e-05/0.3417, allocations: 180.3 kB / 1.337 GB, free: 5.547 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.576e-05/0.3418, allocations: 188.2 kB / 1.338 GB, free: 5.355 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-05/0.3418, allocations: 180.3 kB / 1.338 GB, free: 5.172 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.3421, allocations: 388.2 kB / 1.338 GB, free: 4.742 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.3e-05/0.3421, allocations: 101 kB / 1.338 GB, free: 4.637 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.38e-05/0.3422, allocations: 113 kB / 1.338 GB, free: 4.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-05/0.3422, allocations: 180.2 kB / 1.339 GB, free: 4.336 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.372e-05/0.3423, allocations: 180.2 kB / 1.339 GB, free: 4.152 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.112e-05/0.3424, allocations: 184.2 kB / 1.339 GB, free: 3.965 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.944e-05/0.3424, allocations: 176.3 kB / 1.339 GB, free: 3.785 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.3426, allocations: 319.7 kB / 1.339 GB, free: 3.449 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.3426, allocations: 104.9 kB / 1.339 GB, free: 3.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.5e-05/0.3427, allocations: 184.2 kB / 1.34 GB, free: 3.152 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.048e-05/0.3428, allocations: 105 kB / 1.34 GB, free: 3.043 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.1e-05/0.3429, allocations: 188.2 kB / 1.34 GB, free: 2.852 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.513e-05/0.3429, allocations: 109 kB / 1.34 GB, free: 2.738 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.125e-05/0.343, allocations: 97.14 kB / 1.34 GB, free: 2.645 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.11e-07/0.343, allocations: 3.938 kB / 1.34 GB, free: 2.641 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006993/0.3437, allocations: 295 kB / 1.34 GB, free: 2.352 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.001308/0.345, allocations: 1.202 MB / 1.342 GB, free: 1.121 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.3451, allocations: 41.69 kB / 1.342 GB, free: 1.074 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3451, allocations: 0 / 1.342 GB, free: 1.074 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.472e-06/0.3451, allocations: 0 / 1.342 GB, free: 1.074 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.3455, allocations: 459.7 kB / 1.342 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.347, allocations: 1.614 MB / 1.344 GB, free: 14.93 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.711e-05/0.347, allocations: 71.42 kB / 1.344 GB, free: 14.84 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.387e-05/0.347, allocations: 4 kB / 1.344 GB, free: 14.83 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.675e-05/0.3471, allocations: 15.44 kB / 1.344 GB, free: 14.82 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.3471, allocations: 0 / 1.344 GB, free: 14.82 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03644/0.3835, allocations: 7.811 MB / 1.351 GB, free: 7.195 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.76, allocations: 8.641 kB / 1.351 GB, free: 7.191 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv. Warning: Get data of variable x from file Buildings_12_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: 18.502060936763883]