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.001659/0.001659, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002114/0.002114, allocations: 218.8 kB / 22.26 MB, free: 5.125 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.969 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.141/3.141, allocations: 0.49 GB / 0.7951 GB, free: 33.42 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.002009/0.002009, allocations: 62.34 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3331, allocations: 176.1 MB / 1.326 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002626/0.3357, allocations: 1.462 MB / 1.327 GB, free: 456 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004416/0.3402, allocations: 2.969 MB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.199e-05/0.3402, allocations: 0 / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.213e-05/0.3402, allocations: 3.938 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.347e-05/0.3403, allocations: 15.86 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004121/0.3444, allocations: 1.677 MB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.3445, allocations: 31.75 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.77e-05/0.3446, allocations: 15.88 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.103e-05/0.3446, allocations: 15.94 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 2.964e-05/0.3446, allocations: 11.94 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.829e-06/0.3447, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002909/0.3476, allocations: 1.72 MB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.701e-05/0.3476, allocations: 11.94 kB / 1.334 GB, free: 9.969 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.035e-05/0.3476, allocations: 11.88 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001951/0.3496, allocations: 1.126 MB / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.3496, allocations: 0 / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3496, allocations: 0 / 1.335 GB, free: 8.828 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3496, allocations: 0 / 1.335 GB, free: 8.828 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.0006416/0.3502, allocations: 468 kB / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.3503, allocations: 15.98 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.164e-05/0.3503, allocations: 114 kB / 1.335 GB, free: 8.203 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.277e-05/0.3504, allocations: 84.2 kB / 1.335 GB, free: 8.121 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.3506, allocations: 197.7 kB / 1.336 GB, free: 7.902 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.366e-05/0.3506, allocations: 154.9 kB / 1.336 GB, free: 7.75 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.089e-05/0.3507, allocations: 154.9 kB / 1.336 GB, free: 7.598 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.278e-05/0.3508, allocations: 108.9 kB / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.496e-05/0.3508, allocations: 75.28 kB / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.781e-05/0.3509, allocations: 154.5 kB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.333e-05/0.351, allocations: 150.6 kB / 1.336 GB, free: 7.109 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.075e-05/0.351, allocations: 150.6 kB / 1.337 GB, free: 6.961 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.3514, allocations: 440.9 kB / 1.337 GB, free: 6.488 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.99e-05/0.3515, allocations: 173.1 kB / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.849e-05/0.3515, allocations: 80.14 kB / 1.337 GB, free: 6.227 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.27e-05/0.3516, allocations: 83.16 kB / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.419e-05/0.3516, allocations: 109.8 kB / 1.337 GB, free: 6.027 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3516, allocations: 7.938 kB / 1.337 GB, free: 6.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.93e-05/0.3517, allocations: 29.7 kB / 1.337 GB, free: 5.984 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/0.3518, allocations: 126.7 kB / 1.338 GB, free: 5.848 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.3519, allocations: 135 kB / 1.338 GB, free: 5.707 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.3519, allocations: 25.7 kB / 1.338 GB, free: 5.676 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.139e-05/0.352, allocations: 88.19 kB / 1.338 GB, free: 5.586 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.352, allocations: 0 / 1.338 GB, free: 5.586 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.195e-05/0.3521, allocations: 25.7 kB / 1.338 GB, free: 5.555 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3522, allocations: 314.8 kB / 1.338 GB, free: 5.238 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.445e-05/0.3522, allocations: 8 kB / 1.338 GB, free: 5.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.031e-05/0.3522, allocations: 7.938 kB / 1.338 GB, free: 5.223 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.766e-05/0.3523, allocations: 12.84 kB / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3523, allocations: 0 / 1.338 GB, free: 5.207 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001435/0.3524, allocations: 53.59 kB / 1.338 GB, free: 5.148 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3524, allocations: 4 kB / 1.338 GB, free: 5.145 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/0.3525, allocations: 4 kB / 1.338 GB, free: 5.141 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.3525, allocations: 0 / 1.338 GB, free: 5.141 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.3525, allocations: 4.062 kB / 1.338 GB, free: 5.137 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.3525, allocations: 3.984 kB / 1.338 GB, free: 5.133 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.089e-05/0.3525, allocations: 0 / 1.338 GB, free: 5.133 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.3525, allocations: 4 kB / 1.338 GB, free: 5.129 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.0001197/0.3526, allocations: 185.1 kB / 1.338 GB, free: 4.938 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.649e-05/0.3527, allocations: 116.8 kB / 1.339 GB, free: 4.816 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.027e-05/0.3528, allocations: 104.8 kB / 1.339 GB, free: 4.699 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.077e-05/0.3529, allocations: 192.2 kB / 1.339 GB, free: 4.504 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.557e-05/0.3529, allocations: 176.3 kB / 1.339 GB, free: 4.324 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.996e-05/0.353, allocations: 176.3 kB / 1.339 GB, free: 4.145 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.3533, allocations: 396.1 kB / 1.34 GB, free: 3.707 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.134e-05/0.3533, allocations: 101 kB / 1.34 GB, free: 3.602 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.372e-05/0.3534, allocations: 108.9 kB / 1.34 GB, free: 3.488 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.043e-05/0.3535, allocations: 180.3 kB / 1.34 GB, free: 3.305 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.3536, allocations: 184.3 kB / 1.34 GB, free: 3.117 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.238e-05/0.3537, allocations: 180.2 kB / 1.34 GB, free: 2.934 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.132e-05/0.3538, allocations: 176.3 kB / 1.34 GB, free: 2.754 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.354, allocations: 323.7 kB / 1.341 GB, free: 2.414 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.923e-05/0.3541, allocations: 112.9 kB / 1.341 GB, free: 2.297 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.3542, allocations: 180.2 kB / 1.341 GB, free: 2.113 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.3543, allocations: 105 kB / 1.341 GB, free: 2.004 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.3544, allocations: 188.2 kB / 1.341 GB, free: 1.812 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.445e-05/0.3544, allocations: 105 kB / 1.341 GB, free: 1.703 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.437e-05/0.3545, allocations: 100.8 kB / 1.341 GB, free: 1.605 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3545, allocations: 0 / 1.341 GB, free: 1.605 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008417/0.3553, allocations: 291 kB / 1.342 GB, free: 1.32 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.001442/0.3568, allocations: 1.183 MB / 1.343 GB, free: 112 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.3569, allocations: 37.7 kB / 1.343 GB, free: 68 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3569, allocations: 0 / 1.343 GB, free: 68 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.485e-06/0.3569, allocations: 0 / 1.343 GB, free: 68 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004581/0.3573, allocations: 465.3 kB / 1.343 GB, free: 15.61 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/0.3589, allocations: 1.59 MB / 1.345 GB, free: 13.93 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.3592, allocations: 0.6845 MB / 1.346 GB, free: 13.22 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.515e-05/0.3592, allocations: 0 / 1.346 GB, free: 13.22 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.3592, allocations: 11.44 kB / 1.346 GB, free: 13.21 MB / 1.045 GB Notification: Performance of SimCode: time 6.32e-07/0.3592, allocations: 0 / 1.346 GB, free: 13.21 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03526/0.3945, allocations: 7.162 MB / 1.353 GB, free: 6.246 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.08, allocations: 4.062 kB / 1.353 GB, free: 6.242 MB / 1.045 GB " [Timeout remaining time 289] (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: 17.8150255569999]