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.InternalResistancesOneUTubeNegative.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.00159/0.00159, 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.002124/0.002124, allocations: 217.9 kB / 22.24 MB, free: 5.262 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.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.777 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.109/3.109, allocations: 0.49 GB / 0.7951 GB, free: 35.68 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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.001997/0.001997, allocations: 65.75 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3544/0.3564, allocations: 176.1 MB / 1.326 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003354/0.3597, allocations: 1.436 MB / 1.327 GB, free: 28 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005044/0.3648, allocations: 2.639 MB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.552e-05/0.3648, allocations: 4 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.669e-05/0.3649, allocations: 7.938 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.934e-05/0.3649, allocations: 15.84 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004417/0.3694, allocations: 1.635 MB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.757e-05/0.3695, allocations: 39.75 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.032e-05/0.3695, allocations: 3.984 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.975e-05/0.3695, allocations: 15.94 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 2.832e-05/0.3696, allocations: 15.88 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.3696, allocations: 0 / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002364/0.3719, allocations: 1.552 MB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.3719, allocations: 4 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.265e-05/0.372, allocations: 27.8 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.3735, allocations: 1.068 MB / 1.334 GB, free: 9 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3735, allocations: 0 / 1.334 GB, free: 9 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3735, allocations: 3.938 kB / 1.334 GB, free: 8.996 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.3735, allocations: 4 kB / 1.334 GB, free: 8.992 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.0006039/0.3741, allocations: 472 kB / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3741, allocations: 15.98 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.593e-05/0.3742, allocations: 110 kB / 1.335 GB, free: 8.367 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.153e-05/0.3743, allocations: 84.17 kB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.3744, allocations: 189.8 kB / 1.335 GB, free: 8.074 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.998e-05/0.3745, allocations: 150.9 kB / 1.335 GB, free: 7.926 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.971e-05/0.3746, allocations: 158.9 kB / 1.335 GB, free: 7.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.332e-05/0.3746, allocations: 104.9 kB / 1.335 GB, free: 7.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.3747, allocations: 75.28 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.183e-05/0.3747, allocations: 158.5 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.883e-05/0.3748, allocations: 150.6 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.776e-05/0.3749, allocations: 162.5 kB / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003104/0.3752, allocations: 433 kB / 1.336 GB, free: 6.656 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.135e-05/0.3753, allocations: 169.1 kB / 1.337 GB, free: 6.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.054e-05/0.3753, allocations: 80.14 kB / 1.337 GB, free: 6.398 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.3753, allocations: 87.22 kB / 1.337 GB, free: 6.312 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.124e-05/0.3754, allocations: 105.8 kB / 1.337 GB, free: 6.199 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 7.52e-07/0.3754, allocations: 0 / 1.337 GB, free: 6.199 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.939e-05/0.3755, allocations: 41.58 kB / 1.337 GB, free: 6.152 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.3755, allocations: 126.7 kB / 1.337 GB, free: 6.016 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.3757, allocations: 131.1 kB / 1.337 GB, free: 5.879 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.3757, allocations: 25.7 kB / 1.337 GB, free: 5.848 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.371e-05/0.3757, allocations: 88.14 kB / 1.337 GB, free: 5.758 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-06/0.3757, allocations: 0 / 1.337 GB, free: 5.758 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.3758, allocations: 21.77 kB / 1.337 GB, free: 5.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3759, allocations: 326.8 kB / 1.338 GB, free: 5.402 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.958e-05/0.3759, allocations: 0 / 1.338 GB, free: 5.402 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.494e-05/0.3759, allocations: 4 kB / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.927e-05/0.376, allocations: 16.86 kB / 1.338 GB, free: 5.379 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.376, allocations: 0 / 1.338 GB, free: 5.379 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000133/0.3761, allocations: 53.52 kB / 1.338 GB, free: 5.32 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3761, allocations: 5.25 kB / 1.338 GB, free: 5.316 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/0.3762, allocations: 4 kB / 1.338 GB, free: 5.312 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.3762, allocations: 0 / 1.338 GB, free: 5.312 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.669e-06/0.3762, allocations: 4 kB / 1.338 GB, free: 5.309 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3762, allocations: 0 / 1.338 GB, free: 5.309 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.389e-05/0.3762, allocations: 8.062 kB / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.3762, allocations: 0 / 1.338 GB, free: 5.301 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.0001167/0.3763, allocations: 189.1 kB / 1.338 GB, free: 5.105 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.936e-05/0.3764, allocations: 112.9 kB / 1.338 GB, free: 4.988 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.087e-05/0.3765, allocations: 116.7 kB / 1.338 GB, free: 4.859 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-05/0.3765, allocations: 176.3 kB / 1.338 GB, free: 4.68 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-05/0.3766, allocations: 188.2 kB / 1.338 GB, free: 4.488 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-05/0.3767, allocations: 180.3 kB / 1.339 GB, free: 4.305 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.3769, allocations: 384.2 kB / 1.339 GB, free: 3.879 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-05/0.377, allocations: 108.9 kB / 1.339 GB, free: 3.766 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.269e-05/0.377, allocations: 105 kB / 1.339 GB, free: 3.656 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.768e-05/0.3771, allocations: 192.2 kB / 1.339 GB, free: 3.461 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.622e-05/0.3772, allocations: 176.3 kB / 1.339 GB, free: 3.281 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.644e-05/0.3773, allocations: 176.3 kB / 1.34 GB, free: 3.102 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.432e-05/0.3773, allocations: 184.2 kB / 1.34 GB, free: 2.914 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/0.3775, allocations: 315.6 kB / 1.34 GB, free: 2.582 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.284e-05/0.3775, allocations: 109 kB / 1.34 GB, free: 2.469 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.34e-05/0.3776, allocations: 176.3 kB / 1.34 GB, free: 2.289 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.732e-05/0.3777, allocations: 108.9 kB / 1.34 GB, free: 2.176 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.19e-05/0.3778, allocations: 176.3 kB / 1.341 GB, free: 1.996 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.737e-05/0.3778, allocations: 112.9 kB / 1.341 GB, free: 1.879 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.64e-05/0.3779, allocations: 101.1 kB / 1.341 GB, free: 1.781 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3779, allocations: 4 kB / 1.341 GB, free: 1.777 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007606/0.3787, allocations: 287 kB / 1.341 GB, free: 1.496 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.00132/0.38, allocations: 1.183 MB / 1.342 GB, free: 292 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.951e-05/0.3801, allocations: 37.64 kB / 1.342 GB, free: 248 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3801, allocations: 0 / 1.342 GB, free: 248 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.984e-06/0.3801, allocations: 4.062 kB / 1.342 GB, free: 244 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.3805, allocations: 463.7 kB / 1.343 GB, free: 15.78 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.382, allocations: 1.6 MB / 1.344 GB, free: 14.1 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.062e-05/0.3821, allocations: 71.28 kB / 1.344 GB, free: 14.01 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.359e-05/0.3821, allocations: 0 / 1.344 GB, free: 14.01 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.3821, allocations: 15.44 kB / 1.344 GB, free: 13.99 MB / 1.045 GB Notification: Performance of SimCode: time 5.11e-07/0.3821, allocations: 4.031 kB / 1.344 GB, free: 13.99 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03552/0.4177, allocations: 7.641 MB / 1.352 GB, free: 6.539 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.46, allocations: 2.062 kB / 1.352 GB, free: 6.539 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_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_InternalResistancesOneUTubeNegative.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative_res.csv. Warning: Get data of variable x from file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.22398604400223]