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.InternalResistancesOneUTube.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.002505/0.002505, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.003513/0.003513, allocations: 156.5 kB / 23.01 MB, free: 4.605 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.657/1.657, allocations: 177.2 MB / 203.4 MB, free: 9.004 MB / 190.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.798/2.798, allocations: 359.1 MB / 0.6044 GB, free: 14.87 MB / 0.5762 GB " [Timeout remaining time 176] 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [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.002494/0.002494, allocations: 66.23 kB / 0.9516 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4178, allocations: 169.9 MB / 1.118 GB, free: 2.48 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003545/0.4214, allocations: 1.419 MB / 1.119 GB, free: 1.051 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005399/0.4268, allocations: 2.649 MB / 1.122 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.396e-05/0.4268, allocations: 0 / 1.122 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.165e-05/0.4268, allocations: 7.922 kB / 1.122 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.359e-05/0.4269, allocations: 15.86 kB / 1.122 GB, free: 14.36 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004819/0.4317, allocations: 1.621 MB / 1.123 GB, free: 12.76 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.4318, allocations: 39.73 kB / 1.123 GB, free: 12.72 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.017e-05/0.4319, allocations: 8 kB / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.601e-05/0.4319, allocations: 11.94 kB / 1.123 GB, free: 12.7 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.188e-05/0.432, allocations: 23.86 kB / 1.123 GB, free: 12.68 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.432, allocations: 0 / 1.123 GB, free: 12.68 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002904/0.4349, allocations: 1.447 MB / 1.125 GB, free: 11.23 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.4349, allocations: 3.984 kB / 1.125 GB, free: 11.22 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.742e-05/0.4349, allocations: 19.88 kB / 1.125 GB, free: 11.2 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002159/0.4371, allocations: 1.072 MB / 1.126 GB, free: 10.13 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4371, allocations: 0 / 1.126 GB, free: 10.13 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4371, allocations: 4 kB / 1.126 GB, free: 10.12 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.4371, allocations: 0 / 1.126 GB, free: 10.12 MB / 1.076 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.0008251/0.4379, allocations: 468 kB / 1.126 GB, free: 9.637 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.438, allocations: 12.03 kB / 1.126 GB, free: 9.625 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.441e-05/0.4381, allocations: 80.17 kB / 1.126 GB, free: 9.547 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.4382, allocations: 205 kB / 1.126 GB, free: 9.324 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.99e-05/0.4383, allocations: 150.9 kB / 1.127 GB, free: 9.176 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.032e-05/0.4384, allocations: 154.9 kB / 1.127 GB, free: 9.023 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.835e-05/0.4385, allocations: 109 kB / 1.127 GB, free: 8.91 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.844e-05/0.4385, allocations: 83.22 kB / 1.127 GB, free: 8.828 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.647e-05/0.4386, allocations: 154.6 kB / 1.127 GB, free: 8.676 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-05/0.4387, allocations: 154.6 kB / 1.127 GB, free: 8.523 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.803e-05/0.4387, allocations: 150.6 kB / 1.127 GB, free: 8.375 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003355/0.4391, allocations: 409.6 kB / 1.128 GB, free: 7.945 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.4392, allocations: 177.1 kB / 1.128 GB, free: 7.762 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.124e-05/0.4392, allocations: 80.14 kB / 1.128 GB, free: 7.68 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.028e-05/0.4393, allocations: 75.28 kB / 1.128 GB, free: 7.605 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.58e-05/0.4394, allocations: 113.8 kB / 1.128 GB, free: 7.484 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.4394, allocations: 0 / 1.128 GB, free: 7.484 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 9.22e-05/0.4395, allocations: 33.59 kB / 1.128 GB, free: 7.445 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/0.4395, allocations: 130.7 kB / 1.128 GB, free: 7.305 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.4397, allocations: 129.8 kB / 1.128 GB, free: 7.168 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.4397, allocations: 25.7 kB / 1.128 GB, free: 7.137 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.363e-05/0.4398, allocations: 92.12 kB / 1.129 GB, free: 7.043 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.369e-06/0.4398, allocations: 4 kB / 1.129 GB, free: 7.039 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.4398, allocations: 17.66 kB / 1.129 GB, free: 7.016 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.44, allocations: 314.8 kB / 1.129 GB, free: 6.699 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.631e-05/0.44, allocations: 4 kB / 1.129 GB, free: 6.695 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.948e-05/0.44, allocations: 7.984 kB / 1.129 GB, free: 6.688 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.319e-05/0.4401, allocations: 12.86 kB / 1.129 GB, free: 6.672 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4401, allocations: 0 / 1.129 GB, free: 6.672 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001316/0.4402, allocations: 53.66 kB / 1.129 GB, free: 6.613 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.4402, allocations: 11.94 kB / 1.129 GB, free: 6.602 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-05/0.4402, allocations: 7.984 kB / 1.129 GB, free: 6.594 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.4403, allocations: 48 / 1.129 GB, free: 6.594 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.946e-06/0.4403, allocations: 3.984 kB / 1.129 GB, free: 6.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.4403, allocations: 0 / 1.129 GB, free: 6.59 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.225e-05/0.4403, allocations: 3.938 kB / 1.129 GB, free: 6.586 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.4403, allocations: 0 / 1.129 GB, free: 6.586 MB / 1.076 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.0001267/0.4404, allocations: 185.1 kB / 1.129 GB, free: 6.395 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.734e-05/0.4405, allocations: 112.9 kB / 1.129 GB, free: 6.277 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.354e-05/0.4406, allocations: 112.8 kB / 1.129 GB, free: 6.156 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.344e-05/0.4407, allocations: 188.2 kB / 1.13 GB, free: 5.965 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.12e-05/0.4408, allocations: 176.3 kB / 1.13 GB, free: 5.785 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.909e-05/0.4408, allocations: 180.2 kB / 1.13 GB, free: 5.602 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/0.4411, allocations: 364.8 kB / 1.13 GB, free: 5.207 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.564e-05/0.4412, allocations: 109 kB / 1.13 GB, free: 5.094 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.635e-05/0.4412, allocations: 108.9 kB / 1.13 GB, free: 4.98 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-05/0.4413, allocations: 176.3 kB / 1.131 GB, free: 4.801 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.443e-05/0.4414, allocations: 192.2 kB / 1.131 GB, free: 4.605 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.783e-05/0.4415, allocations: 180.3 kB / 1.131 GB, free: 4.422 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-05/0.4416, allocations: 176.3 kB / 1.131 GB, free: 4.242 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.4418, allocations: 319.7 kB / 1.131 GB, free: 3.906 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.394e-05/0.4419, allocations: 112.9 kB / 1.132 GB, free: 3.789 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.442, allocations: 180.2 kB / 1.132 GB, free: 3.605 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.4421, allocations: 109 kB / 1.132 GB, free: 3.492 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.504e-05/0.4422, allocations: 184.2 kB / 1.132 GB, free: 3.305 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.541e-05/0.4422, allocations: 101 kB / 1.132 GB, free: 3.199 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.465e-05/0.4423, allocations: 95.27 kB / 1.132 GB, free: 3.105 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.4423, allocations: 0 / 1.132 GB, free: 3.105 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009783/0.4433, allocations: 291 kB / 1.132 GB, free: 2.82 MB / 1.076 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.001491/0.4448, allocations: 0.5405 MB / 1.133 GB, free: 2.266 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001269/0.4449, allocations: 41.62 kB / 1.133 GB, free: 2.219 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4449, allocations: 0 / 1.133 GB, free: 2.219 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.264e-06/0.4449, allocations: 4 kB / 1.133 GB, free: 2.215 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004807/0.4454, allocations: 462 kB / 1.133 GB, free: 1.762 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.4458, allocations: 244.6 kB / 1.134 GB, free: 1.496 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.12e-05/0.4459, allocations: 67.33 kB / 1.134 GB, free: 1.41 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.416e-05/0.4459, allocations: 0 / 1.134 GB, free: 1.41 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.4459, allocations: 12.5 kB / 1.134 GB, free: 1.398 MB / 1.076 GB Notification: Performance of SimCode: time 5.11e-07/0.4459, allocations: 3.938 kB / 1.134 GB, free: 1.395 MB / 1.076 GB Notification: Performance of Templates: time 0.7064/1.152, allocations: 5.685 MB / 1.139 GB, free: 57.9 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.005051806918345]