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.InternalResistancesOneUTubeNegative.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.0009959/0.0009959, allocations: 80.94 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.0009546/0.0009546, allocations: 177 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.9189/0.9189, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.276/2.276, allocations: 438.8 MB / 0.6826 GB, free: 13.64 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.InternalResistancesOneUTubeNegative,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.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,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.InternalResistancesOneUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8387 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.055e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002501/0.002521, allocations: 1.535 MB / 0.8402 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00461/0.007131, allocations: 2.785 MB / 0.8429 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.031e-05/0.007161, allocations: 0 / 0.8429 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.458e-05/0.007186, allocations: 7.922 kB / 0.843 GB, free: 9.742 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.494e-05/0.007251, allocations: 19.8 kB / 0.843 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003347/0.0106, allocations: 1.527 MB / 0.8445 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.444e-05/0.01068, allocations: 43.73 kB / 0.8445 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.401e-05/0.01072, allocations: 3.906 kB / 0.8445 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.072e-05/0.01077, allocations: 19.92 kB / 0.8445 GB, free: 8.133 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.628e-05/0.01079, allocations: 15.98 kB / 0.8445 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.035e-05/0.0108, allocations: 4 kB / 0.8445 GB, free: 8.113 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002278/0.01308, allocations: 1.555 MB / 0.8461 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.01309, allocations: 7.984 kB / 0.8461 GB, free: 6.547 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.029e-05/0.01311, allocations: 11.94 kB / 0.8461 GB, free: 6.535 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.01463, allocations: 1.255 MB / 0.8473 GB, free: 5.277 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.01463, allocations: 0 / 0.8473 GB, free: 5.277 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.072e-06/0.01463, allocations: 0 / 0.8473 GB, free: 5.277 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.397e-06/0.01464, allocations: 0 / 0.8473 GB, free: 5.277 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.0004603/0.0151, allocations: 454.3 kB / 0.8477 GB, free: 4.809 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.01513, allocations: 8.625 kB / 0.8478 GB, free: 4.801 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/0.01518, allocations: 80.22 kB / 0.8478 GB, free: 4.723 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.01529, allocations: 189 kB / 0.848 GB, free: 4.512 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.37e-05/0.01533, allocations: 150.9 kB / 0.8482 GB, free: 4.363 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.32e-05/0.01538, allocations: 154.9 kB / 0.8483 GB, free: 4.211 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.009e-05/0.01543, allocations: 101.5 kB / 0.8484 GB, free: 4.105 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.01545, allocations: 83.45 kB / 0.8485 GB, free: 4.023 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.248e-05/0.01549, allocations: 154.7 kB / 0.8486 GB, free: 3.871 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002834/0.01578, allocations: 158.5 kB / 0.8488 GB, free: 3.715 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.321e-05/0.01582, allocations: 154.5 kB / 0.8489 GB, free: 3.562 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.01601, allocations: 357.3 kB / 0.8493 GB, free: 3.199 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.051e-05/0.01608, allocations: 177.1 kB / 0.8494 GB, free: 3.016 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.275e-05/0.01611, allocations: 80.14 kB / 0.8495 GB, free: 2.934 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.01613, allocations: 79.28 kB / 0.8496 GB, free: 2.855 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.01617, allocations: 109.8 kB / 0.8497 GB, free: 2.738 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.01617, allocations: 0 / 0.8497 GB, free: 2.738 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.198e-05/0.01623, allocations: 33.7 kB / 0.8497 GB, free: 2.699 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.01628, allocations: 130.7 kB / 0.8498 GB, free: 2.559 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.01638, allocations: 138.5 kB / 0.85 GB, free: 2.41 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.01639, allocations: 29.64 kB / 0.85 GB, free: 2.375 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.01642, allocations: 92.12 kB / 0.8501 GB, free: 2.281 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-06/0.01642, allocations: 0 / 0.8501 GB, free: 2.281 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.01645, allocations: 17.72 kB / 0.8501 GB, free: 2.258 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.246e-05/0.01654, allocations: 318.8 kB / 0.8504 GB, free: 1.938 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/0.01655, allocations: 0 / 0.8504 GB, free: 1.938 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.065e-06/0.01656, allocations: 4 kB / 0.8504 GB, free: 1.934 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.936e-05/0.01659, allocations: 12.8 kB / 0.8504 GB, free: 1.918 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.01659, allocations: 0 / 0.8504 GB, free: 1.918 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.479e-05/0.01668, allocations: 37.69 kB / 0.8505 GB, free: 1.875 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.01669, allocations: 4 kB / 0.8505 GB, free: 1.871 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.0167, allocations: 0 / 0.8505 GB, free: 1.871 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.01671, allocations: 4 kB / 0.8505 GB, free: 1.867 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.01672, allocations: 64 / 0.8505 GB, free: 1.867 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.01672, allocations: 4 kB / 0.8505 GB, free: 1.863 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.131e-05/0.01674, allocations: 3.938 kB / 0.8505 GB, free: 1.859 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-06/0.01675, allocations: 0 / 0.8505 GB, free: 1.859 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 7.566e-05/0.01682, allocations: 189.1 kB / 0.8507 GB, free: 1.664 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.991e-05/0.01687, allocations: 104.9 kB / 0.8508 GB, free: 1.555 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.269e-05/0.01691, allocations: 112.8 kB / 0.8509 GB, free: 1.438 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.566e-05/0.01696, allocations: 184.2 kB / 0.851 GB, free: 1.25 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.8e-05/0.01701, allocations: 184.2 kB / 0.8512 GB, free: 1.062 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.71e-05/0.01705, allocations: 184.2 kB / 0.8514 GB, free: 0.875 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.01722, allocations: 325.4 kB / 0.8517 GB, free: 0.5312 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.83e-05/0.01725, allocations: 105 kB / 0.8518 GB, free: 432 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.818e-05/0.01727, allocations: 104.9 kB / 0.8519 GB, free: 320 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.465e-05/0.01732, allocations: 176.3 kB / 0.8521 GB, free: 136 kB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.935e-05/0.01738, allocations: 184.3 kB / 0.8523 GB, free: 15.95 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.571e-05/0.01742, allocations: 184.2 kB / 0.8524 GB, free: 15.76 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.031e-05/0.01747, allocations: 184.2 kB / 0.8526 GB, free: 15.57 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.976e-05/0.01757, allocations: 303.7 kB / 0.8529 GB, free: 15.25 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.818e-05/0.01761, allocations: 112.9 kB / 0.853 GB, free: 15.13 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.451e-05/0.01767, allocations: 180.2 kB / 0.8532 GB, free: 14.95 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.587e-05/0.01774, allocations: 113 kB / 0.8533 GB, free: 14.83 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.936e-05/0.01779, allocations: 184.2 kB / 0.8535 GB, free: 14.64 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.639e-05/0.01782, allocations: 101 kB / 0.8536 GB, free: 14.54 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.896e-05/0.01785, allocations: 31.27 kB / 0.8536 GB, free: 14.51 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.01785, allocations: 0 / 0.8536 GB, free: 14.51 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006011/0.01845, allocations: 291 kB / 0.8539 GB, free: 14.22 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.0009659/0.01941, allocations: 0.5612 MB / 0.8544 GB, free: 13.66 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 8.197e-05/0.0195, allocations: 50.44 kB / 0.8545 GB, free: 13.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.0195, allocations: 3.938 kB / 0.8545 GB, free: 13.59 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.0195, allocations: 0 / 0.8545 GB, free: 13.59 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.01979, allocations: 460.8 kB / 0.8549 GB, free: 13.14 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002537/0.02005, allocations: 231.7 kB / 0.8551 GB, free: 12.89 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.088e-05/0.02009, allocations: 55.34 kB / 0.8552 GB, free: 12.81 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 1.25e-05/0.0201, allocations: 12.09 kB / 0.8552 GB, free: 12.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.012e-05/0.02015, allocations: 51.38 kB / 0.8552 GB, free: 12.75 MB / 0.823 GB Notification: Performance of SimCode: time 7.01e-07/0.02015, allocations: 0 / 0.8552 GB, free: 12.75 MB / 0.823 GB Notification: Performance of Templates: time 0.008268/0.02842, allocations: 7.139 MB / 0.8622 GB, free: 5.672 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.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.095652147196233]