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.InternalResistancesTwoUTube.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.0009646/0.0009646, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001015/0.001015, allocations: 161 kB / 23.82 MB, free: 0.7461 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.8879/0.8879, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.811/1.811, allocations: 377.8 MB / 0.6236 GB, free: 8.551 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.8116 GB, free: 1.66 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.662e-05/1.803e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.652 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001675/0.001693, allocations: 1.504 MB / 0.8131 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003021/0.004714, allocations: 2.835 MB / 0.8159 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.876e-05/0.004743, allocations: 0.9688 kB / 0.8159 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.188e-05/0.004765, allocations: 7.922 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.762e-05/0.004813, allocations: 16.55 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00224/0.007052, allocations: 1.652 MB / 0.8175 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.775e-05/0.00712, allocations: 43.67 kB / 0.8176 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.156e-05/0.007151, allocations: 12.78 kB / 0.8176 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.381e-05/0.007185, allocations: 15.98 kB / 0.8176 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 1.987e-05/0.007205, allocations: 17.28 kB / 0.8176 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.007217, allocations: 3.984 kB / 0.8176 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.008583, allocations: 1.49 MB / 0.8191 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.008594, allocations: 4 kB / 0.8191 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.008617, allocations: 17.86 kB / 0.8191 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001054/0.009672, allocations: 1.266 MB / 0.8203 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.009674, allocations: 4 kB / 0.8203 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.51e-07/0.009674, allocations: 0 / 0.8203 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.009678, allocations: 0 / 0.8203 GB, free: 8.789 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.0004043/0.01008, allocations: 0.5694 MB / 0.8209 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.01011, allocations: 8.031 kB / 0.8209 GB, free: 8.176 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.233e-05/0.01017, allocations: 131.5 kB / 0.821 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.752e-05/0.01026, allocations: 235.7 kB / 0.8212 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.953e-05/0.01031, allocations: 242.8 kB / 0.8215 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.037e-05/0.01036, allocations: 238.8 kB / 0.8217 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.189e-05/0.01042, allocations: 145.5 kB / 0.8218 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.01045, allocations: 119.4 kB / 0.8219 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002122/0.01066, allocations: 246.5 kB / 0.8222 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.564e-05/0.0107, allocations: 242.4 kB / 0.8224 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.698e-05/0.01075, allocations: 246.3 kB / 0.8226 GB, free: 6.332 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002032/0.01095, allocations: 0.5803 MB / 0.8232 GB, free: 5.719 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.554e-05/0.01103, allocations: 269.4 kB / 0.8235 GB, free: 5.441 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.092e-05/0.01106, allocations: 131.4 kB / 0.8236 GB, free: 5.309 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.01108, allocations: 119.9 kB / 0.8237 GB, free: 5.191 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.01112, allocations: 160.5 kB / 0.8239 GB, free: 5.023 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 6.31e-07/0.01112, allocations: 1.219 kB / 0.8239 GB, free: 5.023 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.21e-05/0.01118, allocations: 33.64 kB / 0.8239 GB, free: 4.984 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.742e-05/0.01122, allocations: 178.5 kB / 0.8241 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.01133, allocations: 192.9 kB / 0.8242 GB, free: 4.594 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.198e-06/0.01134, allocations: 25.7 kB / 0.8243 GB, free: 4.562 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.702e-05/0.01139, allocations: 139.4 kB / 0.8244 GB, free: 4.422 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.01139, allocations: 0 / 0.8244 GB, free: 4.422 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.01142, allocations: 24.47 kB / 0.8244 GB, free: 4.391 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.49e-05/0.01151, allocations: 496.1 kB / 0.8249 GB, free: 3.895 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.434e-05/0.01153, allocations: 7.984 kB / 0.8249 GB, free: 3.887 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.055e-05/0.01154, allocations: 4.656 kB / 0.8249 GB, free: 3.883 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.977e-05/0.01157, allocations: 17.44 kB / 0.8249 GB, free: 3.863 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.01157, allocations: 0 / 0.8249 GB, free: 3.863 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.375e-05/0.01166, allocations: 45.66 kB / 0.825 GB, free: 3.812 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.01167, allocations: 8 kB / 0.825 GB, free: 3.805 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/0.01169, allocations: 7.984 kB / 0.825 GB, free: 3.797 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.0117, allocations: 3.438 kB / 0.825 GB, free: 3.797 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.208e-06/0.01171, allocations: 3.938 kB / 0.825 GB, free: 3.793 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.01171, allocations: 0 / 0.825 GB, free: 3.793 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.288e-05/0.01172, allocations: 3.938 kB / 0.825 GB, free: 3.789 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.01173, allocations: 0 / 0.825 GB, free: 3.789 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.06e-05/0.0118, allocations: 275.8 kB / 0.8253 GB, free: 3.508 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.01184, allocations: 160.8 kB / 0.8254 GB, free: 3.344 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.258e-05/0.01188, allocations: 152.7 kB / 0.8256 GB, free: 3.191 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-05/0.01194, allocations: 273 kB / 0.8258 GB, free: 2.918 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.176e-05/0.01199, allocations: 272.1 kB / 0.8261 GB, free: 2.645 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.966e-05/0.01204, allocations: 264.1 kB / 0.8263 GB, free: 2.379 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.01218, allocations: 0.5009 MB / 0.8268 GB, free: 1.836 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-05/0.01221, allocations: 152.9 kB / 0.827 GB, free: 1.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.881e-05/0.01224, allocations: 148.8 kB / 0.8271 GB, free: 1.527 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.986e-05/0.01229, allocations: 269.3 kB / 0.8274 GB, free: 1.258 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.626e-05/0.01235, allocations: 272 kB / 0.8276 GB, free: 0.9844 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-05/0.0124, allocations: 272 kB / 0.8279 GB, free: 0.7109 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.814e-05/0.01245, allocations: 265.2 kB / 0.8281 GB, free: 456 kB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.01256, allocations: 455.8 kB / 0.8286 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 3.339e-05/0.0126, allocations: 152.8 kB / 0.8287 GB, free: 15.82 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.111e-05/0.01266, allocations: 273.2 kB / 0.829 GB, free: 15.54 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.195e-05/0.01271, allocations: 148.9 kB / 0.8291 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/0.01289, allocations: 280 kB / 0.8294 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.01292, allocations: 145.4 kB / 0.8295 GB, free: 14.96 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 4.507e-05/0.01296, allocations: 144.3 kB / 0.8297 GB, free: 14.82 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.01296, allocations: 0 / 0.8297 GB, free: 14.82 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004233/0.01339, allocations: 299 kB / 0.8299 GB, free: 14.53 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.0007246/0.01411, allocations: 0.6355 MB / 0.8306 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 7.825e-05/0.01419, allocations: 49.31 kB / 0.8306 GB, free: 13.83 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.01419, allocations: 0 / 0.8306 GB, free: 13.83 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 3.055e-06/0.01419, allocations: 4 kB / 0.8306 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.0145, allocations: 0.7062 MB / 0.8313 GB, free: 13.11 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000242/0.01474, allocations: 285.2 kB / 0.8316 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.983e-05/0.01477, allocations: 59.22 kB / 0.8316 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 9.738e-06/0.01478, allocations: 0 / 0.8316 GB, free: 12.73 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.181e-05/0.01479, allocations: 8.5 kB / 0.8316 GB, free: 12.72 MB / 0.7917 GB Notification: Performance of SimCode: time 5.41e-07/0.01479, allocations: 4 kB / 0.8316 GB, free: 12.71 MB / 0.7917 GB Notification: Performance of Templates: time 0.006722/0.02151, allocations: 5.979 MB / 0.8375 GB, free: 6.793 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.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.985115438699722]