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.001487/0.001487, 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.001908/0.001908, allocations: 209.8 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.785 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.128/3.128, allocations: 0.4892 GB / 0.7943 GB, free: 35.71 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.002019/0.002019, allocations: 61.34 kB / 1.153 GB, free: 26.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3204, allocations: 176.1 MB / 1.325 GB, free: 2.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002615/0.323, allocations: 1.438 MB / 1.327 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004397/0.3274, allocations: 2.642 MB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.603e-05/0.3274, allocations: 0 / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.277e-05/0.3274, allocations: 3.938 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.73e-05/0.3275, allocations: 15.84 kB / 1.329 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004128/0.3316, allocations: 1.623 MB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.014e-05/0.3317, allocations: 35.75 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.16e-05/0.3318, allocations: 11.92 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.577e-05/0.3318, allocations: 11.94 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 2.951e-05/0.3318, allocations: 15.88 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.3318, allocations: 4 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002253/0.3341, allocations: 1.443 MB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.3341, allocations: 7.984 kB / 1.332 GB, free: 11.26 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.3e-05/0.3341, allocations: 15.88 kB / 1.332 GB, free: 11.24 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001587/0.3357, allocations: 1.079 MB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3357, allocations: 0 / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.123e-06/0.3357, allocations: 0 / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.3357, allocations: 0 / 1.333 GB, free: 10.16 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.0005917/0.3363, allocations: 472 kB / 1.334 GB, free: 9.668 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.3364, allocations: 11.98 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.792e-05/0.3364, allocations: 106 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.275e-05/0.3365, allocations: 84.17 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.3366, allocations: 185.8 kB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.908e-05/0.3367, allocations: 158.9 kB / 1.334 GB, free: 9.098 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-05/0.3368, allocations: 150.9 kB / 1.334 GB, free: 8.949 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.817e-05/0.3369, allocations: 112.9 kB / 1.335 GB, free: 8.832 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.437e-05/0.3369, allocations: 75.28 kB / 1.335 GB, free: 8.758 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.559e-05/0.337, allocations: 154.6 kB / 1.335 GB, free: 8.605 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.648e-05/0.337, allocations: 154.6 kB / 1.335 GB, free: 8.453 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.064e-05/0.3371, allocations: 150.6 kB / 1.335 GB, free: 8.305 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003196/0.3374, allocations: 436.9 kB / 1.335 GB, free: 7.836 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.3375, allocations: 173.1 kB / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.123e-05/0.3376, allocations: 80.14 kB / 1.336 GB, free: 7.574 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.083e-05/0.3376, allocations: 83.22 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.323e-05/0.3377, allocations: 105.8 kB / 1.336 GB, free: 7.379 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3377, allocations: 4 kB / 1.336 GB, free: 7.375 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.437e-05/0.3377, allocations: 37.59 kB / 1.336 GB, free: 7.332 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/0.3378, allocations: 134.6 kB / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.3379, allocations: 131.2 kB / 1.336 GB, free: 7.051 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.338, allocations: 25.7 kB / 1.336 GB, free: 7.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.338, allocations: 88.14 kB / 1.336 GB, free: 6.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-06/0.338, allocations: 0 / 1.336 GB, free: 6.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.3381, allocations: 21.77 kB / 1.336 GB, free: 6.902 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3382, allocations: 318.8 kB / 1.337 GB, free: 6.582 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.231e-05/0.3382, allocations: 4 kB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.102e-05/0.3382, allocations: 11.98 kB / 1.337 GB, free: 6.566 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.648e-05/0.3383, allocations: 12.89 kB / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3383, allocations: 0 / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001317/0.3384, allocations: 53.58 kB / 1.337 GB, free: 6.492 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.3384, allocations: 11.94 kB / 1.337 GB, free: 6.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.3384, allocations: 3.938 kB / 1.337 GB, free: 6.477 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.3385, allocations: 4 kB / 1.337 GB, free: 6.473 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.3385, allocations: 0 / 1.337 GB, free: 6.473 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.3385, allocations: 3.984 kB / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.984e-05/0.3385, allocations: 0 / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.3385, allocations: 0 / 1.337 GB, free: 6.469 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.0001106/0.3386, allocations: 193.1 kB / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.979e-05/0.3387, allocations: 112.9 kB / 1.337 GB, free: 6.152 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.175e-05/0.3387, allocations: 112.7 kB / 1.337 GB, free: 6.027 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.148e-05/0.3388, allocations: 180.3 kB / 1.337 GB, free: 5.844 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.341e-05/0.3389, allocations: 176.3 kB / 1.337 GB, free: 5.664 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.441e-05/0.339, allocations: 184.2 kB / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.3392, allocations: 388.2 kB / 1.338 GB, free: 5.047 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.356e-05/0.3392, allocations: 104.9 kB / 1.338 GB, free: 4.938 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/0.3393, allocations: 105 kB / 1.338 GB, free: 4.828 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.358e-05/0.3394, allocations: 176.3 kB / 1.338 GB, free: 4.648 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.319e-05/0.3394, allocations: 188.2 kB / 1.339 GB, free: 4.457 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.226e-05/0.3395, allocations: 180.3 kB / 1.339 GB, free: 4.273 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.506e-05/0.3396, allocations: 184.2 kB / 1.339 GB, free: 4.086 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.3397, allocations: 311.7 kB / 1.339 GB, free: 3.758 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/0.3398, allocations: 112.9 kB / 1.339 GB, free: 3.641 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.748e-05/0.3399, allocations: 184.3 kB / 1.339 GB, free: 3.453 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.422e-05/0.34, allocations: 108.9 kB / 1.34 GB, free: 3.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.35e-05/0.3401, allocations: 180.3 kB / 1.34 GB, free: 3.156 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.49e-05/0.3401, allocations: 109 kB / 1.34 GB, free: 3.043 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.641e-05/0.3402, allocations: 96.83 kB / 1.34 GB, free: 2.949 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3402, allocations: 3.938 kB / 1.34 GB, free: 2.945 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008159/0.341, allocations: 299 kB / 1.34 GB, free: 2.652 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.001391/0.3424, allocations: 1.169 MB / 1.341 GB, free: 1.457 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.3425, allocations: 41.69 kB / 1.341 GB, free: 1.41 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3425, allocations: 0 / 1.341 GB, free: 1.41 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.098e-06/0.3425, allocations: 3.938 kB / 1.341 GB, free: 1.406 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.343, allocations: 459.8 kB / 1.342 GB, free: 0.9531 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.3444, allocations: 1.596 MB / 1.343 GB, free: 15.27 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.088e-05/0.3445, allocations: 83.08 kB / 1.343 GB, free: 15.17 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.376e-05/0.3445, allocations: 0 / 1.343 GB, free: 15.17 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.3446, allocations: 15.44 kB / 1.343 GB, free: 15.16 MB / 1.045 GB Notification: Performance of SimCode: time 7.51e-07/0.3446, allocations: 0 / 1.343 GB, free: 15.16 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03848/0.383, allocations: 7.609 MB / 1.351 GB, free: 7.734 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.87, allocations: 12.78 kB / 1.351 GB, free: 7.73 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.63461395725608]