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.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.001748/0.001748, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001849/0.001849, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] 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 3.179/3.179, allocations: 0.505 GB / 0.8101 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_latest_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_latest_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.001993/0.001993, allocations: 68.5 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3399, allocations: 180.2 MB / 1.353 GB, free: 8.422 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002707/0.3426, allocations: 1.456 MB / 1.354 GB, free: 6.957 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004617/0.3472, allocations: 2.969 MB / 1.357 GB, free: 3.973 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.168e-05/0.3472, allocations: 0 / 1.357 GB, free: 3.973 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.084e-05/0.3472, allocations: 7.938 kB / 1.357 GB, free: 3.965 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.885e-05/0.3473, allocations: 11.86 kB / 1.357 GB, free: 3.953 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003948/0.3513, allocations: 1.692 MB / 1.359 GB, free: 2.27 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.092e-05/0.3513, allocations: 31.81 kB / 1.359 GB, free: 2.238 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.278e-05/0.3514, allocations: 11.91 kB / 1.359 GB, free: 2.227 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.748e-05/0.3514, allocations: 12 kB / 1.359 GB, free: 2.215 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 2.682e-05/0.3514, allocations: 19.88 kB / 1.359 GB, free: 2.195 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.388e-06/0.3515, allocations: 3.938 kB / 1.359 GB, free: 2.191 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002414/0.3539, allocations: 1.72 MB / 1.361 GB, free: 480 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.3539, allocations: 4 kB / 1.361 GB, free: 476 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.797e-05/0.3539, allocations: 15.88 kB / 1.361 GB, free: 460 kB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001549/0.3555, allocations: 1.126 MB / 1.362 GB, free: 15.32 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3555, allocations: 0 / 1.362 GB, free: 15.32 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3555, allocations: 0 / 1.362 GB, free: 15.32 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3555, allocations: 0 / 1.362 GB, free: 15.32 MB / 1.061 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.0005914/0.3561, allocations: 472 kB / 1.362 GB, free: 14.82 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.3561, allocations: 12.75 kB / 1.362 GB, free: 14.81 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.692e-05/0.3562, allocations: 114 kB / 1.362 GB, free: 14.69 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.583e-05/0.3562, allocations: 80.17 kB / 1.362 GB, free: 14.61 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.3564, allocations: 193.8 kB / 1.363 GB, free: 14.4 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.601e-05/0.3565, allocations: 150.9 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.51e-05/0.3565, allocations: 154.9 kB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.657e-05/0.3566, allocations: 104.9 kB / 1.363 GB, free: 13.99 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/0.3566, allocations: 79.22 kB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.465e-05/0.3567, allocations: 150.6 kB / 1.363 GB, free: 13.76 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.008e-05/0.3568, allocations: 154.6 kB / 1.363 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.64e-05/0.3568, allocations: 154.6 kB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003118/0.3571, allocations: 440.9 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.297e-05/0.3572, allocations: 165.1 kB / 1.364 GB, free: 12.81 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.823e-05/0.3573, allocations: 84.08 kB / 1.364 GB, free: 12.73 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.682e-05/0.3573, allocations: 79.22 kB / 1.364 GB, free: 12.65 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.096e-05/0.3574, allocations: 113.8 kB / 1.364 GB, free: 12.53 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 2.585e-06/0.3574, allocations: 3.984 kB / 1.364 GB, free: 12.52 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.719e-05/0.3574, allocations: 33.66 kB / 1.364 GB, free: 12.48 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.3575, allocations: 126.7 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.3577, allocations: 131.4 kB / 1.365 GB, free: 12.21 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.3577, allocations: 25.7 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.643e-05/0.3577, allocations: 88.14 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.3577, allocations: 0 / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.3578, allocations: 25.7 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3579, allocations: 318.9 kB / 1.365 GB, free: 11.74 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.339e-05/0.3579, allocations: 11.88 kB / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.467e-05/0.3579, allocations: 4 kB / 1.365 GB, free: 11.72 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.152e-05/0.358, allocations: 24.78 kB / 1.365 GB, free: 11.7 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.358, allocations: 0 / 1.365 GB, free: 11.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001243/0.3581, allocations: 45.59 kB / 1.365 GB, free: 11.64 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.3581, allocations: 6.188 kB / 1.365 GB, free: 11.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/0.3581, allocations: 12.06 kB / 1.365 GB, free: 11.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.3581, allocations: 0 / 1.365 GB, free: 11.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.555e-06/0.3582, allocations: 3.984 kB / 1.365 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3582, allocations: 0 / 1.365 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.069e-05/0.3582, allocations: 4 kB / 1.365 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.3582, allocations: 0 / 1.365 GB, free: 11.62 MB / 1.061 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.0001042/0.3583, allocations: 193 kB / 1.365 GB, free: 11.42 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.22e-05/0.3584, allocations: 112.9 kB / 1.366 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.823e-05/0.3584, allocations: 112.8 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.806e-05/0.3585, allocations: 184.2 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.738e-05/0.3586, allocations: 180.3 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.099e-05/0.3587, allocations: 180.2 kB / 1.366 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.3589, allocations: 384.2 kB / 1.366 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.746e-05/0.359, allocations: 105 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.65e-05/0.359, allocations: 112.9 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-05/0.3591, allocations: 180.3 kB / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.114e-05/0.3592, allocations: 180.2 kB / 1.367 GB, free: 9.609 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.354e-05/0.3592, allocations: 176.3 kB / 1.367 GB, free: 9.43 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.161e-05/0.3593, allocations: 180.3 kB / 1.367 GB, free: 9.246 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.3595, allocations: 319.6 kB / 1.368 GB, free: 8.91 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/0.3595, allocations: 104.9 kB / 1.368 GB, free: 8.801 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.721e-05/0.3596, allocations: 184.3 kB / 1.368 GB, free: 8.613 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.307e-05/0.3597, allocations: 101 kB / 1.368 GB, free: 8.508 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.884e-05/0.3598, allocations: 188.2 kB / 1.368 GB, free: 8.316 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.208e-05/0.3598, allocations: 109 kB / 1.368 GB, free: 8.203 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.089e-05/0.3599, allocations: 95.27 kB / 1.368 GB, free: 8.109 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.3599, allocations: 0 / 1.368 GB, free: 8.109 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007485/0.3607, allocations: 291 kB / 1.369 GB, free: 7.824 MB / 1.061 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.001418/0.3621, allocations: 1.185 MB / 1.37 GB, free: 6.613 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001143/0.3622, allocations: 29.7 kB / 1.37 GB, free: 6.578 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3622, allocations: 0 / 1.37 GB, free: 6.578 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.248e-06/0.3622, allocations: 4 kB / 1.37 GB, free: 6.574 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.3626, allocations: 471.6 kB / 1.37 GB, free: 6.109 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.3642, allocations: 1.585 MB / 1.372 GB, free: 4.445 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.3645, allocations: 0.6845 MB / 1.373 GB, free: 3.734 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.336e-05/0.3645, allocations: 0 / 1.373 GB, free: 3.734 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.3645, allocations: 15.44 kB / 1.373 GB, free: 3.723 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.3645, allocations: 4.031 kB / 1.373 GB, free: 3.719 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03733/0.4018, allocations: 7.163 MB / 1.38 GB, free: 12.74 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.02, allocations: 0 / 1.38 GB, free: 12.74 MB / 1.076 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_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_InternalResistancesOneUTubeNegative.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.csv. Warning: Get data of variable x from file Buildings_latest_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: 17.834686959000464]