Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001734/0.001734, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00198/0.00198, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.457/3.457, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.003254/0.003254, allocations: 66.81 kB / 1.186 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4349/0.4382, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002965/0.4412, allocations: 1.433 MB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004809/0.446, allocations: 2.643 MB / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.861e-05/0.446, allocations: 0 / 1.368 GB, free: 9.453 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.888e-05/0.446, allocations: 3.938 kB / 1.368 GB, free: 9.449 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.366e-05/0.4461, allocations: 19.84 kB / 1.368 GB, free: 9.43 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004321/0.4504, allocations: 1.614 MB / 1.37 GB, free: 7.832 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.4505, allocations: 47.72 kB / 1.37 GB, free: 7.785 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.4506, allocations: 4 kB / 1.37 GB, free: 7.781 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.896e-05/0.4506, allocations: 11.94 kB / 1.37 GB, free: 7.77 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.306e-05/0.4506, allocations: 15.92 kB / 1.37 GB, free: 7.754 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.4507, allocations: 0 / 1.37 GB, free: 7.754 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002468/0.4531, allocations: 1.451 MB / 1.371 GB, free: 6.301 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.827e-05/0.4531, allocations: 7.938 kB / 1.371 GB, free: 6.293 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.604e-05/0.4532, allocations: 15.92 kB / 1.371 GB, free: 6.277 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.4548, allocations: 1.072 MB / 1.372 GB, free: 5.203 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4548, allocations: 7.984 kB / 1.372 GB, free: 5.195 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4548, allocations: 0 / 1.372 GB, free: 5.195 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.4548, allocations: 0 / 1.372 GB, free: 5.195 MB / 1.061 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.0006348/0.4554, allocations: 472 kB / 1.373 GB, free: 4.703 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.4554, allocations: 12.03 kB / 1.373 GB, free: 4.691 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.4555, allocations: 76.22 kB / 1.373 GB, free: 4.617 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.4557, allocations: 193.8 kB / 1.373 GB, free: 4.402 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.788e-05/0.4557, allocations: 150.9 kB / 1.373 GB, free: 4.254 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.258e-05/0.4558, allocations: 150.9 kB / 1.373 GB, free: 4.105 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.004e-05/0.4559, allocations: 109.1 kB / 1.373 GB, free: 3.992 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.077e-05/0.4559, allocations: 79.28 kB / 1.373 GB, free: 3.914 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.559e-05/0.456, allocations: 154.6 kB / 1.373 GB, free: 3.762 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.012e-05/0.4561, allocations: 154.6 kB / 1.374 GB, free: 3.609 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.619e-05/0.4561, allocations: 154.5 kB / 1.374 GB, free: 3.457 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.4565, allocations: 417.5 kB / 1.374 GB, free: 3.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.4566, allocations: 169.1 kB / 1.374 GB, free: 2.844 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.4566, allocations: 80.14 kB / 1.374 GB, free: 2.762 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.217e-05/0.4566, allocations: 75.28 kB / 1.374 GB, free: 2.688 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.016e-05/0.4567, allocations: 113.8 kB / 1.375 GB, free: 2.566 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.4567, allocations: 0 / 1.375 GB, free: 2.566 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.82e-05/0.4568, allocations: 33.62 kB / 1.375 GB, free: 2.527 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.4569, allocations: 134.7 kB / 1.375 GB, free: 2.383 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.457, allocations: 135.2 kB / 1.375 GB, free: 2.242 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.457, allocations: 25.7 kB / 1.375 GB, free: 2.211 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.4571, allocations: 84.14 kB / 1.375 GB, free: 2.125 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.077e-06/0.4571, allocations: 4 kB / 1.375 GB, free: 2.121 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/0.4571, allocations: 21.7 kB / 1.375 GB, free: 2.094 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4573, allocations: 314.8 kB / 1.375 GB, free: 1.777 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.494e-05/0.4573, allocations: 4 kB / 1.375 GB, free: 1.773 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.645e-05/0.4573, allocations: 7.938 kB / 1.375 GB, free: 1.766 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.797e-05/0.4574, allocations: 20.83 kB / 1.375 GB, free: 1.742 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4574, allocations: 0 / 1.375 GB, free: 1.742 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001335/0.4575, allocations: 49.67 kB / 1.375 GB, free: 1.688 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.4575, allocations: 10.12 kB / 1.375 GB, free: 1.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.4575, allocations: 4 kB / 1.375 GB, free: 1.676 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.4576, allocations: 0 / 1.375 GB, free: 1.676 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.4576, allocations: 0 / 1.375 GB, free: 1.676 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.4576, allocations: 0 / 1.375 GB, free: 1.676 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.486e-05/0.4576, allocations: 7.938 kB / 1.375 GB, free: 1.668 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.4576, allocations: 0 / 1.375 GB, free: 1.668 MB / 1.061 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.0001243/0.4577, allocations: 193.1 kB / 1.376 GB, free: 1.469 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.529e-05/0.4578, allocations: 116.8 kB / 1.376 GB, free: 1.348 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.428e-05/0.4579, allocations: 108.8 kB / 1.376 GB, free: 1.23 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.057e-05/0.4579, allocations: 184.2 kB / 1.376 GB, free: 1.043 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-05/0.458, allocations: 184.2 kB / 1.376 GB, free: 0.8555 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.013e-05/0.4581, allocations: 176.3 kB / 1.376 GB, free: 0.6758 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.4583, allocations: 364.8 kB / 1.377 GB, free: 288 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.853e-05/0.4584, allocations: 105 kB / 1.377 GB, free: 176 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.706e-05/0.4584, allocations: 105 kB / 1.377 GB, free: 64 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000104/0.4585, allocations: 184.2 kB / 1.377 GB, free: 15.88 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-05/0.4586, allocations: 192.2 kB / 1.377 GB, free: 15.68 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.252e-05/0.4587, allocations: 180.2 kB / 1.377 GB, free: 15.5 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.06e-05/0.4588, allocations: 176.3 kB / 1.378 GB, free: 15.32 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.459, allocations: 315.8 kB / 1.378 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.876e-05/0.459, allocations: 108.9 kB / 1.378 GB, free: 14.87 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.891e-05/0.4591, allocations: 188.1 kB / 1.378 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.554e-05/0.4592, allocations: 101 kB / 1.378 GB, free: 14.57 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.65e-05/0.4593, allocations: 188.2 kB / 1.378 GB, free: 14.38 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.882e-05/0.4594, allocations: 101 kB / 1.378 GB, free: 14.28 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.827e-05/0.4594, allocations: 99.27 kB / 1.379 GB, free: 14.18 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4594, allocations: 0 / 1.379 GB, free: 14.18 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008384/0.4603, allocations: 291 kB / 1.379 GB, free: 13.89 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.001061/0.4613, allocations: 0.5349 MB / 1.379 GB, free: 13.35 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001183/0.4615, allocations: 33.7 kB / 1.379 GB, free: 13.31 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.4615, allocations: 0 / 1.379 GB, free: 13.31 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.053e-06/0.4615, allocations: 7.938 kB / 1.379 GB, free: 13.3 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.4619, allocations: 463.7 kB / 1.38 GB, free: 12.85 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003838/0.4623, allocations: 237 kB / 1.38 GB, free: 12.59 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.619e-05/0.4624, allocations: 71.27 kB / 1.38 GB, free: 12.5 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.956e-05/0.4624, allocations: 3.938 kB / 1.38 GB, free: 12.49 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.806e-05/0.4624, allocations: 11.44 kB / 1.38 GB, free: 12.48 MB / 1.076 GB Notification: Performance of SimCode: time 3.41e-07/0.4624, allocations: 0 / 1.38 GB, free: 12.48 MB / 1.076 GB Notification: Performance of Templates: time 0.01089/0.4733, allocations: 5.735 MB / 1.386 GB, free: 6.797 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.071942511945963]