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.001266/0.001266, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009362/0.0009362, allocations: 161.4 kB / 23.82 MB, free: 0.75 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.9285/0.9285, allocations: 177.1 MB / 204.2 MB, free: 5.625 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.814/1.814, allocations: 377.8 MB / 0.6236 GB, free: 8.562 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.283e-06/1.283e-06, allocations: 0.5469 kB / 0.8116 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.589e-05, allocations: 2.312 kB / 0.8116 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001647/0.001663, allocations: 1.496 MB / 0.8131 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00288/0.004544, allocations: 2.796 MB / 0.8158 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.913e-05/0.004573, allocations: 0 / 0.8158 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.164e-05/0.004594, allocations: 9.391 kB / 0.8158 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.054e-05/0.004645, allocations: 15.86 kB / 0.8159 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002224/0.006869, allocations: 1.619 MB / 0.8174 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.505e-05/0.006934, allocations: 43.67 kB / 0.8175 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.061e-05/0.006965, allocations: 4 kB / 0.8175 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.655e-05/0.007001, allocations: 27.84 kB / 0.8175 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 1.726e-05/0.007018, allocations: 9.25 kB / 0.8175 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.00703, allocations: 0 / 0.8175 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001336/0.008366, allocations: 1.465 MB / 0.8189 GB, free: 9.059 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.008378, allocations: 3.938 kB / 0.8189 GB, free: 9.055 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.135e-05/0.008399, allocations: 8 kB / 0.819 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.009423, allocations: 1.251 MB / 0.8202 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.009425, allocations: 0 / 0.8202 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.21e-07/0.009426, allocations: 0 / 0.8202 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.009429, allocations: 0 / 0.8202 GB, free: 7.793 MB / 0.7292 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.0003977/0.009827, allocations: 0.5566 MB / 0.8207 GB, free: 7.199 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.00986, allocations: 8.031 kB / 0.8207 GB, free: 7.191 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.429e-05/0.009914, allocations: 128.6 kB / 0.8209 GB, free: 7.066 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.964e-05/0.01001, allocations: 244.8 kB / 0.8211 GB, free: 6.801 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.907e-05/0.01006, allocations: 238.8 kB / 0.8213 GB, free: 6.566 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.117e-05/0.01011, allocations: 242.8 kB / 0.8215 GB, free: 6.328 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.161e-05/0.01017, allocations: 150.5 kB / 0.8217 GB, free: 6.176 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.01019, allocations: 119.4 kB / 0.8218 GB, free: 6.059 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.885e-05/0.01024, allocations: 242.5 kB / 0.822 GB, free: 5.82 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.264e-05/0.01029, allocations: 246.9 kB / 0.8223 GB, free: 5.578 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.312e-05/0.01034, allocations: 239.5 kB / 0.8225 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002228/0.01057, allocations: 0.5875 MB / 0.8231 GB, free: 4.723 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.958e-05/0.01065, allocations: 273.4 kB / 0.8233 GB, free: 4.441 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.974e-05/0.01068, allocations: 127.9 kB / 0.8235 GB, free: 4.312 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.0107, allocations: 119.2 kB / 0.8236 GB, free: 4.195 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/0.01074, allocations: 156.6 kB / 0.8237 GB, free: 4.031 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.01074, allocations: 1.344 kB / 0.8237 GB, free: 4.031 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 5.226e-05/0.01079, allocations: 29.7 kB / 0.8237 GB, free: 3.996 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.01084, allocations: 178.5 kB / 0.8239 GB, free: 3.809 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.01095, allocations: 197.1 kB / 0.8241 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.01096, allocations: 25.7 kB / 0.8241 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.473e-05/0.01101, allocations: 138.9 kB / 0.8243 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.01101, allocations: 0.6562 kB / 0.8243 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.01103, allocations: 23.38 kB / 0.8243 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.01114, allocations: 0.4909 MB / 0.8248 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.01116, allocations: 0 / 0.8248 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.125e-05/0.01117, allocations: 4 kB / 0.8248 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.946e-05/0.0112, allocations: 15.69 kB / 0.8248 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.0112, allocations: 0 / 0.8248 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.831e-05/0.0113, allocations: 45.62 kB / 0.8248 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.01131, allocations: 4 kB / 0.8248 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.01132, allocations: 10.84 kB / 0.8248 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.01133, allocations: 0 / 0.8248 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.407e-06/0.01134, allocations: 3.938 kB / 0.8248 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.01134, allocations: 0 / 0.8248 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.532e-05/0.01136, allocations: 7.953 kB / 0.8248 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.01136, allocations: 0 / 0.8248 GB, free: 2.801 MB / 0.7292 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 8.093e-05/0.01144, allocations: 275.8 kB / 0.8251 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.01149, allocations: 153.8 kB / 0.8253 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.702e-05/0.01154, allocations: 160.6 kB / 0.8254 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.508e-05/0.01159, allocations: 269.2 kB / 0.8257 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.638e-05/0.01165, allocations: 268 kB / 0.8259 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.129e-05/0.01171, allocations: 276 kB / 0.8262 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.01187, allocations: 0.497 MB / 0.8267 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.164e-05/0.0119, allocations: 148.8 kB / 0.8268 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.189e-05/0.01193, allocations: 144.9 kB / 0.827 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.583e-05/0.01199, allocations: 265.5 kB / 0.8272 GB, free: 280 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.016e-05/0.01205, allocations: 272.2 kB / 0.8275 GB, free: 0 / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.376e-05/0.01211, allocations: 276.1 kB / 0.8277 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.328e-05/0.01216, allocations: 268 kB / 0.828 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.01228, allocations: 448.6 kB / 0.8284 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.004e-05/0.01232, allocations: 154.5 kB / 0.8286 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.814e-05/0.01239, allocations: 272.1 kB / 0.8288 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.614e-05/0.01244, allocations: 152.8 kB / 0.829 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.0125, allocations: 272 kB / 0.8292 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.164e-05/0.01253, allocations: 152.8 kB / 0.8294 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.578e-05/0.01258, allocations: 144.1 kB / 0.8295 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01258, allocations: 0 / 0.8295 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004317/0.01301, allocations: 291 kB / 0.8298 GB, free: 13.55 MB / 0.7448 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.0007258/0.01374, allocations: 0.6143 MB / 0.8304 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.968e-05/0.01382, allocations: 45.39 kB / 0.8304 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01382, allocations: 0 / 0.8304 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.01382, allocations: 0 / 0.8304 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.01414, allocations: 0.7139 MB / 0.8311 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000254/0.01439, allocations: 281.2 kB / 0.8314 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.103e-05/0.01442, allocations: 63.41 kB / 0.8315 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.648e-06/0.01443, allocations: 0 / 0.8315 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.307e-05/0.01445, allocations: 12.5 kB / 0.8315 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.01445, allocations: 0 / 0.8315 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of Templates: time 0.006556/0.021, allocations: 5.809 MB / 0.8371 GB, free: 6 MB / 0.7448 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.952974874060601]