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.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.0007608/0.0007608, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001047/0.001807, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007024/0.0007024, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001191/0.001894, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.8723/0.8723, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08456/0.9569, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.21/2.21, allocations: 447.1 MB / 0.675 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2132/2.423, allocations: 146 MB / 0.8176 GB, free: 3.812 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.819 GB, free: 2.426 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056e-05/1.188e-05, allocations: 2.312 kB / 0.819 GB, free: 2.422 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002266/0.002278, allocations: 1.552 MB / 0.8205 GB, free: 0.8516 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.004153/0.006431, allocations: 2.839 MB / 0.8233 GB, free: 14 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.006458, allocations: 0 / 0.8233 GB, free: 14 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.361e-05/0.006471, allocations: 7.922 kB / 0.8233 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.498e-05/0.006516, allocations: 19.86 kB / 0.8233 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003088/0.009604, allocations: 1.541 MB / 0.8248 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.079e-05/0.009685, allocations: 47.69 kB / 0.8249 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.291e-05/0.009718, allocations: 7.938 kB / 0.8249 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.18e-05/0.009779, allocations: 27.95 kB / 0.8249 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.906e-05/0.009808, allocations: 15.94 kB / 0.8249 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.009821, allocations: 4 kB / 0.8249 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002212/0.01203, allocations: 1.552 MB / 0.8264 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.773e-05/0.01205, allocations: 3.938 kB / 0.8264 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.983e-05/0.01207, allocations: 8 kB / 0.8264 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.01341, allocations: 1.06 MB / 0.8275 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.173e-05/0.01343, allocations: 4 kB / 0.8275 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.61e-07/0.01343, allocations: 0 / 0.8275 GB, free: 9.695 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.01344, allocations: 0 / 0.8275 GB, free: 9.695 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.0005958/0.01404, allocations: 0.5295 MB / 0.828 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.01407, allocations: 8.031 kB / 0.828 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.983e-05/0.01412, allocations: 76.22 kB / 0.8281 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.01425, allocations: 207.1 kB / 0.8283 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.197e-05/0.0143, allocations: 150.9 kB / 0.8284 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.495e-05/0.01435, allocations: 162.9 kB / 0.8286 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.757e-05/0.01441, allocations: 101.5 kB / 0.8287 GB, free: 8.418 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.01444, allocations: 79.47 kB / 0.8287 GB, free: 8.34 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.447e-05/0.01448, allocations: 154.7 kB / 0.8289 GB, free: 8.188 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.831e-05/0.01453, allocations: 154.6 kB / 0.829 GB, free: 8.035 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.268e-05/0.01457, allocations: 154.5 kB / 0.8292 GB, free: 7.883 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002075/0.01478, allocations: 353.3 kB / 0.8295 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.769e-05/0.01486, allocations: 169.1 kB / 0.8297 GB, free: 7.348 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.65e-05/0.01488, allocations: 84.14 kB / 0.8298 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.01491, allocations: 75.28 kB / 0.8298 GB, free: 7.188 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.4e-05/0.01495, allocations: 109.8 kB / 0.8299 GB, free: 7.07 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.01495, allocations: 0 / 0.8299 GB, free: 7.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.987e-05/0.01502, allocations: 33.69 kB / 0.83 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.01507, allocations: 134.6 kB / 0.8301 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.01518, allocations: 138.6 kB / 0.8302 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.918e-06/0.01519, allocations: 29.64 kB / 0.8303 GB, free: 6.703 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.01523, allocations: 92.08 kB / 0.8303 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-06/0.01523, allocations: 0 / 0.8303 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.01527, allocations: 17.7 kB / 0.8304 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.734e-05/0.01535, allocations: 318.8 kB / 0.8307 GB, free: 6.266 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.01537, allocations: 0 / 0.8307 GB, free: 6.266 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.003e-05/0.01538, allocations: 4 kB / 0.8307 GB, free: 6.262 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.262e-05/0.01541, allocations: 16.84 kB / 0.8307 GB, free: 6.242 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01541, allocations: 4.031 kB / 0.8307 GB, free: 6.238 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.894e-05/0.01549, allocations: 37.64 kB / 0.8307 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.01551, allocations: 4 kB / 0.8307 GB, free: 6.191 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.01553, allocations: 4 kB / 0.8307 GB, free: 6.188 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.01554, allocations: 3.984 kB / 0.8307 GB, free: 6.184 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.694e-06/0.01554, allocations: 0 / 0.8307 GB, free: 6.184 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.01554, allocations: 0 / 0.8307 GB, free: 6.184 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.919e-05/0.01557, allocations: 3.938 kB / 0.8307 GB, free: 6.18 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.01558, allocations: 0 / 0.8307 GB, free: 6.18 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.416e-05/0.01565, allocations: 189.1 kB / 0.8309 GB, free: 5.984 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.0157, allocations: 101 kB / 0.831 GB, free: 5.879 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.426e-05/0.01574, allocations: 120.7 kB / 0.8311 GB, free: 5.754 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.813e-05/0.01579, allocations: 180.3 kB / 0.8313 GB, free: 5.57 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.762e-05/0.01584, allocations: 184.3 kB / 0.8315 GB, free: 5.383 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.675e-05/0.01589, allocations: 184.1 kB / 0.8317 GB, free: 5.195 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.01605, allocations: 329.5 kB / 0.832 GB, free: 4.848 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.973e-05/0.01608, allocations: 104.9 kB / 0.8321 GB, free: 4.738 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.951e-05/0.01611, allocations: 101 kB / 0.8322 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.01615, allocations: 112.9 kB / 0.8323 GB, free: 4.516 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.817e-05/0.0162, allocations: 184.4 kB / 0.8325 GB, free: 4.328 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.158e-05/0.01625, allocations: 184.3 kB / 0.8326 GB, free: 4.141 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.781e-05/0.0163, allocations: 184.2 kB / 0.8328 GB, free: 3.953 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-05/0.01635, allocations: 180.3 kB / 0.833 GB, free: 3.77 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.01645, allocations: 307.7 kB / 0.8333 GB, free: 3.445 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.865e-05/0.01651, allocations: 180.3 kB / 0.8334 GB, free: 3.262 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.105e-05/0.01658, allocations: 104.9 kB / 0.8335 GB, free: 3.152 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.171e-05/0.01663, allocations: 184.2 kB / 0.8337 GB, free: 2.965 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.02e-05/0.01666, allocations: 108.9 kB / 0.8338 GB, free: 2.852 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.147e-05/0.0167, allocations: 30.95 kB / 0.8338 GB, free: 2.82 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.1e-08/0.0167, allocations: 0 / 0.8338 GB, free: 2.82 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0006035/0.0173, allocations: 295 kB / 0.8341 GB, free: 2.531 MB / 0.8073 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.0009353/0.01823, allocations: 0.5923 MB / 0.8347 GB, free: 1.934 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.636e-05/0.01832, allocations: 46.42 kB / 0.8348 GB, free: 1.879 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.01832, allocations: 0 / 0.8348 GB, free: 1.879 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.006e-06/0.01833, allocations: 4 kB / 0.8348 GB, free: 1.875 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.01856, allocations: 0.5581 MB / 0.8353 GB, free: 1.289 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005642/0.01913, allocations: 242.8 kB / 0.8355 GB, free: 1.027 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.69e-05/0.01915, allocations: 63.2 kB / 0.8356 GB, free: 0.9453 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 9.919e-06/0.01916, allocations: 0 / 0.8356 GB, free: 0.9453 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.0192, allocations: 55.38 kB / 0.8356 GB, free: 0.8906 MB / 0.8073 GB Notification: Performance of SimCode: time 3.2e-07/0.0192, allocations: 0 / 0.8356 GB, free: 0.8906 MB / 0.8073 GB Notification: Performance of Templates: time 0.007138/0.02634, allocations: 7.24 MB / 0.8427 GB, free: 9.703 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.078079706989229]