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.001337/0.001337, allocations: 71.75 kB / 20.97 MB, free: 3.566 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.001444/0.001444, allocations: 169 kB / 24.28 MB, free: 268 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.9052/0.9052, allocations: 177.1 MB / 204.6 MB, free: 5.656 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.821/1.821, allocations: 377.8 MB / 0.6239 GB, free: 8.57 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 6.201e-06/6.201e-06, allocations: 8.922 kB / 0.8116 GB, free: 1.965 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/3.212e-05, allocations: 6.281 kB / 0.8116 GB, free: 1.961 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001927/0.001959, allocations: 1.483 MB / 0.8131 GB, free: 496 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00309/0.005048, allocations: 2.788 MB / 0.8158 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.569e-05/0.005084, allocations: 0 / 0.8158 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.05e-05/0.005105, allocations: 3.938 kB / 0.8158 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 5.353e-05/0.005158, allocations: 12.62 kB / 0.8158 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002636/0.007795, allocations: 1.624 MB / 0.8174 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 7.456e-05/0.007869, allocations: 47.66 kB / 0.8174 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.308e-05/0.007902, allocations: 5.562 kB / 0.8175 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.413e-05/0.007936, allocations: 15.98 kB / 0.8175 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 2.238e-05/0.007959, allocations: 11.92 kB / 0.8175 GB, free: 12 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.007972, allocations: 4 kB / 0.8175 GB, free: 12 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.009407, allocations: 1.455 MB / 0.8189 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.009419, allocations: 5 kB / 0.8189 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.009445, allocations: 15.98 kB / 0.8189 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001139/0.01058, allocations: 1.243 MB / 0.8201 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.01059, allocations: 1.094 kB / 0.8201 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.61e-07/0.01059, allocations: 3.938 kB / 0.8201 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.01059, allocations: 0 / 0.8201 GB, free: 9.27 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.0004449/0.01104, allocations: 0.5581 MB / 0.8207 GB, free: 8.676 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.01107, allocations: 8.031 kB / 0.8207 GB, free: 8.668 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.611e-05/0.01113, allocations: 128.1 kB / 0.8208 GB, free: 8.543 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.01124, allocations: 236.9 kB / 0.821 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.239e-05/0.01129, allocations: 238.8 kB / 0.8213 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.205e-05/0.01135, allocations: 242.8 kB / 0.8215 GB, free: 7.812 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.931e-05/0.01141, allocations: 157.9 kB / 0.8217 GB, free: 7.652 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.01143, allocations: 124.5 kB / 0.8218 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.936e-05/0.01149, allocations: 242.5 kB / 0.822 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.569e-05/0.01155, allocations: 238.4 kB / 0.8222 GB, free: 7.059 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.849e-05/0.01161, allocations: 243.4 kB / 0.8225 GB, free: 6.82 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002333/0.01184, allocations: 0.5798 MB / 0.823 GB, free: 6.207 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.0122, allocations: 265.4 kB / 0.8233 GB, free: 5.934 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.509e-05/0.01223, allocations: 136.2 kB / 0.8234 GB, free: 5.797 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.01226, allocations: 119.2 kB / 0.8235 GB, free: 5.68 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.0123, allocations: 156.6 kB / 0.8237 GB, free: 5.516 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.0123, allocations: 1.094 kB / 0.8237 GB, free: 5.516 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.944e-05/0.01236, allocations: 37.64 kB / 0.8237 GB, free: 5.473 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.01241, allocations: 178.5 kB / 0.8239 GB, free: 5.285 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.01253, allocations: 190.5 kB / 0.8241 GB, free: 5.082 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.01254, allocations: 25.7 kB / 0.8241 GB, free: 5.051 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.01259, allocations: 141.3 kB / 0.8242 GB, free: 4.91 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-06/0.01259, allocations: 0 / 0.8242 GB, free: 4.91 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.01263, allocations: 23.36 kB / 0.8242 GB, free: 4.879 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.01273, allocations: 496.1 kB / 0.8247 GB, free: 4.383 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/0.01275, allocations: 4 kB / 0.8247 GB, free: 4.379 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.072e-05/0.01276, allocations: 4 kB / 0.8247 GB, free: 4.375 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.163e-05/0.01279, allocations: 18.64 kB / 0.8247 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.01279, allocations: 0 / 0.8247 GB, free: 4.355 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001079/0.0129, allocations: 45.66 kB / 0.8248 GB, free: 4.305 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.01291, allocations: 4 kB / 0.8248 GB, free: 4.301 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.815e-05/0.01293, allocations: 4 kB / 0.8248 GB, free: 4.297 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.01294, allocations: 3.938 kB / 0.8248 GB, free: 4.293 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.675e-06/0.01295, allocations: 7.922 kB / 0.8248 GB, free: 4.285 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.01295, allocations: 0 / 0.8248 GB, free: 4.285 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.397e-05/0.01297, allocations: 5.125 kB / 0.8248 GB, free: 4.281 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.01297, allocations: 4 kB / 0.8248 GB, free: 4.277 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 8.095e-05/0.01305, allocations: 271.8 kB / 0.8251 GB, free: 4 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.0131, allocations: 159.8 kB / 0.8252 GB, free: 3.84 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.103e-05/0.01314, allocations: 156.6 kB / 0.8254 GB, free: 3.684 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-05/0.01319, allocations: 272.1 kB / 0.8256 GB, free: 3.41 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.529e-05/0.01325, allocations: 268 kB / 0.8259 GB, free: 3.141 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-05/0.0133, allocations: 272 kB / 0.8261 GB, free: 2.867 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.01345, allocations: 499.9 kB / 0.8266 GB, free: 2.336 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.345e-05/0.01349, allocations: 152.8 kB / 0.8268 GB, free: 2.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.18e-05/0.01352, allocations: 152.9 kB / 0.8269 GB, free: 2.023 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.252e-05/0.01357, allocations: 265 kB / 0.8272 GB, free: 1.758 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.909e-05/0.01363, allocations: 276 kB / 0.8274 GB, free: 1.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.298e-05/0.01368, allocations: 265.7 kB / 0.8277 GB, free: 1.215 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.559e-05/0.01374, allocations: 268 kB / 0.8279 GB, free: 0.9453 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.01386, allocations: 452 kB / 0.8284 GB, free: 488 kB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-05/0.0139, allocations: 156.8 kB / 0.8285 GB, free: 324 kB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.69e-05/0.01395, allocations: 268.1 kB / 0.8288 GB, free: 48 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.387e-05/0.01402, allocations: 148.8 kB / 0.8289 GB, free: 15.89 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.01408, allocations: 276 kB / 0.8292 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.01411, allocations: 152.9 kB / 0.8293 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 4.772e-05/0.01416, allocations: 148.5 kB / 0.8295 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.01416, allocations: 0 / 0.8295 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.000428/0.01459, allocations: 291 kB / 0.8297 GB, free: 15.03 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.0007247/0.01531, allocations: 0.6182 MB / 0.8304 GB, free: 14.4 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0003487/0.01566, allocations: 41.38 kB / 0.8304 GB, free: 14.35 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.01566, allocations: 8 kB / 0.8304 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.01566, allocations: 0 / 0.8304 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.01598, allocations: 0.7023 MB / 0.8311 GB, free: 13.63 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002479/0.01623, allocations: 281.2 kB / 0.8314 GB, free: 13.33 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.897e-05/0.01626, allocations: 59.36 kB / 0.8314 GB, free: 13.25 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 1.071e-05/0.01627, allocations: 0 / 0.8314 GB, free: 13.25 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.25e-05/0.01628, allocations: 8.5 kB / 0.8314 GB, free: 13.24 MB / 0.7917 GB Notification: Performance of SimCode: time 7.31e-07/0.01628, allocations: 0 / 0.8314 GB, free: 13.24 MB / 0.7917 GB Notification: Performance of Templates: time 0.006712/0.02299, allocations: 5.813 MB / 0.8371 GB, free: 7.488 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: 5.028337784809992]