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.001716/0.001716, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002163/0.002163, allocations: 222.4 kB / 23 MB, free: 4.914 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.621/1.621, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.317/3.317, allocations: 0.4892 GB / 0.7951 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [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.00206/0.00206, allocations: 72.78 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4228/0.4249, allocations: 176.1 MB / 1.326 GB, free: 1.781 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002934/0.4278, allocations: 1.444 MB / 1.328 GB, free: 340 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004734/0.4326, allocations: 2.638 MB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.572e-05/0.4326, allocations: 0 / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.548e-05/0.4326, allocations: 7.922 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.302e-05/0.4327, allocations: 15.86 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00449/0.4372, allocations: 1.616 MB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.4373, allocations: 39.73 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.581e-05/0.4374, allocations: 4 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.493e-05/0.4374, allocations: 11.94 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.721e-05/0.4374, allocations: 19.86 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.4375, allocations: 0 / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00251/0.44, allocations: 1.458 MB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.44, allocations: 0 / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.579e-05/0.44, allocations: 19.86 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001655/0.4417, allocations: 1.064 MB / 1.335 GB, free: 9.434 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4417, allocations: 0 / 1.335 GB, free: 9.434 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.314e-06/0.4417, allocations: 0 / 1.335 GB, free: 9.434 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.4417, allocations: 0 / 1.335 GB, free: 9.434 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.0006835/0.4424, allocations: 476 kB / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.4424, allocations: 12.03 kB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.46e-05/0.4425, allocations: 84.17 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.4427, allocations: 195.6 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-05/0.4427, allocations: 150.9 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.319e-05/0.4428, allocations: 154.9 kB / 1.336 GB, free: 8.328 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.745e-05/0.4429, allocations: 105.1 kB / 1.336 GB, free: 8.219 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.863e-05/0.4429, allocations: 79.28 kB / 1.336 GB, free: 8.141 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.388e-05/0.443, allocations: 150.6 kB / 1.336 GB, free: 7.992 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-05/0.4431, allocations: 150.6 kB / 1.336 GB, free: 7.844 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.827e-05/0.4432, allocations: 154.6 kB / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.4435, allocations: 413.5 kB / 1.337 GB, free: 7.258 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.4436, allocations: 181 kB / 1.337 GB, free: 7.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.83e-05/0.4436, allocations: 84.14 kB / 1.337 GB, free: 6.984 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.805e-05/0.4437, allocations: 79.22 kB / 1.337 GB, free: 6.906 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.104e-05/0.4437, allocations: 109.8 kB / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.4437, allocations: 0 / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.399e-05/0.4438, allocations: 37.53 kB / 1.337 GB, free: 6.746 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.109e-05/0.4439, allocations: 130.7 kB / 1.337 GB, free: 6.605 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.4441, allocations: 131.4 kB / 1.337 GB, free: 6.469 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.4441, allocations: 25.7 kB / 1.337 GB, free: 6.438 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.894e-05/0.4442, allocations: 92.12 kB / 1.337 GB, free: 6.344 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-06/0.4442, allocations: 3.938 kB / 1.337 GB, free: 6.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.4442, allocations: 21.72 kB / 1.337 GB, free: 6.312 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4443, allocations: 314.9 kB / 1.338 GB, free: 5.996 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.685e-05/0.4444, allocations: 8 kB / 1.338 GB, free: 5.988 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.784e-05/0.4444, allocations: 7.984 kB / 1.338 GB, free: 5.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.357e-05/0.4444, allocations: 12.86 kB / 1.338 GB, free: 5.965 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.4444, allocations: 0 / 1.338 GB, free: 5.965 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001549/0.4446, allocations: 49.59 kB / 1.338 GB, free: 5.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.4446, allocations: 7.938 kB / 1.338 GB, free: 5.902 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.4446, allocations: 7.984 kB / 1.338 GB, free: 5.895 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.4446, allocations: 0 / 1.338 GB, free: 5.895 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.146e-06/0.4447, allocations: 4 kB / 1.338 GB, free: 5.891 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.4447, allocations: 4.062 kB / 1.338 GB, free: 5.887 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.194e-05/0.4447, allocations: 0 / 1.338 GB, free: 5.887 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.4447, allocations: 4 kB / 1.338 GB, free: 5.883 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.0001189/0.4448, allocations: 185.1 kB / 1.338 GB, free: 5.691 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.014e-05/0.4449, allocations: 112.9 kB / 1.338 GB, free: 5.574 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.98e-05/0.445, allocations: 112.7 kB / 1.338 GB, free: 5.449 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.463e-05/0.445, allocations: 180.3 kB / 1.338 GB, free: 5.266 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.948e-05/0.4451, allocations: 176.3 kB / 1.339 GB, free: 5.086 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.649e-05/0.4452, allocations: 188.2 kB / 1.339 GB, free: 4.895 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.4455, allocations: 356.9 kB / 1.339 GB, free: 4.508 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.976e-05/0.4455, allocations: 112.9 kB / 1.339 GB, free: 4.391 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.787e-05/0.4456, allocations: 105 kB / 1.339 GB, free: 4.281 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.799e-05/0.4456, allocations: 176.3 kB / 1.339 GB, free: 4.102 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.094e-05/0.4457, allocations: 192.1 kB / 1.34 GB, free: 3.906 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.963e-05/0.4458, allocations: 176.3 kB / 1.34 GB, free: 3.727 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.791e-05/0.4459, allocations: 180.2 kB / 1.34 GB, free: 3.543 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.4461, allocations: 319.6 kB / 1.34 GB, free: 3.207 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.251e-05/0.4461, allocations: 112.9 kB / 1.34 GB, free: 3.09 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.4462, allocations: 180.2 kB / 1.341 GB, free: 2.906 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.4464, allocations: 108.9 kB / 1.341 GB, free: 2.793 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.192e-05/0.4464, allocations: 184.3 kB / 1.341 GB, free: 2.605 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.775e-05/0.4465, allocations: 104.9 kB / 1.341 GB, free: 2.496 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.343e-05/0.4466, allocations: 100.4 kB / 1.341 GB, free: 2.398 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4466, allocations: 0 / 1.341 GB, free: 2.398 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009/0.4475, allocations: 291 kB / 1.341 GB, free: 2.113 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.001154/0.4486, allocations: 0.5398 MB / 1.342 GB, free: 1.566 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001247/0.4488, allocations: 37.69 kB / 1.342 GB, free: 1.523 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4488, allocations: 4.062 kB / 1.342 GB, free: 1.52 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.953e-06/0.4488, allocations: 3.938 kB / 1.342 GB, free: 1.516 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004715/0.4492, allocations: 461.7 kB / 1.342 GB, free: 1.062 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004098/0.4496, allocations: 266.6 kB / 1.343 GB, free: 0.7656 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.064e-05/0.4497, allocations: 71.33 kB / 1.343 GB, free: 0.6758 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.708e-05/0.4497, allocations: 7.438 kB / 1.343 GB, free: 0.668 MB / 1.029 GB Notification: Performance of SimCode: time 7.81e-07/0.4497, allocations: 4 kB / 1.343 GB, free: 0.6641 MB / 1.029 GB Notification: Performance of Templates: time 0.009261/0.459, allocations: 4.822 MB / 1.347 GB, free: 11.84 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/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] "" [Timeout remaining time 300] "" Variables in the reference:time,Rgb,Rgg,RCondGro,x Variables in the result:RCondGro,Rgb,Rgg,time,x [Calling sys.exit(0), Time elapsed: 13.633004948031157]