Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000889/0.000889, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000845/0.000845, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8934/0.8934, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.672/1.672, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.9518 GB, free: 2.906 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.778e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.902 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001736/0.001764, allocations: 1.438 MB / 0.9532 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.003072/0.004836, allocations: 2.681 MB / 0.9559 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.713e-05/0.004883, allocations: 0 / 0.9559 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.065e-05/0.004903, allocations: 3.984 kB / 0.9559 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 5.531e-05/0.004959, allocations: 15.8 kB / 0.9559 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002754/0.007712, allocations: 1.66 MB / 0.9575 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 8.247e-05/0.007795, allocations: 43.67 kB / 0.9575 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.007838, allocations: 4 kB / 0.9575 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 3.924e-05/0.007877, allocations: 19.92 kB / 0.9576 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 2.472e-05/0.007902, allocations: 19.92 kB / 0.9576 GB, free: 13 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.007915, allocations: 0 / 0.9576 GB, free: 13 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001598/0.009513, allocations: 1.478 MB / 0.959 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.009528, allocations: 11.92 kB / 0.959 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.009561, allocations: 11.94 kB / 0.959 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.01091, allocations: 1.274 MB / 0.9603 GB, free: 10.22 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.01091, allocations: 3.984 kB / 0.9603 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.52e-07/0.01091, allocations: 0 / 0.9603 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.01092, allocations: 0 / 0.9603 GB, free: 10.21 MB / 0.9167 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.0005024/0.01142, allocations: 472 kB / 0.9607 GB, free: 9.723 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.01145, allocations: 12.03 kB / 0.9608 GB, free: 9.711 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.0115, allocations: 76.22 kB / 0.9608 GB, free: 9.637 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.01161, allocations: 199.1 kB / 0.961 GB, free: 9.418 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.202e-05/0.01165, allocations: 154.9 kB / 0.9612 GB, free: 9.266 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.328e-05/0.01169, allocations: 158.9 kB / 0.9613 GB, free: 9.109 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.484e-05/0.01175, allocations: 105.5 kB / 0.9614 GB, free: 9 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.01177, allocations: 79.47 kB / 0.9615 GB, free: 8.922 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.679e-05/0.01182, allocations: 154.7 kB / 0.9616 GB, free: 8.77 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.74e-05/0.01185, allocations: 150.6 kB / 0.9618 GB, free: 8.621 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.114e-05/0.0119, allocations: 154.5 kB / 0.9619 GB, free: 8.469 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.0121, allocations: 421.5 kB / 0.9623 GB, free: 8.027 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 7.29e-05/0.01218, allocations: 165.1 kB / 0.9625 GB, free: 7.855 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.744e-05/0.0122, allocations: 84.08 kB / 0.9626 GB, free: 7.77 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.01223, allocations: 75.28 kB / 0.9626 GB, free: 7.695 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.01227, allocations: 117.8 kB / 0.9628 GB, free: 7.57 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.01227, allocations: 0 / 0.9628 GB, free: 7.57 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 7.294e-05/0.01235, allocations: 37.64 kB / 0.9628 GB, free: 7.527 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.0124, allocations: 130.6 kB / 0.9629 GB, free: 7.387 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.01253, allocations: 129.8 kB / 0.963 GB, free: 7.25 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.01254, allocations: 29.7 kB / 0.9631 GB, free: 7.215 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.902e-05/0.01259, allocations: 92.12 kB / 0.9632 GB, free: 7.121 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-06/0.01259, allocations: 0 / 0.9632 GB, free: 7.121 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.01262, allocations: 17.72 kB / 0.9632 GB, free: 7.098 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.287e-05/0.01271, allocations: 314.8 kB / 0.9635 GB, free: 6.781 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.852e-05/0.01274, allocations: 11.98 kB / 0.9635 GB, free: 6.77 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.428e-05/0.01276, allocations: 4 kB / 0.9635 GB, free: 6.766 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.896e-05/0.0128, allocations: 20.86 kB / 0.9635 GB, free: 6.742 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.0128, allocations: 4.031 kB / 0.9635 GB, free: 6.738 MB / 0.9167 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001141/0.01291, allocations: 49.66 kB / 0.9636 GB, free: 6.684 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.01293, allocations: 6.812 kB / 0.9636 GB, free: 6.68 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/0.01295, allocations: 7.984 kB / 0.9636 GB, free: 6.672 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.01296, allocations: 3.938 kB / 0.9636 GB, free: 6.668 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/0.01296, allocations: 0 / 0.9636 GB, free: 6.668 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.01297, allocations: 0 / 0.9636 GB, free: 6.668 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.61e-05/0.01298, allocations: 7.938 kB / 0.9636 GB, free: 6.66 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.01299, allocations: 0 / 0.9636 GB, free: 6.66 MB / 0.9167 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 7.992e-05/0.01307, allocations: 185.1 kB / 0.9638 GB, free: 6.469 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.242e-05/0.01311, allocations: 116.8 kB / 0.9639 GB, free: 6.348 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.407e-05/0.01316, allocations: 120.6 kB / 0.964 GB, free: 6.223 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.567e-05/0.0132, allocations: 180.2 kB / 0.9642 GB, free: 6.039 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.824e-05/0.01325, allocations: 184.2 kB / 0.9643 GB, free: 5.852 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-05/0.0133, allocations: 176.3 kB / 0.9645 GB, free: 5.672 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.01344, allocations: 368.8 kB / 0.9649 GB, free: 5.273 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.492e-05/0.01346, allocations: 105 kB / 0.965 GB, free: 5.164 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.522e-05/0.01349, allocations: 101 kB / 0.965 GB, free: 5.059 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-05/0.01353, allocations: 184.2 kB / 0.9652 GB, free: 4.871 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.433e-05/0.01357, allocations: 176.3 kB / 0.9654 GB, free: 4.691 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.57e-05/0.01362, allocations: 188.2 kB / 0.9656 GB, free: 4.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.092e-05/0.01367, allocations: 192.1 kB / 0.9658 GB, free: 4.305 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.01378, allocations: 307.7 kB / 0.966 GB, free: 3.98 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.01382, allocations: 105 kB / 0.9661 GB, free: 3.871 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.445e-05/0.01387, allocations: 184.2 kB / 0.9663 GB, free: 3.684 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.171e-05/0.01392, allocations: 109.3 kB / 0.9664 GB, free: 3.57 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.01397, allocations: 184.1 kB / 0.9666 GB, free: 3.383 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.014, allocations: 109 kB / 0.9667 GB, free: 3.27 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.488e-05/0.01404, allocations: 95.27 kB / 0.9668 GB, free: 3.176 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01404, allocations: 0 / 0.9668 GB, free: 3.176 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005287/0.01457, allocations: 299 kB / 0.9671 GB, free: 2.879 MB / 0.9167 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.0007836/0.01536, allocations: 0.5859 MB / 0.9677 GB, free: 2.285 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.441e-05/0.01545, allocations: 41.69 kB / 0.9677 GB, free: 2.238 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01545, allocations: 0 / 0.9677 GB, free: 2.238 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.294e-06/0.01545, allocations: 3.938 kB / 0.9677 GB, free: 2.234 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.01575, allocations: 471.7 kB / 0.9681 GB, free: 1.77 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.01604, allocations: 255.5 kB / 0.9684 GB, free: 1.488 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.634e-05/0.01609, allocations: 67.33 kB / 0.9685 GB, free: 1.402 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.489e-05/0.01611, allocations: 12.5 kB / 0.9685 GB, free: 1.391 MB / 0.9167 GB Notification: Performance of SimCode: time 8.81e-07/0.01611, allocations: 0 / 0.9685 GB, free: 1.391 MB / 0.9167 GB Notification: Performance of Templates: time 0.006341/0.02245, allocations: 4.989 MB / 0.9733 GB, free: 12.41 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,Rgb,Rgg1,Rgg2,RCondGro,x Variables in the result:RCondGro,Rgb,Rgg1,Rgg2,time,x [Calling sys.exit(0), Time elapsed: 7.280260304920375]