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.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.0009748/0.0009748, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.0008873/0.0008873, allocations: 165 kB / 23.82 MB, free: 0.7422 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.8693/0.8693, allocations: 177.1 MB / 204.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.703/1.703, allocations: 377.9 MB / 0.6236 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.InternalResistancesOneUTube,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.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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 0.8116 GB, free: 1.605 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.786e-05, allocations: 5.266 kB / 0.8116 GB, free: 1.602 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00169/0.001707, allocations: 1.49 MB / 0.8131 GB, free: 124 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003014/0.004721, allocations: 2.804 MB / 0.8158 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.393e-05/0.004765, allocations: 0 / 0.8158 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.183e-05/0.004787, allocations: 5.469 kB / 0.8158 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.58e-05/0.004843, allocations: 19.78 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002752/0.007594, allocations: 1.62 MB / 0.8174 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.246e-05/0.007667, allocations: 47.67 kB / 0.8175 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.071e-05/0.007697, allocations: 0 / 0.8175 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.427e-05/0.007732, allocations: 19.92 kB / 0.8175 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 1.993e-05/0.007751, allocations: 19.42 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.007764, allocations: 3.984 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001472/0.009236, allocations: 1.446 MB / 0.8189 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.009251, allocations: 11.92 kB / 0.819 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.589e-05/0.009277, allocations: 8 kB / 0.819 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.01045, allocations: 1.252 MB / 0.8202 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.01046, allocations: 0 / 0.8202 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.52e-07/0.01046, allocations: 0 / 0.8202 GB, free: 8.887 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.01046, allocations: 0.875 kB / 0.8202 GB, free: 8.887 MB / 0.7761 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.0004085/0.01087, allocations: 0.5609 MB / 0.8207 GB, free: 8.289 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.01091, allocations: 8.531 kB / 0.8207 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.295e-05/0.01096, allocations: 124.1 kB / 0.8209 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.702e-05/0.01106, allocations: 236.3 kB / 0.8211 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.221e-05/0.01111, allocations: 247.3 kB / 0.8213 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.279e-05/0.01116, allocations: 246.7 kB / 0.8216 GB, free: 7.418 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.149e-05/0.01121, allocations: 146.4 kB / 0.8217 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.01124, allocations: 119.4 kB / 0.8218 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.828e-05/0.01129, allocations: 243.6 kB / 0.822 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.177e-05/0.01134, allocations: 242.4 kB / 0.8223 GB, free: 6.676 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.691e-05/0.01139, allocations: 238.4 kB / 0.8225 GB, free: 6.441 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002045/0.01159, allocations: 0.5843 MB / 0.8231 GB, free: 5.824 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.782e-05/0.01167, allocations: 269.4 kB / 0.8233 GB, free: 5.547 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.003e-05/0.0117, allocations: 127.5 kB / 0.8235 GB, free: 5.418 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.01172, allocations: 120.3 kB / 0.8236 GB, free: 5.301 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.01176, allocations: 164.6 kB / 0.8237 GB, free: 5.129 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.01176, allocations: 0 / 0.8237 GB, free: 5.129 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.061e-05/0.01181, allocations: 41.56 kB / 0.8238 GB, free: 5.086 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001851/0.012, allocations: 174.5 kB / 0.8239 GB, free: 4.902 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.0121, allocations: 187.5 kB / 0.8241 GB, free: 4.703 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.564e-06/0.01211, allocations: 25.7 kB / 0.8241 GB, free: 4.672 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/0.01216, allocations: 142.9 kB / 0.8243 GB, free: 4.527 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.01216, allocations: 0 / 0.8243 GB, free: 4.527 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/0.01218, allocations: 19.38 kB / 0.8243 GB, free: 4.5 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.786e-05/0.01228, allocations: 0.4884 MB / 0.8248 GB, free: 4 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.171e-05/0.01229, allocations: 0 / 0.8248 GB, free: 4 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.137e-05/0.0123, allocations: 7.984 kB / 0.8248 GB, free: 3.992 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.947e-05/0.01233, allocations: 11.69 kB / 0.8248 GB, free: 3.977 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.01233, allocations: 0.875 kB / 0.8248 GB, free: 3.977 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.451e-05/0.01243, allocations: 49.59 kB / 0.8248 GB, free: 3.922 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.768e-06/0.01244, allocations: 5.062 kB / 0.8248 GB, free: 3.918 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.01245, allocations: 7.984 kB / 0.8248 GB, free: 3.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.01246, allocations: 3.938 kB / 0.8248 GB, free: 3.906 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.879e-06/0.01247, allocations: 5.031 kB / 0.8249 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.01247, allocations: 0 / 0.8249 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.285e-05/0.01249, allocations: 7.938 kB / 0.8249 GB, free: 3.895 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.01249, allocations: 1.125 kB / 0.8249 GB, free: 3.895 MB / 0.7761 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.541e-05/0.01257, allocations: 271.8 kB / 0.8251 GB, free: 3.617 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.039e-05/0.01261, allocations: 153.8 kB / 0.8253 GB, free: 3.461 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.958e-05/0.01265, allocations: 164.6 kB / 0.8254 GB, free: 3.297 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-05/0.0127, allocations: 268.1 kB / 0.8257 GB, free: 3.027 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-05/0.01275, allocations: 272.5 kB / 0.8259 GB, free: 2.754 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.317e-05/0.0128, allocations: 268.7 kB / 0.8262 GB, free: 2.484 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000145/0.01295, allocations: 0.496 MB / 0.8267 GB, free: 1.945 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.747e-05/0.01297, allocations: 154.4 kB / 0.8268 GB, free: 1.789 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.845e-05/0.013, allocations: 144.9 kB / 0.827 GB, free: 1.641 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.357e-05/0.01306, allocations: 268.2 kB / 0.8272 GB, free: 1.371 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.066e-05/0.01311, allocations: 272.1 kB / 0.8275 GB, free: 1.098 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.841e-05/0.01316, allocations: 264.6 kB / 0.8277 GB, free: 0.832 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.023e-05/0.01321, allocations: 273.6 kB / 0.828 GB, free: 0.5586 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000107/0.01331, allocations: 451.9 kB / 0.8284 GB, free: 92 kB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.01336, allocations: 152.8 kB / 0.8286 GB, free: 15.93 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.672e-05/0.01341, allocations: 264.1 kB / 0.8288 GB, free: 15.67 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.129e-05/0.01347, allocations: 156.8 kB / 0.829 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.01352, allocations: 275.5 kB / 0.8292 GB, free: 15.23 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.01355, allocations: 156.8 kB / 0.8294 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 4.503e-05/0.0136, allocations: 141.5 kB / 0.8295 GB, free: 14.94 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.0136, allocations: 0 / 0.8295 GB, free: 14.94 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0003971/0.01399, allocations: 291 kB / 0.8298 GB, free: 14.65 MB / 0.7917 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.0006861/0.01468, allocations: 0.6127 MB / 0.8304 GB, free: 14.03 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 8.058e-05/0.01476, allocations: 49.39 kB / 0.8304 GB, free: 13.97 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01476, allocations: 0 / 0.8304 GB, free: 13.97 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.01476, allocations: 0 / 0.8304 GB, free: 13.97 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.0152, allocations: 0.71 MB / 0.8311 GB, free: 13.25 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002321/0.01543, allocations: 277.2 kB / 0.8314 GB, free: 12.95 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.925e-05/0.01546, allocations: 59.34 kB / 0.8315 GB, free: 12.88 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 9.227e-06/0.01547, allocations: 4.062 kB / 0.8315 GB, free: 12.87 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.216e-05/0.01548, allocations: 12.5 kB / 0.8315 GB, free: 12.86 MB / 0.7917 GB Notification: Performance of SimCode: time 5.21e-07/0.01548, allocations: 0 / 0.8315 GB, free: 12.86 MB / 0.7917 GB Notification: Performance of Templates: time 0.008267/0.02375, allocations: 7.854 MB / 0.8391 GB, free: 5.055 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.667235100176185]