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.001655/0.001655, 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.001855/0.001855, allocations: 222 kB / 23 MB, free: 4.91 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.781/2.781, allocations: 476 MB / 0.7707 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002101/0.002101, allocations: 65.31 kB / 1.118 GB, free: 8.938 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4136, allocations: 170 MB / 1.284 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.0029/0.4165, allocations: 1.445 MB / 1.285 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004721/0.4212, allocations: 2.678 MB / 1.288 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.148e-05/0.4213, allocations: 0 / 1.288 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.909e-05/0.4213, allocations: 7.922 kB / 1.288 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.185e-05/0.4214, allocations: 15.86 kB / 1.288 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004194/0.4256, allocations: 1.629 MB / 1.29 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.4257, allocations: 51.66 kB / 1.29 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.37e-05/0.4257, allocations: 4 kB / 1.29 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.48e-05/0.4257, allocations: 19.92 kB / 1.29 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.077e-05/0.4258, allocations: 11.94 kB / 1.29 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.4258, allocations: 3.938 kB / 1.29 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002366/0.4282, allocations: 1.482 MB / 1.291 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.304e-05/0.4282, allocations: 3.938 kB / 1.291 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.433e-05/0.4282, allocations: 19.88 kB / 1.291 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001682/0.4299, allocations: 1.109 MB / 1.292 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4299, allocations: 0 / 1.292 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4299, allocations: 0 / 1.292 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.4299, allocations: 0 / 1.292 GB, free: 11.18 MB / 0.9981 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.0007263/0.4306, allocations: 480 kB / 1.293 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.4307, allocations: 8.031 kB / 1.293 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.269e-05/0.4307, allocations: 84.17 kB / 1.293 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.4309, allocations: 193.7 kB / 1.293 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.211e-05/0.431, allocations: 150.9 kB / 1.293 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.406e-05/0.431, allocations: 154.9 kB / 1.293 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.338e-05/0.4311, allocations: 105.1 kB / 1.293 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.547e-05/0.4312, allocations: 79.28 kB / 1.293 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.207e-05/0.4312, allocations: 154.5 kB / 1.293 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-05/0.4313, allocations: 150.6 kB / 1.294 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.094e-05/0.4314, allocations: 158.5 kB / 1.294 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/0.4317, allocations: 413.6 kB / 1.294 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.4318, allocations: 173.1 kB / 1.294 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.857e-05/0.4318, allocations: 80.14 kB / 1.294 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.664e-05/0.4319, allocations: 75.28 kB / 1.294 GB, free: 8.656 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.02e-05/0.4319, allocations: 109.8 kB / 1.295 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.4319, allocations: 0 / 1.295 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 9.505e-05/0.432, allocations: 45.53 kB / 1.295 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/0.4321, allocations: 134.7 kB / 1.295 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.4322, allocations: 137.8 kB / 1.295 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.4323, allocations: 25.7 kB / 1.295 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.4323, allocations: 84.14 kB / 1.295 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.558e-06/0.4323, allocations: 4 kB / 1.295 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.4324, allocations: 21.7 kB / 1.295 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.4325, allocations: 314.8 kB / 1.295 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.552e-05/0.4325, allocations: 4 kB / 1.295 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.792e-05/0.4326, allocations: 4 kB / 1.295 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.534e-05/0.4326, allocations: 24.78 kB / 1.295 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4326, allocations: 4.031 kB / 1.295 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000127/0.4327, allocations: 45.66 kB / 1.295 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.4327, allocations: 14.44 kB / 1.295 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/0.4328, allocations: 4 kB / 1.295 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.4328, allocations: 0 / 1.295 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.4328, allocations: 0 / 1.295 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4328, allocations: 0 / 1.295 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.283e-05/0.4328, allocations: 3.953 kB / 1.295 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.4328, allocations: 64 / 1.295 GB, free: 7.625 MB / 0.9981 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.0001182/0.4329, allocations: 193.1 kB / 1.296 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.029e-05/0.433, allocations: 120.9 kB / 1.296 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.728e-05/0.4331, allocations: 104.8 kB / 1.296 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.048e-05/0.4332, allocations: 184.2 kB / 1.296 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.344e-05/0.4332, allocations: 180.2 kB / 1.296 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.36e-05/0.4333, allocations: 180.3 kB / 1.296 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.4336, allocations: 364.8 kB / 1.297 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-05/0.4336, allocations: 105 kB / 1.297 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.934e-05/0.4336, allocations: 104.9 kB / 1.297 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.568e-05/0.4337, allocations: 184.2 kB / 1.297 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.44e-05/0.4338, allocations: 188.2 kB / 1.297 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.818e-05/0.4339, allocations: 180.2 kB / 1.297 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-05/0.434, allocations: 180.3 kB / 1.298 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.4342, allocations: 319.6 kB / 1.298 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.768e-05/0.4342, allocations: 112.9 kB / 1.298 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.4343, allocations: 184.1 kB / 1.298 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/0.4344, allocations: 104.9 kB / 1.298 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.897e-05/0.4345, allocations: 184.2 kB / 1.298 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.235e-05/0.4346, allocations: 105 kB / 1.299 GB, free: 4.23 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.535e-05/0.4346, allocations: 99.27 kB / 1.299 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4346, allocations: 0 / 1.299 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007952/0.4354, allocations: 295 kB / 1.299 GB, free: 3.844 MB / 0.9981 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.001111/0.4365, allocations: 0.5504 MB / 1.299 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001278/0.4367, allocations: 45.62 kB / 1.3 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/0.4367, allocations: 4 kB / 1.3 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.944e-06/0.4367, allocations: 352 / 1.3 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.4371, allocations: 459.8 kB / 1.3 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.4375, allocations: 274 kB / 1.3 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.034e-05/0.4376, allocations: 71.53 kB / 1.3 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.407e-05/0.4376, allocations: 7.438 kB / 1.3 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of SimCode: time 3.01e-07/0.4376, allocations: 0 / 1.3 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of Templates: time 0.008579/0.4462, allocations: 4.95 MB / 1.305 GB, free: 13.43 MB / 1.014 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/jenkins1/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: 12.794055436737835]