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.0009395/0.0009395, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009687/0.0009687, allocations: 181 kB / 23.36 MB, free: 1.133 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.9284/0.9284, allocations: 177.2 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] 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 2.29/2.29, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.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: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.8387 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.298e-06/1.06e-05, allocations: 7.078 kB / 0.8387 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001631/0.001642, allocations: 1.538 MB / 0.8402 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00304/0.004682, allocations: 2.785 MB / 0.843 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.409e-05/0.004706, allocations: 4 kB / 0.843 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.504e-05/0.004721, allocations: 3.938 kB / 0.843 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.735e-05/0.004768, allocations: 19.84 kB / 0.843 GB, free: 9.648 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.006787, allocations: 1.541 MB / 0.8445 GB, free: 8.113 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.106e-05/0.006848, allocations: 39.69 kB / 0.8445 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.818e-05/0.006876, allocations: 7.984 kB / 0.8445 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.21e-05/0.006908, allocations: 15.92 kB / 0.8445 GB, free: 8.051 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 1.623e-05/0.006924, allocations: 8 kB / 0.8446 GB, free: 8.043 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.837e-06/0.006933, allocations: 4 kB / 0.8446 GB, free: 8.039 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.008338, allocations: 1.559 MB / 0.8461 GB, free: 6.477 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.508e-06/0.008347, allocations: 3.938 kB / 0.8461 GB, free: 6.473 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.48e-05/0.008362, allocations: 12 kB / 0.8461 GB, free: 6.461 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0009955/0.009357, allocations: 1.266 MB / 0.8473 GB, free: 5.191 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.009359, allocations: 0 / 0.8473 GB, free: 5.191 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.51e-07/0.00936, allocations: 0 / 0.8473 GB, free: 5.191 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.925e-06/0.009362, allocations: 0 / 0.8473 GB, free: 5.191 MB / 0.8073 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.0003092/0.009672, allocations: 438.4 kB / 0.8477 GB, free: 4.738 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.721e-05/0.009699, allocations: 8.625 kB / 0.8478 GB, free: 4.73 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.009733, allocations: 84.2 kB / 0.8478 GB, free: 4.648 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.31e-05/0.009817, allocations: 193 kB / 0.848 GB, free: 4.434 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.524e-05/0.009852, allocations: 162.9 kB / 0.8482 GB, free: 4.273 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.009883, allocations: 150.9 kB / 0.8483 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.681e-05/0.00992, allocations: 101.5 kB / 0.8484 GB, free: 4.02 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.009938, allocations: 79.41 kB / 0.8485 GB, free: 3.941 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.283e-05/0.009971, allocations: 158.7 kB / 0.8486 GB, free: 3.785 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-05/0.01001, allocations: 150.6 kB / 0.8488 GB, free: 3.637 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/0.01032, allocations: 150.6 kB / 0.8489 GB, free: 3.488 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001332/0.01046, allocations: 357.3 kB / 0.8493 GB, free: 3.125 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.376e-05/0.01051, allocations: 177.1 kB / 0.8494 GB, free: 2.941 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.038e-05/0.01053, allocations: 88.08 kB / 0.8495 GB, free: 2.852 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.01055, allocations: 83.27 kB / 0.8496 GB, free: 2.77 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.01058, allocations: 105.8 kB / 0.8497 GB, free: 2.656 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 5.91e-07/0.01058, allocations: 0 / 0.8497 GB, free: 2.656 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.074e-05/0.01062, allocations: 29.7 kB / 0.8497 GB, free: 2.621 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/0.01065, allocations: 126.7 kB / 0.8499 GB, free: 2.484 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.225e-05/0.01072, allocations: 140.2 kB / 0.85 GB, free: 2.336 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.01073, allocations: 25.7 kB / 0.85 GB, free: 2.305 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.641e-05/0.01076, allocations: 92.11 kB / 0.8501 GB, free: 2.211 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.182e-06/0.01076, allocations: 0 / 0.8501 GB, free: 2.211 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/0.01078, allocations: 13.72 kB / 0.8501 GB, free: 2.191 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.417e-05/0.01084, allocations: 322.8 kB / 0.8504 GB, free: 1.867 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-06/0.01085, allocations: 11.94 kB / 0.8504 GB, free: 1.855 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.901e-06/0.01086, allocations: 0 / 0.8504 GB, free: 1.855 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.29e-05/0.01088, allocations: 8.859 kB / 0.8504 GB, free: 1.844 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.01088, allocations: 0 / 0.8504 GB, free: 1.844 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.696e-05/0.01094, allocations: 37.69 kB / 0.8505 GB, free: 1.801 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.01095, allocations: 8 kB / 0.8505 GB, free: 1.793 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.01096, allocations: 0 / 0.8505 GB, free: 1.793 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.814e-06/0.01097, allocations: 0 / 0.8505 GB, free: 1.793 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.655e-06/0.01097, allocations: 4 kB / 0.8505 GB, free: 1.789 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-06/0.01097, allocations: 3.938 kB / 0.8505 GB, free: 1.785 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.153e-05/0.01098, allocations: 8 kB / 0.8505 GB, free: 1.777 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.01099, allocations: 7.938 kB / 0.8505 GB, free: 1.77 MB / 0.8073 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 5.645e-05/0.01105, allocations: 181.1 kB / 0.8507 GB, free: 1.582 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.01108, allocations: 109 kB / 0.8508 GB, free: 1.469 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.078e-05/0.01111, allocations: 104.8 kB / 0.8509 GB, free: 1.359 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-05/0.01115, allocations: 192.2 kB / 0.8511 GB, free: 1.164 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.409e-05/0.01118, allocations: 176.3 kB / 0.8512 GB, free: 0.9844 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.513e-05/0.01122, allocations: 184.1 kB / 0.8514 GB, free: 0.7969 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.01132, allocations: 325.4 kB / 0.8517 GB, free: 464 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.978e-05/0.01134, allocations: 101 kB / 0.8518 GB, free: 356 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.224e-05/0.01137, allocations: 112.9 kB / 0.8519 GB, free: 236 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-05/0.0114, allocations: 180.3 kB / 0.8521 GB, free: 48 kB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.466e-05/0.01144, allocations: 180.2 kB / 0.8523 GB, free: 15.86 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.515e-05/0.01148, allocations: 184.3 kB / 0.8524 GB, free: 15.68 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.238e-05/0.01151, allocations: 176.3 kB / 0.8526 GB, free: 15.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.909e-05/0.01159, allocations: 311.7 kB / 0.8529 GB, free: 15.17 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.01162, allocations: 112.9 kB / 0.853 GB, free: 15.05 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.023e-05/0.01166, allocations: 180.3 kB / 0.8532 GB, free: 14.87 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.757e-05/0.01171, allocations: 105 kB / 0.8533 GB, free: 14.76 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.01175, allocations: 184.2 kB / 0.8535 GB, free: 14.57 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.01177, allocations: 105 kB / 0.8536 GB, free: 14.46 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.802e-05/0.01178, allocations: 23.5 kB / 0.8536 GB, free: 14.44 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.5e-07/0.01178, allocations: 4 kB / 0.8536 GB, free: 14.43 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000368/0.01215, allocations: 287 kB / 0.8539 GB, free: 14.15 MB / 0.823 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.0006268/0.01278, allocations: 0.5627 MB / 0.8544 GB, free: 13.59 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 5.818e-05/0.01284, allocations: 54.42 kB / 0.8545 GB, free: 13.52 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.01284, allocations: 0 / 0.8545 GB, free: 13.52 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.01284, allocations: 4.062 kB / 0.8545 GB, free: 13.52 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.01304, allocations: 459.7 kB / 0.8549 GB, free: 13.07 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001846/0.01323, allocations: 233.9 kB / 0.8551 GB, free: 12.81 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.623e-05/0.01325, allocations: 59.34 kB / 0.8552 GB, free: 12.73 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 8.305e-06/0.01326, allocations: 0 / 0.8552 GB, free: 12.73 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.0133, allocations: 55.38 kB / 0.8552 GB, free: 12.68 MB / 0.823 GB Notification: Performance of SimCode: time 6.01e-07/0.0133, allocations: 4 kB / 0.8552 GB, free: 12.68 MB / 0.823 GB Notification: Performance of Templates: time 0.007504/0.0208, allocations: 7.134 MB / 0.8622 GB, free: 5.594 MB / 0.823 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] 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","",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.055146700236946]