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.InternalResistancesTwoUTubeNegative.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.001351/0.001351, allocations: 110.4 kB / 18.94 MB, free: 2.953 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.001512/0.001512, allocations: 215 kB / 22.25 MB, free: 5.133 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.434/1.434, allocations: 230.6 MB / 256 MB, free: 8.008 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.068/3.068, allocations: 0.505 GB / 0.8101 GB, free: 22.01 MB / 0.6231 GB " [Timeout remaining time 177] 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.001931/0.001931, allocations: 68.34 kB / 1.177 GB, free: 17.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3291, allocations: 180.2 MB / 1.353 GB, free: 8.398 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003166/0.3323, allocations: 1.476 MB / 1.354 GB, free: 6.914 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00619/0.3385, allocations: 2.993 MB / 1.357 GB, free: 3.906 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.44e-05/0.3385, allocations: 0 / 1.357 GB, free: 3.906 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.74e-05/0.3386, allocations: 3.938 kB / 1.357 GB, free: 3.902 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.987e-05/0.3387, allocations: 19.86 kB / 1.357 GB, free: 3.883 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005894/0.3446, allocations: 1.721 MB / 1.359 GB, free: 2.172 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00018/0.3447, allocations: 39.69 kB / 1.359 GB, free: 2.133 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 7.125e-05/0.3448, allocations: 15.89 kB / 1.359 GB, free: 2.117 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.911e-05/0.3448, allocations: 11.94 kB / 1.359 GB, free: 2.105 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 4.136e-05/0.3449, allocations: 11.94 kB / 1.359 GB, free: 2.094 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.3449, allocations: 0 / 1.359 GB, free: 2.094 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004275/0.3492, allocations: 1.763 MB / 1.361 GB, free: 336 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.221e-05/0.3492, allocations: 15.92 kB / 1.361 GB, free: 320 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.494e-05/0.3493, allocations: 15.88 kB / 1.361 GB, free: 304 kB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002748/0.352, allocations: 1.15 MB / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.352, allocations: 0 / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of FrontEnd: time 4.97e-06/0.352, allocations: 4 kB / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.352, allocations: 0 / 1.362 GB, free: 15.14 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.0008894/0.3529, allocations: 476 kB / 1.362 GB, free: 14.64 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.353, allocations: 8.75 kB / 1.362 GB, free: 14.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.44e-05/0.353, allocations: 106 kB / 1.363 GB, free: 14.52 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.676e-05/0.3531, allocations: 96.17 kB / 1.363 GB, free: 14.43 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.3533, allocations: 189.8 kB / 1.363 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.328e-05/0.3534, allocations: 150.9 kB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.664e-05/0.3535, allocations: 158.9 kB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.973e-05/0.3536, allocations: 108.9 kB / 1.363 GB, free: 13.8 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.843e-05/0.3536, allocations: 75.28 kB / 1.363 GB, free: 13.73 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.109e-05/0.3537, allocations: 154.6 kB / 1.363 GB, free: 13.57 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.742e-05/0.3538, allocations: 154.5 kB / 1.364 GB, free: 13.42 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.867e-05/0.3538, allocations: 150.6 kB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.3542, allocations: 437 kB / 1.364 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.3544, allocations: 181.1 kB / 1.364 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.652e-05/0.3544, allocations: 80.14 kB / 1.364 GB, free: 12.54 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.036e-05/0.3545, allocations: 79.22 kB / 1.364 GB, free: 12.46 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.507e-05/0.3545, allocations: 105.8 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/0.3545, allocations: 0 / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 0.0001075/0.3546, allocations: 33.66 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.753e-05/0.3547, allocations: 134.7 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.3549, allocations: 139.8 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.3549, allocations: 25.7 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.24e-05/0.355, allocations: 100.1 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-06/0.355, allocations: 0 / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.3551, allocations: 13.72 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.3552, allocations: 322.8 kB / 1.365 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.857e-05/0.3553, allocations: 8 kB / 1.365 GB, free: 11.53 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.397e-05/0.3553, allocations: 8 kB / 1.365 GB, free: 11.52 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.672e-05/0.3553, allocations: 8.859 kB / 1.365 GB, free: 11.51 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3553, allocations: 0 / 1.365 GB, free: 11.51 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001746/0.3555, allocations: 53.64 kB / 1.365 GB, free: 11.45 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.3555, allocations: 7.984 kB / 1.365 GB, free: 11.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/0.3556, allocations: 7.938 kB / 1.365 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.3556, allocations: 0 / 1.365 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.3556, allocations: 0 / 1.365 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3556, allocations: 0 / 1.365 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.607e-05/0.3556, allocations: 12.02 kB / 1.365 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.3556, allocations: 0 / 1.365 GB, free: 11.43 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.0001328/0.3558, allocations: 181.1 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.991e-05/0.3559, allocations: 112.9 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.017e-05/0.3559, allocations: 116.7 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-05/0.356, allocations: 180.3 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.546e-05/0.3561, allocations: 180.3 kB / 1.366 GB, free: 10.63 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.591e-05/0.3562, allocations: 180.3 kB / 1.366 GB, free: 10.45 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003408/0.3566, allocations: 392.2 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.412e-05/0.3566, allocations: 104.9 kB / 1.367 GB, free: 9.902 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.346e-05/0.3567, allocations: 112.9 kB / 1.367 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.571e-05/0.3568, allocations: 180.2 kB / 1.367 GB, free: 9.602 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.3569, allocations: 188.1 kB / 1.367 GB, free: 9.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.106e-05/0.357, allocations: 176.3 kB / 1.367 GB, free: 9.23 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.45e-05/0.3571, allocations: 188.2 kB / 1.368 GB, free: 9.039 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.3572, allocations: 303.8 kB / 1.368 GB, free: 8.719 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.21e-05/0.3573, allocations: 120.9 kB / 1.368 GB, free: 8.594 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.3574, allocations: 180.2 kB / 1.368 GB, free: 8.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.3576, allocations: 104.9 kB / 1.368 GB, free: 8.301 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.77e-05/0.3576, allocations: 180.3 kB / 1.368 GB, free: 8.117 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.464e-05/0.3577, allocations: 105 kB / 1.369 GB, free: 8.008 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.893e-05/0.3578, allocations: 97.3 kB / 1.369 GB, free: 7.914 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3578, allocations: 7.938 kB / 1.369 GB, free: 7.906 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001205/0.359, allocations: 295 kB / 1.369 GB, free: 7.617 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.001968/0.361, allocations: 1.195 MB / 1.37 GB, free: 6.395 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000128/0.3611, allocations: 37.7 kB / 1.37 GB, free: 6.352 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3611, allocations: 0 / 1.37 GB, free: 6.352 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.979e-06/0.3611, allocations: 3.938 kB / 1.37 GB, free: 6.348 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005889/0.3617, allocations: 463.7 kB / 1.371 GB, free: 5.891 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.3637, allocations: 1.614 MB / 1.372 GB, free: 4.199 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003783/0.3641, allocations: 0.6845 MB / 1.373 GB, free: 3.488 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.824e-05/0.3641, allocations: 0 / 1.373 GB, free: 3.488 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.836e-05/0.3642, allocations: 23.42 kB / 1.373 GB, free: 3.469 MB / 1.061 GB Notification: Performance of SimCode: time 4.71e-07/0.3642, allocations: 0 / 1.373 GB, free: 3.469 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03838/0.4025, allocations: 7.355 MB / 1.38 GB, free: 12.29 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.93, allocations: 5.266 kB / 1.38 GB, free: 12.29 MB / 1.076 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_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_InternalResistancesTwoUTubeNegative.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative_res.csv. Warning: Get data of variable x from file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.46279633499944]