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.000943/0.000943, allocations: 80.81 kB / 20.75 MB, free: 3.734 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.0009253/0.0009253, allocations: 161 kB / 24.17 MB, free: 320 kB / 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.9153/0.9153, allocations: 177.1 MB / 204.6 MB, free: 5.098 MB / 186.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.84/1.84, allocations: 377.9 MB / 0.624 GB, free: 8.41 MB / 0.5886 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.433e-06/1.433e-06, allocations: 0 / 0.7601 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.397e-05/1.54e-05, allocations: 5.641 kB / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004309/0.004325, allocations: 3.133 MB / 0.7632 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002904/0.007229, allocations: 2.158 MB / 0.7653 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.007407, allocations: 4 kB / 0.7653 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.008974, allocations: 0.5047 MB / 0.7658 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002645/0.009238, allocations: 146.7 kB / 0.7659 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001148/0.009353, allocations: 63.86 kB / 0.766 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004414/0.009794, allocations: 461.6 kB / 0.7664 GB, free: 120 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.00999, allocations: 108.5 kB / 0.7665 GB, free: 4 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003421/0.01033, allocations: 247.4 kB / 0.7668 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002149/0.01055, allocations: 139.6 kB / 0.7669 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.603e-05/0.01059, allocations: 32 kB / 0.7669 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.014e-05/0.01065, allocations: 36 kB / 0.767 GB, free: 15.56 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.881e-05/0.01075, allocations: 102.2 kB / 0.7671 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.01089, allocations: 139.6 kB / 0.7672 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003422/0.01123, allocations: 290.9 kB / 0.7675 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.01123, allocations: 0 / 0.7675 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.91e-07/0.01124, allocations: 0 / 0.7675 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.01124, allocations: 3.938 kB / 0.7675 GB, free: 15.04 MB / 0.7292 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.0007536/0.01199, allocations: 0.5945 MB / 0.7681 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.01203, allocations: 12.81 kB / 0.7681 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.492e-05/0.0121, allocations: 48.89 kB / 0.7681 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003341/0.01244, allocations: 254.3 kB / 0.7684 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.01245, allocations: 16.88 kB / 0.7684 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.01249, allocations: 16.38 kB / 0.7684 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.01272, allocations: 153.3 kB / 0.7685 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.01274, allocations: 12.06 kB / 0.7685 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.909e-05/0.01276, allocations: 15.12 kB / 0.7686 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.01277, allocations: 11.88 kB / 0.7686 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.01289, allocations: 53.47 kB / 0.7686 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007131/0.0136, allocations: 440.1 kB / 0.769 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.01374, allocations: 75.81 kB / 0.7691 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.412e-05/0.01382, allocations: 52.77 kB / 0.7692 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.01383, allocations: 5.219 kB / 0.7692 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.01385, allocations: 34.56 kB / 0.7692 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.402e-06/0.01385, allocations: 0 / 0.7692 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0002215/0.01407, allocations: 119.8 kB / 0.7693 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.0141, allocations: 53.03 kB / 0.7694 GB, free: 13 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.01438, allocations: 315.4 kB / 0.7697 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.0144, allocations: 29.7 kB / 0.7697 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.369e-05/0.01448, allocations: 161.3 kB / 0.7699 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.876e-05/0.01454, allocations: 64.08 kB / 0.7699 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.404e-05/0.01459, allocations: 37.69 kB / 0.77 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.0147, allocations: 355.3 kB / 0.7703 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.523e-05/0.01474, allocations: 13.16 kB / 0.7703 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.499e-05/0.01477, allocations: 15.98 kB / 0.7703 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.105e-05/0.01486, allocations: 58.17 kB / 0.7704 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.01486, allocations: 0 / 0.7704 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001501/0.01501, allocations: 108.8 kB / 0.7705 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.01503, allocations: 4 kB / 0.7705 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.01503, allocations: 8.578 kB / 0.7705 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.01504, allocations: 0 / 0.7705 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003073/0.01535, allocations: 75.28 kB / 0.7706 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.01535, allocations: 4 kB / 0.7706 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.309e-05/0.01545, allocations: 19.88 kB / 0.7706 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.01546, allocations: 4.703 kB / 0.7706 GB, free: 11.71 MB / 0.7292 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 9.311e-05/0.01555, allocations: 125.2 kB / 0.7707 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.972e-05/0.0156, allocations: 23.97 kB / 0.7707 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.455e-05/0.01565, allocations: 36.59 kB / 0.7708 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.01566, allocations: 7.938 kB / 0.7708 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.01566, allocations: 3.938 kB / 0.7708 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01566, allocations: 1.219 kB / 0.7708 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.01592, allocations: 177.7 kB / 0.7709 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01592, allocations: 0 / 0.7709 GB, free: 11.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000277/0.0162, allocations: 90.58 kB / 0.771 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.0162, allocations: 0 / 0.771 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/0.01622, allocations: 11.77 kB / 0.771 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.01622, allocations: 4 kB / 0.771 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01622, allocations: 0 / 0.771 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.01648, allocations: 227.3 kB / 0.7713 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.706e-05/0.01653, allocations: 39.69 kB / 0.7713 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.01657, allocations: 11.94 kB / 0.7713 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.01668, allocations: 4 kB / 0.7713 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.01672, allocations: 11.97 kB / 0.7713 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.01673, allocations: 4 kB / 0.7713 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001509/0.01688, allocations: 128.7 kB / 0.7715 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/0.01688, allocations: 6.969 kB / 0.7715 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002908/0.01717, allocations: 71.89 kB / 0.7715 GB, free: 10.72 MB / 0.7292 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 8.884e-05/0.01726, allocations: 92.39 kB / 0.7716 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001344/0.01739, allocations: 65.03 kB / 0.7717 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.0174, allocations: 4 kB / 0.7717 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.981e-05/0.01746, allocations: 40.78 kB / 0.7717 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.01785, allocations: 105 kB / 0.7718 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.01894, allocations: 0.6392 MB / 0.7724 GB, free: 9.773 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.755e-05/0.01902, allocations: 97.33 kB / 0.7725 GB, free: 9.66 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003205/0.01934, allocations: 29 kB / 0.7726 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.01949, allocations: 129.3 kB / 0.7727 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/0.01949, allocations: 0.6875 kB / 0.7727 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of Templates: time 0.005856/0.02534, allocations: 4.226 MB / 0.7768 GB, free: 5.562 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -emit_protected -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.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.559860753826797]