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.001147/0.001147, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001571/0.002718, allocations: 435.8 kB / 10.33 MB, free: 368 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.001263/0.001263, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001521/0.002784, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9094/0.9094, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08351/0.9929, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.286/2.286, allocations: 446.7 MB / 0.6745 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2468/2.533, allocations: 145.9 MB / 0.817 GB, free: 4.184 MB / 0.7917 GB " [Timeout remaining time 177] 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.723e-06/1.723e-06, allocations: 0 / 0.8184 GB, free: 2.82 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.847e-05, allocations: 6.312 kB / 0.8184 GB, free: 2.812 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001998/0.002026, allocations: 1.546 MB / 0.8199 GB, free: 1.254 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.003279/0.005305, allocations: 2.839 MB / 0.8226 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.792e-05/0.005363, allocations: 8 kB / 0.8226 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.802e-05/0.005381, allocations: 0 / 0.8226 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.149e-05/0.005432, allocations: 19.78 kB / 0.8227 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003243/0.008676, allocations: 1.541 MB / 0.8242 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.008797, allocations: 47.67 kB / 0.8242 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.524e-05/0.008842, allocations: 3.984 kB / 0.8242 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 6.722e-05/0.008909, allocations: 31.97 kB / 0.8243 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.878e-05/0.008938, allocations: 11.94 kB / 0.8243 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.00895, allocations: 0 / 0.8243 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.01108, allocations: 1.559 MB / 0.8258 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.778e-05/0.01109, allocations: 7.938 kB / 0.8258 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.648e-05/0.01112, allocations: 12 kB / 0.8258 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.01255, allocations: 1.056 MB / 0.8268 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.175e-05/0.01257, allocations: 0 / 0.8268 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.624e-06/0.01257, allocations: 0 / 0.8268 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.571e-05/0.01259, allocations: 0 / 0.8268 GB, free: 10.09 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.0006803/0.01327, allocations: 0.5256 MB / 0.8274 GB, free: 9.543 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.01331, allocations: 12.61 kB / 0.8274 GB, free: 9.531 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.026e-05/0.01336, allocations: 80.22 kB / 0.8274 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.01348, allocations: 199.8 kB / 0.8276 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.608e-05/0.01353, allocations: 162.9 kB / 0.8278 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.01357, allocations: 150.9 kB / 0.8279 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.41e-05/0.01362, allocations: 105.5 kB / 0.828 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.223e-05/0.01364, allocations: 75.47 kB / 0.8281 GB, free: 8.742 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.575e-05/0.01369, allocations: 158.7 kB / 0.8283 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.71e-05/0.01373, allocations: 150.6 kB / 0.8284 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.337e-05/0.01377, allocations: 158.5 kB / 0.8285 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.01396, allocations: 357.3 kB / 0.8289 GB, free: 7.918 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.829e-05/0.01403, allocations: 173.1 kB / 0.8291 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.342e-05/0.01405, allocations: 80.14 kB / 0.8291 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.01407, allocations: 79.28 kB / 0.8292 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.01411, allocations: 105.8 kB / 0.8293 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.01411, allocations: 4 kB / 0.8293 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.384e-05/0.01417, allocations: 33.64 kB / 0.8293 GB, free: 7.422 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.01422, allocations: 130.7 kB / 0.8295 GB, free: 7.281 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.01433, allocations: 134.6 kB / 0.8296 GB, free: 7.137 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.01434, allocations: 25.7 kB / 0.8296 GB, free: 7.105 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.47e-05/0.01437, allocations: 96.06 kB / 0.8297 GB, free: 7.008 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.282e-06/0.01437, allocations: 0 / 0.8297 GB, free: 7.008 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.01441, allocations: 13.72 kB / 0.8297 GB, free: 6.988 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.595e-05/0.0145, allocations: 322.8 kB / 0.83 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.733e-05/0.01451, allocations: 4 kB / 0.83 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.487e-06/0.01452, allocations: 4 kB / 0.83 GB, free: 6.656 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.362e-05/0.01456, allocations: 16.95 kB / 0.8301 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.01456, allocations: 0 / 0.8301 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.785e-05/0.01465, allocations: 41.62 kB / 0.8301 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.01466, allocations: 8 kB / 0.8301 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.01468, allocations: 0 / 0.8301 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.856e-06/0.01469, allocations: 0 / 0.8301 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.11e-06/0.01469, allocations: 0 / 0.8301 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.0147, allocations: 0 / 0.8301 GB, free: 6.582 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.359e-05/0.01472, allocations: 7.938 kB / 0.8301 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.01473, allocations: 0 / 0.8301 GB, free: 6.574 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 0.0002237/0.01495, allocations: 189.1 kB / 0.8303 GB, free: 6.379 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.478e-05/0.015, allocations: 109 kB / 0.8304 GB, free: 6.266 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.251e-05/0.01504, allocations: 112.7 kB / 0.8305 GB, free: 6.148 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.675e-05/0.01509, allocations: 180.3 kB / 0.8307 GB, free: 5.965 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.287e-05/0.01513, allocations: 180.2 kB / 0.8308 GB, free: 5.781 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.35e-05/0.01517, allocations: 184.2 kB / 0.831 GB, free: 5.594 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.01535, allocations: 325.5 kB / 0.8313 GB, free: 5.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.762e-05/0.01538, allocations: 108.9 kB / 0.8314 GB, free: 5.137 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.756e-05/0.0154, allocations: 105 kB / 0.8315 GB, free: 5.027 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.01544, allocations: 112.8 kB / 0.8316 GB, free: 4.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.666e-05/0.01549, allocations: 184.3 kB / 0.8318 GB, free: 4.723 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.687e-05/0.01553, allocations: 180.5 kB / 0.832 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.861e-05/0.01558, allocations: 188.2 kB / 0.8322 GB, free: 4.348 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.18e-05/0.01562, allocations: 180.3 kB / 0.8323 GB, free: 4.164 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.01574, allocations: 303.7 kB / 0.8326 GB, free: 3.844 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.704e-05/0.0158, allocations: 188.2 kB / 0.8328 GB, free: 3.652 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.326e-05/0.01586, allocations: 105 kB / 0.8329 GB, free: 3.543 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/0.01591, allocations: 176.3 kB / 0.8331 GB, free: 3.363 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.59e-05/0.01593, allocations: 108.9 kB / 0.8332 GB, free: 3.25 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.309e-05/0.01596, allocations: 26.86 kB / 0.8332 GB, free: 3.223 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01596, allocations: 0 / 0.8332 GB, free: 3.223 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007036/0.01667, allocations: 299 kB / 0.8335 GB, free: 2.93 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.0009766/0.01764, allocations: 0.5887 MB / 0.8341 GB, free: 2.336 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.459e-05/0.01774, allocations: 42.48 kB / 0.8341 GB, free: 2.285 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.01775, allocations: 4 kB / 0.8341 GB, free: 2.281 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.01775, allocations: 4.062 kB / 0.8341 GB, free: 2.277 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.01804, allocations: 479.5 kB / 0.8346 GB, free: 1.805 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000796/0.01883, allocations: 227.8 kB / 0.8348 GB, free: 1.555 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.775e-05/0.01887, allocations: 63.2 kB / 0.8349 GB, free: 1.473 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.402e-05/0.01888, allocations: 0 / 0.8349 GB, free: 1.473 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.142e-05/0.01893, allocations: 55.38 kB / 0.8349 GB, free: 1.418 MB / 0.8073 GB Notification: Performance of SimCode: time 8.22e-07/0.01894, allocations: 4 kB / 0.8349 GB, free: 1.414 MB / 0.8073 GB Notification: Performance of Templates: time 0.01099/0.02993, allocations: 7.347 MB / 0.8421 GB, free: 10.12 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3628222877159715]