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.001785/0.001785, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002287/0.002287, allocations: 213.3 kB / 22.24 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.443/1.443, allocations: 230.6 MB / 256 MB, free: 7.789 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.226/3.226, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.002087/0.002087, allocations: 71.81 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3273, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002568/0.3299, allocations: 1.434 MB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004348/0.3342, allocations: 2.639 MB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.415e-05/0.3343, allocations: 3.938 kB / 1.367 GB, free: 9.98 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.571e-05/0.3343, allocations: 7.922 kB / 1.367 GB, free: 9.973 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.782e-05/0.3343, allocations: 11.86 kB / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004051/0.3384, allocations: 1.619 MB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.118e-05/0.3385, allocations: 43.73 kB / 1.369 GB, free: 8.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.374e-05/0.3385, allocations: 0 / 1.369 GB, free: 8.32 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.079e-05/0.3386, allocations: 19.92 kB / 1.369 GB, free: 8.301 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.762e-05/0.3386, allocations: 11.94 kB / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.3386, allocations: 0 / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002206/0.3408, allocations: 1.458 MB / 1.371 GB, free: 6.828 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.494e-05/0.3408, allocations: 3.938 kB / 1.371 GB, free: 6.824 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.693e-05/0.3408, allocations: 11.94 kB / 1.371 GB, free: 6.812 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00139/0.3422, allocations: 1.079 MB / 1.372 GB, free: 5.73 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3422, allocations: 0 / 1.372 GB, free: 5.73 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3422, allocations: 0 / 1.372 GB, free: 5.73 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.806e-06/0.3422, allocations: 4 kB / 1.372 GB, free: 5.727 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.0005728/0.3428, allocations: 476 kB / 1.372 GB, free: 5.23 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3429, allocations: 8.75 kB / 1.372 GB, free: 5.223 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.478e-05/0.3429, allocations: 106 kB / 1.372 GB, free: 5.109 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.062e-05/0.343, allocations: 80.22 kB / 1.372 GB, free: 5.031 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.3431, allocations: 189.8 kB / 1.372 GB, free: 4.82 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.984e-05/0.3432, allocations: 154.9 kB / 1.373 GB, free: 4.668 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.739e-05/0.3433, allocations: 150.9 kB / 1.373 GB, free: 4.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.038e-05/0.3433, allocations: 104.9 kB / 1.373 GB, free: 4.41 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.821e-05/0.3434, allocations: 79.28 kB / 1.373 GB, free: 4.332 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.087e-05/0.3434, allocations: 150.6 kB / 1.373 GB, free: 4.184 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.393e-05/0.3435, allocations: 158.6 kB / 1.373 GB, free: 4.027 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.436e-05/0.3435, allocations: 154.5 kB / 1.373 GB, free: 3.875 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003113/0.3439, allocations: 440.9 kB / 1.374 GB, free: 3.402 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.869e-05/0.344, allocations: 169.1 kB / 1.374 GB, free: 3.227 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.905e-05/0.344, allocations: 80.14 kB / 1.374 GB, free: 3.145 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.96e-05/0.344, allocations: 79.22 kB / 1.374 GB, free: 3.066 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.969e-05/0.3441, allocations: 109.8 kB / 1.374 GB, free: 2.949 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.3441, allocations: 0 / 1.374 GB, free: 2.949 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.521e-05/0.3442, allocations: 33.7 kB / 1.374 GB, free: 2.91 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/0.3442, allocations: 126.7 kB / 1.374 GB, free: 2.773 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.3444, allocations: 135.3 kB / 1.374 GB, free: 2.633 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.3444, allocations: 25.7 kB / 1.375 GB, free: 2.602 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/0.3444, allocations: 96.12 kB / 1.375 GB, free: 2.504 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.3444, allocations: 0 / 1.375 GB, free: 2.504 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.3445, allocations: 13.72 kB / 1.375 GB, free: 2.484 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.3446, allocations: 322.9 kB / 1.375 GB, free: 2.16 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.274e-05/0.3446, allocations: 4 kB / 1.375 GB, free: 2.156 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.682e-05/0.3447, allocations: 8 kB / 1.375 GB, free: 2.148 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.9e-05/0.3447, allocations: 16.8 kB / 1.375 GB, free: 2.129 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3447, allocations: 3.938 kB / 1.375 GB, free: 2.125 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001202/0.3448, allocations: 49.62 kB / 1.375 GB, free: 2.07 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3448, allocations: 12.06 kB / 1.375 GB, free: 2.059 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.3449, allocations: 0 / 1.375 GB, free: 2.059 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3449, allocations: 3.938 kB / 1.375 GB, free: 2.055 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.645e-06/0.3449, allocations: 4 kB / 1.375 GB, free: 2.051 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.3449, allocations: 0 / 1.375 GB, free: 2.051 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.192e-05/0.3449, allocations: 3.953 kB / 1.375 GB, free: 2.047 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.545e-06/0.3449, allocations: 4 kB / 1.375 GB, free: 2.043 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.000108/0.345, allocations: 185.1 kB / 1.375 GB, free: 1.852 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.807e-05/0.3451, allocations: 112.8 kB / 1.375 GB, free: 1.734 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.567e-05/0.3451, allocations: 120.8 kB / 1.375 GB, free: 1.605 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.282e-05/0.3452, allocations: 184.2 kB / 1.376 GB, free: 1.418 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.077e-05/0.3453, allocations: 180.3 kB / 1.376 GB, free: 1.234 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.117e-05/0.3454, allocations: 176.3 kB / 1.376 GB, free: 1.055 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.3456, allocations: 392.2 kB / 1.376 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.121e-05/0.3457, allocations: 105 kB / 1.376 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.765e-05/0.3457, allocations: 108.9 kB / 1.377 GB, free: 408 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.115e-05/0.3458, allocations: 176.3 kB / 1.377 GB, free: 224 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.978e-05/0.3459, allocations: 176.3 kB / 1.377 GB, free: 40 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.529e-05/0.3459, allocations: 188.2 kB / 1.377 GB, free: 15.85 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-05/0.346, allocations: 176.3 kB / 1.377 GB, free: 15.67 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.3462, allocations: 315.7 kB / 1.378 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.3462, allocations: 108.9 kB / 1.378 GB, free: 15.22 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.61e-05/0.3463, allocations: 188.2 kB / 1.378 GB, free: 15.03 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.742e-05/0.3464, allocations: 105 kB / 1.378 GB, free: 14.92 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.19e-05/0.3465, allocations: 180.2 kB / 1.378 GB, free: 14.74 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.244e-05/0.3465, allocations: 105 kB / 1.378 GB, free: 14.63 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.559e-05/0.3466, allocations: 97.14 kB / 1.378 GB, free: 14.54 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3466, allocations: 0 / 1.378 GB, free: 14.54 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006972/0.3473, allocations: 294.9 kB / 1.379 GB, free: 14.25 MB / 1.076 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.001315/0.3486, allocations: 1.179 MB / 1.38 GB, free: 13.04 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.451e-05/0.3487, allocations: 33.7 kB / 1.38 GB, free: 13 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3487, allocations: 0 / 1.38 GB, free: 13 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.887e-06/0.3487, allocations: 4 kB / 1.38 GB, free: 13 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.3491, allocations: 459.7 kB / 1.38 GB, free: 12.54 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.3505, allocations: 1.599 MB / 1.382 GB, free: 10.86 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.266e-05/0.3506, allocations: 83.27 kB / 1.382 GB, free: 10.76 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.151e-05/0.3506, allocations: 0 / 1.382 GB, free: 10.76 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.3507, allocations: 15.44 kB / 1.382 GB, free: 10.75 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.3507, allocations: 0 / 1.382 GB, free: 10.75 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03623/0.3869, allocations: 7.626 MB / 1.389 GB, free: 3.301 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.69, allocations: 4.922 kB / 1.389 GB, free: 3.297 MB / 1.076 GB " [Timeout remaining time 288] (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: 18.417364119086415]