Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001065/0.001065, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001527/0.002592, 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.001076/0.001076, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00139/0.002467, 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.9292/0.9292, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1058/1.035, 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 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.734/1.734, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4199/2.154, allocations: 123.3 MB / 0.7283 GB, free: 5.734 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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.7297 GB, free: 4.383 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.871e-05, allocations: 3.75 kB / 0.7297 GB, free: 4.379 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003568/0.003587, allocations: 3.16 MB / 0.7328 GB, free: 1.262 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002002/0.005589, allocations: 2.175 MB / 0.7349 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.005739, allocations: 8 kB / 0.7349 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0009053/0.006644, allocations: 496.5 kB / 0.7354 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.00684, allocations: 157.8 kB / 0.7355 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 8.685e-05/0.006927, allocations: 55.92 kB / 0.7356 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003729/0.0073, allocations: 465.6 kB / 0.736 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.00748, allocations: 104.5 kB / 0.7361 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003811/0.007862, allocations: 325.6 kB / 0.7364 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.008045, allocations: 135.6 kB / 0.7366 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.683e-05/0.008082, allocations: 36 kB / 0.7366 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 4.462e-05/0.008127, allocations: 32.66 kB / 0.7366 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.706e-05/0.008214, allocations: 83.67 kB / 0.7367 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.326e-05/0.008307, allocations: 120.9 kB / 0.7368 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005583/0.008865, allocations: 279 kB / 0.7371 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.279e-05/0.008878, allocations: 0 / 0.7371 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.432e-06/0.008879, allocations: 0.7188 kB / 0.7371 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.008891, allocations: 0 / 0.7371 GB, free: 12.84 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006668/0.009558, allocations: 0.68 MB / 0.7378 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.009591, allocations: 8.812 kB / 0.7378 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.21e-05/0.009653, allocations: 52.88 kB / 0.7378 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.009904, allocations: 249.2 kB / 0.7381 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.009917, allocations: 13.38 kB / 0.7381 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.009947, allocations: 24.38 kB / 0.7381 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.01011, allocations: 151 kB / 0.7382 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.01012, allocations: 192 / 0.7382 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.01013, allocations: 8.359 kB / 0.7382 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.01014, allocations: 7.938 kB / 0.7382 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.412e-05/0.01022, allocations: 62.81 kB / 0.7383 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005064/0.01073, allocations: 445.3 kB / 0.7387 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.01084, allocations: 82.47 kB / 0.7388 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.4e-05/0.01089, allocations: 58.02 kB / 0.7389 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.0109, allocations: 0 / 0.7389 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.01092, allocations: 34.56 kB / 0.7389 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 9.72e-07/0.01092, allocations: 1.031 kB / 0.7389 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.000168/0.01109, allocations: 120.8 kB / 0.739 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.01112, allocations: 55.41 kB / 0.7391 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.0113, allocations: 307.9 kB / 0.7394 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.01131, allocations: 31.02 kB / 0.7394 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/0.01138, allocations: 169.3 kB / 0.7396 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.01143, allocations: 63.42 kB / 0.7396 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.01146, allocations: 29.7 kB / 0.7396 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.599e-05/0.01155, allocations: 355.3 kB / 0.74 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.409e-05/0.01158, allocations: 22.98 kB / 0.74 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.219e-05/0.0116, allocations: 18.23 kB / 0.74 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.376e-05/0.01167, allocations: 58.69 kB / 0.7401 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.01167, allocations: 0 / 0.7401 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001064/0.01178, allocations: 101.6 kB / 0.7402 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.01179, allocations: 4 kB / 0.7402 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.01179, allocations: 3.984 kB / 0.7402 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.0118, allocations: 0 / 0.7402 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.01203, allocations: 101.2 kB / 0.7403 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-06/0.01204, allocations: 0 / 0.7403 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.525e-05/0.01209, allocations: 15.89 kB / 0.7403 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.0121, allocations: 4 kB / 0.7403 GB, free: 9.414 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 7.003e-05/0.01217, allocations: 116.6 kB / 0.7404 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.0122, allocations: 28.72 kB / 0.7404 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.401e-05/0.01224, allocations: 35.41 kB / 0.7405 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.01225, allocations: 4.75 kB / 0.7405 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.01225, allocations: 3.938 kB / 0.7405 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.01225, allocations: 0.6562 kB / 0.7405 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.01243, allocations: 183.2 kB / 0.7407 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01243, allocations: 0 / 0.7407 GB, free: 9.027 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.01261, allocations: 84.59 kB / 0.7407 GB, free: 8.949 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.01264, allocations: 35.7 kB / 0.7408 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.01265, allocations: 3.938 kB / 0.7408 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.01266, allocations: 0 / 0.7408 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01266, allocations: 4 kB / 0.7408 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01266, allocations: 0 / 0.7408 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.01285, allocations: 238.8 kB / 0.741 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.01287, allocations: 11.94 kB / 0.741 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-05/0.01294, allocations: 4 kB / 0.741 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.01297, allocations: 15.97 kB / 0.741 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.01298, allocations: 4 kB / 0.741 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.443e-05/0.01307, allocations: 132.7 kB / 0.7412 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01307, allocations: 0 / 0.7412 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001659/0.01324, allocations: 84.62 kB / 0.7412 GB, free: 8.418 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0001037/0.01334, allocations: 89.48 kB / 0.7413 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.01345, allocations: 68.77 kB / 0.7414 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.01345, allocations: 9.406 kB / 0.7414 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.516e-05/0.01351, allocations: 48.83 kB / 0.7415 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005484/0.01406, allocations: 0.9206 MB / 0.7424 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003383/0.01744, allocations: 0.6414 MB / 0.743 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.036e-05/0.0175, allocations: 100.6 kB / 0.7431 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.697e-05/0.0176, allocations: 34.3 kB / 0.7431 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.01775, allocations: 121.3 kB / 0.7432 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of SimCode: time 8.92e-07/0.01775, allocations: 0 / 0.7432 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of Templates: time 0.006937/0.02468, allocations: 4.739 MB / 0.7478 GB, free: 1.742 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.579578785225749]