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.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.001678/0.001678, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002232/0.002232, allocations: 215.9 kB / 22.25 MB, free: 5.258 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.496/1.496, allocations: 230.6 MB / 256 MB, free: 7.801 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.268/3.268, allocations: 0.49 GB / 0.7951 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] 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.InternalResistancesOneUTube,fileNamePrefix="Buildings_12_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_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.002149/0.002149, allocations: 68.23 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3639, allocations: 176.1 MB / 1.326 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003476/0.3674, allocations: 1.434 MB / 1.327 GB, free: 28 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005041/0.3725, allocations: 2.646 MB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.3725, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.898e-05/0.3726, allocations: 7.922 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.236e-05/0.3726, allocations: 7.875 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005012/0.3776, allocations: 1.63 MB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.3777, allocations: 43.73 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.3778, allocations: 7.984 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.819e-05/0.3778, allocations: 11.94 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.195e-05/0.3778, allocations: 19.86 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.3779, allocations: 4 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002868/0.3807, allocations: 1.552 MB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.92e-05/0.3807, allocations: 4 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.591e-05/0.3808, allocations: 15.88 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002225/0.383, allocations: 1.076 MB / 1.334 GB, free: 8.996 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.383, allocations: 8 kB / 1.334 GB, free: 8.988 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.723e-06/0.383, allocations: 0 / 1.334 GB, free: 8.988 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.75e-06/0.383, allocations: 0 / 1.334 GB, free: 8.988 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.0008276/0.3839, allocations: 468 kB / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.3839, allocations: 15.92 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.647e-05/0.384, allocations: 110 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.876e-05/0.3841, allocations: 84.17 kB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.3842, allocations: 199.1 kB / 1.335 GB, free: 8.066 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.708e-05/0.3843, allocations: 150.9 kB / 1.335 GB, free: 7.918 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.142e-05/0.3844, allocations: 154.9 kB / 1.335 GB, free: 7.766 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.739e-05/0.3845, allocations: 108.9 kB / 1.335 GB, free: 7.652 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.806e-05/0.3845, allocations: 79.28 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.658e-05/0.3846, allocations: 154.6 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.299e-05/0.3846, allocations: 154.6 kB / 1.336 GB, free: 7.27 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.182e-05/0.3847, allocations: 150.6 kB / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003399/0.385, allocations: 440.9 kB / 1.336 GB, free: 6.648 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.3852, allocations: 165.1 kB / 1.337 GB, free: 6.477 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.407e-05/0.3852, allocations: 84.14 kB / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/0.3852, allocations: 79.22 kB / 1.337 GB, free: 6.312 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.98e-05/0.3853, allocations: 105.8 kB / 1.337 GB, free: 6.199 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.3853, allocations: 0 / 1.337 GB, free: 6.199 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.944e-05/0.3854, allocations: 41.59 kB / 1.337 GB, free: 6.152 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/0.3855, allocations: 130.7 kB / 1.337 GB, free: 6.012 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.3856, allocations: 127.5 kB / 1.337 GB, free: 5.879 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.3856, allocations: 25.7 kB / 1.337 GB, free: 5.848 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.602e-05/0.3857, allocations: 96.12 kB / 1.337 GB, free: 5.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.3857, allocations: 0 / 1.337 GB, free: 5.75 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.3857, allocations: 17.77 kB / 1.337 GB, free: 5.727 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.3859, allocations: 322.8 kB / 1.338 GB, free: 5.402 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.59e-05/0.3859, allocations: 4 kB / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.413e-05/0.3859, allocations: 0 / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.27e-05/0.386, allocations: 20.86 kB / 1.338 GB, free: 5.375 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.386, allocations: 4.031 kB / 1.338 GB, free: 5.371 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001415/0.3861, allocations: 57.52 kB / 1.338 GB, free: 5.309 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.3861, allocations: 8 kB / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.3861, allocations: 0 / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.3861, allocations: 0 / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.3862, allocations: 0 / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.3862, allocations: 4 kB / 1.338 GB, free: 5.297 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.968e-05/0.3862, allocations: 0 / 1.338 GB, free: 5.297 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.3862, allocations: 0 / 1.338 GB, free: 5.297 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.0001084/0.3863, allocations: 185.1 kB / 1.338 GB, free: 5.105 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.3864, allocations: 112.9 kB / 1.338 GB, free: 4.988 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.606e-05/0.3865, allocations: 116.7 kB / 1.338 GB, free: 4.859 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.912e-05/0.3865, allocations: 180.3 kB / 1.338 GB, free: 4.676 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.03e-05/0.3866, allocations: 184.2 kB / 1.338 GB, free: 4.488 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-05/0.3867, allocations: 184.1 kB / 1.339 GB, free: 4.301 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.387, allocations: 388.2 kB / 1.339 GB, free: 3.871 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.612e-05/0.387, allocations: 104.9 kB / 1.339 GB, free: 3.762 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.696e-05/0.3871, allocations: 105 kB / 1.339 GB, free: 3.652 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-05/0.3871, allocations: 184.2 kB / 1.339 GB, free: 3.465 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.4e-05/0.3872, allocations: 176.3 kB / 1.339 GB, free: 3.285 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.68e-05/0.3873, allocations: 180.3 kB / 1.34 GB, free: 3.102 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.338e-05/0.3874, allocations: 188.2 kB / 1.34 GB, free: 2.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.3875, allocations: 315.7 kB / 1.34 GB, free: 2.578 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.3876, allocations: 109 kB / 1.34 GB, free: 2.465 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.419e-05/0.3877, allocations: 188.2 kB / 1.34 GB, free: 2.273 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.488e-05/0.3878, allocations: 101 kB / 1.34 GB, free: 2.168 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.805e-05/0.3879, allocations: 180.3 kB / 1.341 GB, free: 1.984 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.973e-05/0.388, allocations: 108.9 kB / 1.341 GB, free: 1.871 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.816e-05/0.388, allocations: 96.52 kB / 1.341 GB, free: 1.777 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.388, allocations: 0 / 1.341 GB, free: 1.777 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008677/0.3889, allocations: 291 kB / 1.341 GB, free: 1.492 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.001359/0.3903, allocations: 1.186 MB / 1.342 GB, free: 284 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001016/0.3904, allocations: 41.64 kB / 1.342 GB, free: 236 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3904, allocations: 0 / 1.342 GB, free: 236 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.3904, allocations: 0 / 1.342 GB, free: 236 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.3908, allocations: 467.7 kB / 1.343 GB, free: 15.77 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.3923, allocations: 1.602 MB / 1.344 GB, free: 14.09 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.851e-05/0.3924, allocations: 67.28 kB / 1.344 GB, free: 14 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.402e-05/0.3924, allocations: 3.984 kB / 1.344 GB, free: 14 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.3924, allocations: 11.44 kB / 1.344 GB, free: 13.98 MB / 1.045 GB Notification: Performance of SimCode: time 4.31e-07/0.3924, allocations: 4 kB / 1.344 GB, free: 13.98 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03547/0.4279, allocations: 7.623 MB / 1.352 GB, free: 6.547 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.39, allocations: 11.86 kB / 1.352 GB, free: 6.535 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_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_InternalResistancesOneUTube.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.csv. Warning: Get data of variable x from file Buildings_12_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: 18.273511937994044]