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.0008019/0.0008019, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001113/0.001915, allocations: 449.8 kB / 10.44 MB, free: 252 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.0007119/0.0007119, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009724/0.001684, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.8716/0.8716, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07891/0.9505, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.797/1.797, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4138/2.21, allocations: 123.3 MB / 0.7283 GB, free: 5.723 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.052e-06/1.052e-06, allocations: 0 / 0.7297 GB, free: 4.352 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112e-05/1.217e-05, allocations: 4.422 kB / 0.7297 GB, free: 4.348 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001551/0.001564, allocations: 1.552 MB / 0.7312 GB, free: 2.816 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003558/0.005121, allocations: 2.822 MB / 0.734 GB, free: 8 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.392e-05/0.005155, allocations: 3.938 kB / 0.734 GB, free: 4 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.343e-05/0.005169, allocations: 4.516 kB / 0.734 GB, free: 0 / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.63e-05/0.005225, allocations: 20.73 kB / 0.734 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.003015/0.00824, allocations: 1.558 MB / 0.7355 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.743e-05/0.008327, allocations: 48.89 kB / 0.7356 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.57e-05/0.008363, allocations: 7.984 kB / 0.7356 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.397e-05/0.008427, allocations: 27.92 kB / 0.7356 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.723e-05/0.008454, allocations: 11.98 kB / 0.7356 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.008466, allocations: 1.125 kB / 0.7356 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002076/0.01054, allocations: 1.553 MB / 0.7371 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.01056, allocations: 7.938 kB / 0.7371 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.163e-05/0.01058, allocations: 12.44 kB / 0.7372 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.01187, allocations: 1.052 MB / 0.7382 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.116e-05/0.01188, allocations: 0.75 kB / 0.7382 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.51e-07/0.01188, allocations: 0 / 0.7382 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.01189, allocations: 0.75 kB / 0.7382 GB, free: 11.73 MB / 0.7136 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.0005771/0.01247, allocations: 0.5303 MB / 0.7387 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.0125, allocations: 11.98 kB / 0.7387 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/0.01255, allocations: 84.2 kB / 0.7388 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.01267, allocations: 198.3 kB / 0.739 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.826e-05/0.01272, allocations: 158.9 kB / 0.7391 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/0.01276, allocations: 150.9 kB / 0.7393 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.107e-05/0.01281, allocations: 102.8 kB / 0.7394 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.01283, allocations: 75.47 kB / 0.7395 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.971e-05/0.01287, allocations: 158.6 kB / 0.7396 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.969e-05/0.01291, allocations: 154.6 kB / 0.7398 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.886e-05/0.01295, allocations: 151.8 kB / 0.7399 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001922/0.01315, allocations: 357.3 kB / 0.7402 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.068e-05/0.01322, allocations: 173.1 kB / 0.7404 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.49e-05/0.01324, allocations: 85.33 kB / 0.7405 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.01326, allocations: 75.28 kB / 0.7406 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.0133, allocations: 109.8 kB / 0.7407 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.0133, allocations: 0.625 kB / 0.7407 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.14e-05/0.01336, allocations: 32.45 kB / 0.7407 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.01341, allocations: 126.7 kB / 0.7408 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.01351, allocations: 138.6 kB / 0.7409 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.01352, allocations: 25.7 kB / 0.741 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.613e-05/0.01355, allocations: 96.08 kB / 0.7411 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-06/0.01356, allocations: 4 kB / 0.7411 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.01359, allocations: 13.72 kB / 0.7411 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.01368, allocations: 322.8 kB / 0.7414 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.864e-05/0.0137, allocations: 6.969 kB / 0.7414 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.127e-06/0.01371, allocations: 4 kB / 0.7414 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.696e-05/0.01374, allocations: 8.859 kB / 0.7414 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.01374, allocations: 0 / 0.7414 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.397e-05/0.0138, allocations: 41.75 kB / 0.7414 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.01382, allocations: 8 kB / 0.7415 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.01383, allocations: 0 / 0.7415 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.01384, allocations: 0 / 0.7415 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.693e-06/0.01384, allocations: 0.6562 kB / 0.7415 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.074e-06/0.01384, allocations: 1.844 kB / 0.7415 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.571e-05/0.01386, allocations: 3.938 kB / 0.7415 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.01386, allocations: 4 kB / 0.7415 GB, free: 8.215 MB / 0.7136 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 6.341e-05/0.01393, allocations: 193 kB / 0.7416 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.01396, allocations: 109 kB / 0.7418 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.527e-05/0.014, allocations: 107.2 kB / 0.7419 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-05/0.01404, allocations: 192.1 kB / 0.742 GB, free: 7.594 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-05/0.01408, allocations: 176.3 kB / 0.7422 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.819e-05/0.01411, allocations: 184.1 kB / 0.7424 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.01423, allocations: 333.5 kB / 0.7427 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.337e-05/0.01425, allocations: 101 kB / 0.7428 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.419e-05/0.01428, allocations: 115.3 kB / 0.7429 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.884e-05/0.01431, allocations: 108.9 kB / 0.743 GB, free: 6.539 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.804e-05/0.01435, allocations: 184.2 kB / 0.7432 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.822e-05/0.01438, allocations: 176.3 kB / 0.7434 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.491e-05/0.01442, allocations: 176.3 kB / 0.7435 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.986e-05/0.01446, allocations: 188.2 kB / 0.7437 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.19e-05/0.01454, allocations: 307.7 kB / 0.744 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.01459, allocations: 181.3 kB / 0.7442 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.459e-05/0.01463, allocations: 105 kB / 0.7443 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.01467, allocations: 181.1 kB / 0.7444 GB, free: 5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.01469, allocations: 105 kB / 0.7445 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.319e-05/0.01472, allocations: 31.8 kB / 0.7446 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01472, allocations: 2.156 kB / 0.7446 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000377/0.01509, allocations: 294.9 kB / 0.7449 GB, free: 4.57 MB / 0.7136 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.000705/0.0158, allocations: 0.5971 MB / 0.7454 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.445e-05/0.01586, allocations: 51.42 kB / 0.7455 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.01587, allocations: 0 / 0.7455 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.577e-06/0.01587, allocations: 4 kB / 0.7455 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.01611, allocations: 0.5626 MB / 0.746 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005752/0.01668, allocations: 243.8 kB / 0.7463 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.822e-05/0.01671, allocations: 59.88 kB / 0.7463 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.264e-05/0.01672, allocations: 0.625 kB / 0.7463 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/0.01677, allocations: 63.3 kB / 0.7464 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of SimCode: time 5.11e-07/0.01677, allocations: 0.5938 kB / 0.7464 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of Templates: time 0.007259/0.02402, allocations: 7.215 MB / 0.7534 GB, free: 11.88 MB / 0.7292 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube/Buildings_12_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: 4.739409631118178]