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.001318/0.001318, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001392/0.001392, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.8887/0.8887, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.723/1.723, allocations: 377.9 MB / 0.624 GB, free: 8.371 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.432e-06/1.432e-06, allocations: 0 / 0.8121 GB, free: 1.332 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.322e-05/1.465e-05, allocations: 6.25 kB / 0.8121 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001604/0.001619, allocations: 1.491 MB / 0.8136 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003084/0.004702, allocations: 2.734 MB / 0.8162 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.341e-05/0.004736, allocations: 4 kB / 0.8162 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.043e-05/0.004756, allocations: 7.922 kB / 0.8162 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.114e-05/0.004807, allocations: 15.8 kB / 0.8163 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.006996, allocations: 1.608 MB / 0.8178 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.754e-05/0.007053, allocations: 41.12 kB / 0.8179 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 2.756e-05/0.007081, allocations: 7.984 kB / 0.8179 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.455e-05/0.007115, allocations: 19.98 kB / 0.8179 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 2.448e-05/0.00714, allocations: 11.92 kB / 0.8179 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.00715, allocations: 4.5 kB / 0.8179 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.008478, allocations: 1.455 MB / 0.8193 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.868e-06/0.008488, allocations: 3.938 kB / 0.8193 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.614e-05/0.008504, allocations: 15.67 kB / 0.8193 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.009508, allocations: 1.258 MB / 0.8206 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.00951, allocations: 0 / 0.8206 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.51e-07/0.00951, allocations: 0 / 0.8206 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.885e-06/0.009513, allocations: 0 / 0.8206 GB, free: 8.672 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.000367/0.00988, allocations: 0.5608 MB / 0.8211 GB, free: 8.074 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.009913, allocations: 8.031 kB / 0.8211 GB, free: 8.066 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.009956, allocations: 124.1 kB / 0.8213 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.091e-05/0.01005, allocations: 242.2 kB / 0.8215 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.64e-05/0.0101, allocations: 240.5 kB / 0.8217 GB, free: 7.449 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.01015, allocations: 246.7 kB / 0.8219 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.146e-05/0.0102, allocations: 149.5 kB / 0.8221 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.01023, allocations: 119.4 kB / 0.8222 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.608e-05/0.01028, allocations: 242.5 kB / 0.8224 GB, free: 6.699 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-05/0.01032, allocations: 239.3 kB / 0.8227 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.01053, allocations: 250.4 kB / 0.8229 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001889/0.01071, allocations: 0.553 MB / 0.8234 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.071e-05/0.0108, allocations: 278.5 kB / 0.8237 GB, free: 5.355 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.872e-05/0.01082, allocations: 126.9 kB / 0.8238 GB, free: 5.227 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.01085, allocations: 120.4 kB / 0.8239 GB, free: 5.109 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.0109, allocations: 160.6 kB / 0.8241 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.0109, allocations: 0 / 0.8241 GB, free: 4.941 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 4.519e-05/0.01094, allocations: 34.66 kB / 0.8241 GB, free: 4.902 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.01099, allocations: 174.6 kB / 0.8243 GB, free: 4.719 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.01109, allocations: 185.8 kB / 0.8245 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.0111, allocations: 26.45 kB / 0.8245 GB, free: 4.488 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.139e-05/0.01114, allocations: 142.8 kB / 0.8246 GB, free: 4.344 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.373e-06/0.01114, allocations: 0.5938 kB / 0.8246 GB, free: 4.344 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.498e-05/0.01117, allocations: 27.36 kB / 0.8247 GB, free: 4.309 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.01128, allocations: 0.4894 MB / 0.8251 GB, free: 3.809 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.999e-06/0.01129, allocations: 0 / 0.8251 GB, free: 3.809 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.696e-06/0.0113, allocations: 5.875 kB / 0.8251 GB, free: 3.805 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.668e-05/0.01132, allocations: 15.67 kB / 0.8252 GB, free: 3.785 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.01132, allocations: 0 / 0.8252 GB, free: 3.785 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.215e-05/0.0114, allocations: 49.58 kB / 0.8252 GB, free: 3.73 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.01141, allocations: 4 kB / 0.8252 GB, free: 3.727 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.01142, allocations: 5.344 kB / 0.8252 GB, free: 3.723 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.01143, allocations: 0 / 0.8252 GB, free: 3.723 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.515e-06/0.01143, allocations: 0 / 0.8252 GB, free: 3.723 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.01143, allocations: 3.938 kB / 0.8252 GB, free: 3.719 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.258e-05/0.01145, allocations: 8.875 kB / 0.8252 GB, free: 3.711 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.01145, allocations: 3.938 kB / 0.8252 GB, free: 3.707 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.438e-05/0.01153, allocations: 272.4 kB / 0.8255 GB, free: 3.43 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.01157, allocations: 152.8 kB / 0.8256 GB, free: 3.273 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.905e-05/0.01162, allocations: 167.1 kB / 0.8258 GB, free: 3.109 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.075e-05/0.01167, allocations: 264.1 kB / 0.826 GB, free: 2.844 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.256e-05/0.01172, allocations: 268 kB / 0.8263 GB, free: 2.574 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.364e-05/0.01177, allocations: 272 kB / 0.8266 GB, free: 2.301 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.01192, allocations: 484.5 kB / 0.827 GB, free: 1.793 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.163e-05/0.01195, allocations: 148.8 kB / 0.8272 GB, free: 1.641 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.654e-05/0.01199, allocations: 154.6 kB / 0.8273 GB, free: 1.484 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.289e-05/0.01204, allocations: 272.2 kB / 0.8276 GB, free: 1.211 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.584e-05/0.0121, allocations: 272.1 kB / 0.8278 GB, free: 0.9375 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.377e-05/0.01215, allocations: 268.1 kB / 0.8281 GB, free: 0.668 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.426e-05/0.01221, allocations: 268 kB / 0.8283 GB, free: 408 kB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.01233, allocations: 452.5 kB / 0.8288 GB, free: 15.93 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 4.146e-05/0.01237, allocations: 156.9 kB / 0.8289 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.824e-05/0.01243, allocations: 268.1 kB / 0.8292 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.232e-05/0.01248, allocations: 148.8 kB / 0.8293 GB, free: 15.35 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.01254, allocations: 268.1 kB / 0.8296 GB, free: 15.08 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.01257, allocations: 160.8 kB / 0.8297 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 4.017e-05/0.01261, allocations: 136.6 kB / 0.8299 GB, free: 14.78 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.01261, allocations: 0 / 0.8299 GB, free: 14.78 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0005618/0.01317, allocations: 295 kB / 0.8301 GB, free: 14.49 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.0006481/0.01382, allocations: 0.6225 MB / 0.8308 GB, free: 13.86 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 7.187e-05/0.01389, allocations: 45.38 kB / 0.8308 GB, free: 13.8 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01389, allocations: 0 / 0.8308 GB, free: 13.8 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.01389, allocations: 0 / 0.8308 GB, free: 13.8 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.01419, allocations: 0.7092 MB / 0.8315 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002114/0.0144, allocations: 285.2 kB / 0.8318 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.805e-05/0.01443, allocations: 55.36 kB / 0.8318 GB, free: 12.71 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 8.637e-06/0.01444, allocations: 0 / 0.8318 GB, free: 12.71 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.026e-05/0.01448, allocations: 78.19 kB / 0.8319 GB, free: 12.63 MB / 0.7917 GB Notification: Performance of SimCode: time 4.7e-07/0.01448, allocations: 0 / 0.8319 GB, free: 12.63 MB / 0.7917 GB Notification: Performance of Templates: time 0.007775/0.02225, allocations: 7.168 MB / 0.8389 GB, free: 5.512 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.8347308011725545]