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.002232/0.002232, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.003173/0.003173, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.537/1.537, allocations: 230.6 MB / 256 MB, free: 7.793 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.272/3.272, allocations: 0.4892 GB / 0.7943 GB, free: 35.51 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.002171/0.002171, allocations: 68.25 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5087/0.5109, allocations: 176.1 MB / 1.326 GB, free: 1.777 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003/0.5139, allocations: 1.44 MB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004911/0.5188, allocations: 2.646 MB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.623e-05/0.5189, allocations: 4 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.696e-05/0.5189, allocations: 3.938 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.477e-05/0.5189, allocations: 15.84 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004293/0.5232, allocations: 1.609 MB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.828e-05/0.5233, allocations: 39.69 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.766e-05/0.5234, allocations: 7.984 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.111e-05/0.5234, allocations: 15.94 kB / 1.331 GB, free: 11.99 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.211e-05/0.5234, allocations: 11.92 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.5235, allocations: 4 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002506/0.526, allocations: 1.447 MB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.526, allocations: 7.938 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.443e-05/0.526, allocations: 11.94 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00167/0.5277, allocations: 1.075 MB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5277, allocations: 0 / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.354e-06/0.5277, allocations: 0 / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.5277, allocations: 0 / 1.334 GB, free: 9.43 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.0007166/0.5284, allocations: 472 kB / 1.334 GB, free: 8.938 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.5285, allocations: 8.031 kB / 1.334 GB, free: 8.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.043e-05/0.5286, allocations: 88.17 kB / 1.334 GB, free: 8.844 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.5287, allocations: 191.4 kB / 1.334 GB, free: 8.633 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.047e-05/0.5288, allocations: 158.9 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.053e-05/0.5289, allocations: 158.9 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.138e-05/0.529, allocations: 109 kB / 1.335 GB, free: 8.207 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.3e-05/0.5291, allocations: 75.28 kB / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-05/0.5291, allocations: 150.6 kB / 1.335 GB, free: 7.984 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.41e-05/0.5292, allocations: 154.6 kB / 1.335 GB, free: 7.832 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.941e-05/0.5293, allocations: 150.6 kB / 1.335 GB, free: 7.684 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.5297, allocations: 417.5 kB / 1.336 GB, free: 7.246 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.5298, allocations: 169.1 kB / 1.336 GB, free: 7.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.569e-05/0.5299, allocations: 84.14 kB / 1.336 GB, free: 6.984 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.647e-05/0.5299, allocations: 79.28 kB / 1.336 GB, free: 6.906 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.456e-05/0.53, allocations: 109.8 kB / 1.336 GB, free: 6.789 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 4.378e-06/0.53, allocations: 3.984 kB / 1.336 GB, free: 6.785 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001047/0.5301, allocations: 37.59 kB / 1.336 GB, free: 6.742 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.411e-05/0.5301, allocations: 126.7 kB / 1.336 GB, free: 6.605 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.5303, allocations: 127.4 kB / 1.336 GB, free: 6.473 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.5303, allocations: 25.7 kB / 1.337 GB, free: 6.441 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.865e-05/0.5304, allocations: 100.1 kB / 1.337 GB, free: 6.34 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-06/0.5304, allocations: 0 / 1.337 GB, free: 6.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.5304, allocations: 17.66 kB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000172/0.5306, allocations: 326.9 kB / 1.337 GB, free: 5.988 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.5306, allocations: 8 kB / 1.337 GB, free: 5.98 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.713e-05/0.5307, allocations: 4 kB / 1.337 GB, free: 5.977 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.61e-05/0.5307, allocations: 12.86 kB / 1.337 GB, free: 5.961 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.5307, allocations: 0 / 1.337 GB, free: 5.961 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001446/0.5308, allocations: 49.64 kB / 1.337 GB, free: 5.906 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.5309, allocations: 11.94 kB / 1.337 GB, free: 5.895 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.5309, allocations: 0 / 1.337 GB, free: 5.895 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.5309, allocations: 0 / 1.337 GB, free: 5.895 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.5309, allocations: 0 / 1.337 GB, free: 5.895 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.5309, allocations: 4 kB / 1.337 GB, free: 5.891 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.047e-05/0.5309, allocations: 8 kB / 1.337 GB, free: 5.883 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.5309, allocations: 0 / 1.337 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.0001338/0.5311, allocations: 186.9 kB / 1.337 GB, free: 5.691 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.782e-05/0.5311, allocations: 112.9 kB / 1.337 GB, free: 5.574 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.054e-05/0.5312, allocations: 112.8 kB / 1.337 GB, free: 5.449 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001142/0.5313, allocations: 180.2 kB / 1.338 GB, free: 5.266 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.742e-05/0.5314, allocations: 184.2 kB / 1.338 GB, free: 5.078 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.535e-05/0.5315, allocations: 184.2 kB / 1.338 GB, free: 4.891 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/0.5318, allocations: 364.9 kB / 1.338 GB, free: 4.496 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.407e-05/0.5318, allocations: 101 kB / 1.338 GB, free: 4.391 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.342e-05/0.5319, allocations: 112.9 kB / 1.339 GB, free: 4.273 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.416e-05/0.532, allocations: 180.3 kB / 1.339 GB, free: 4.09 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.574e-05/0.5321, allocations: 184.1 kB / 1.339 GB, free: 3.902 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.909e-05/0.5322, allocations: 184.2 kB / 1.339 GB, free: 3.715 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001491/0.5324, allocations: 180.3 kB / 1.339 GB, free: 3.531 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.5325, allocations: 307.7 kB / 1.339 GB, free: 3.207 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.129e-05/0.5326, allocations: 116.9 kB / 1.34 GB, free: 3.086 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.5327, allocations: 188.2 kB / 1.34 GB, free: 2.895 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.725e-05/0.5328, allocations: 101 kB / 1.34 GB, free: 2.789 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.5329, allocations: 180.2 kB / 1.34 GB, free: 2.605 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.202e-05/0.533, allocations: 105 kB / 1.34 GB, free: 2.496 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.747e-05/0.533, allocations: 105.3 kB / 1.34 GB, free: 2.395 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.533, allocations: 0 / 1.34 GB, free: 2.395 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008004/0.5338, allocations: 295 kB / 1.341 GB, free: 2.105 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.001122/0.535, allocations: 0.5245 MB / 1.341 GB, free: 1.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.5351, allocations: 41.64 kB / 1.341 GB, free: 1.523 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5351, allocations: 0 / 1.341 GB, free: 1.523 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.107e-06/0.5351, allocations: 4.062 kB / 1.341 GB, free: 1.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005089/0.5356, allocations: 463.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.0003952/0.536, allocations: 248.8 kB / 1.342 GB, free: 0.7891 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.033e-05/0.5361, allocations: 63.34 kB / 1.342 GB, free: 0.707 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.396e-05/0.5361, allocations: 0 / 1.342 GB, free: 0.707 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.955e-05/0.5361, allocations: 11.44 kB / 1.342 GB, free: 0.6953 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.5361, allocations: 0 / 1.342 GB, free: 0.6953 MB / 1.029 GB Notification: Performance of Templates: time 0.01131/0.5474, allocations: 5.755 MB / 1.347 GB, free: 10.99 MB / 1.045 GB " [Timeout remaining time 299] 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/jenkins/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,Rb,Rgb,Rgg,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x [Calling sys.exit(0), Time elapsed: 9.937727928161621]