Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.0009417/0.0009417, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009256/0.0009256, allocations: 169.3 kB / 24.28 MB, free: 280 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.8976/0.8976, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.763/1.763, allocations: 359 MB / 0.6055 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0.6562 kB / 0.7872 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.102e-05/3.291e-05, allocations: 6.25 kB / 0.7872 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004621/0.004654, allocations: 4.252 MB / 0.7913 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003268/0.007922, allocations: 2.402 MB / 0.7937 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000372/0.008294, allocations: 12.72 kB / 0.7937 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.009712, allocations: 0.5033 MB / 0.7942 GB, free: 5.562 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004864/0.0102, allocations: 264.5 kB / 0.7944 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002241/0.01042, allocations: 136.7 kB / 0.7946 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007599/0.01118, allocations: 0.8483 MB / 0.7954 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003299/0.01151, allocations: 219.9 kB / 0.7956 GB, free: 4.102 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005386/0.01205, allocations: 463 kB / 0.796 GB, free: 3.648 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.01234, allocations: 252.6 kB / 0.7963 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.734e-05/0.01241, allocations: 76 kB / 0.7963 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.218e-05/0.01248, allocations: 72 kB / 0.7964 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.01261, allocations: 172.2 kB / 0.7966 GB, free: 3.09 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002112/0.01282, allocations: 271.4 kB / 0.7968 GB, free: 2.824 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005153/0.01334, allocations: 0.511 MB / 0.7973 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.01334, allocations: 0 / 0.7973 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.803e-06/0.01335, allocations: 0 / 0.7973 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.01336, allocations: 0 / 0.7973 GB, free: 2.312 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001206/0.01456, allocations: 0.9954 MB / 0.7983 GB, free: 1.285 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.01461, allocations: 12.03 kB / 0.7983 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.01475, allocations: 116.5 kB / 0.7984 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004609/0.01521, allocations: 387.2 kB / 0.7988 GB, free: 0.7539 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.01524, allocations: 46.64 kB / 0.7988 GB, free: 0.7109 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.29e-05/0.0153, allocations: 48.38 kB / 0.7989 GB, free: 0.6641 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000437/0.01574, allocations: 315.7 kB / 0.7992 GB, free: 356 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.01575, allocations: 1.281 kB / 0.7992 GB, free: 356 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/0.01578, allocations: 20.38 kB / 0.7992 GB, free: 336 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.0158, allocations: 15.94 kB / 0.7992 GB, free: 320 kB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.01609, allocations: 186.5 kB / 0.7994 GB, free: 132 kB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.01751, allocations: 1.208 MB / 0.8006 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.01781, allocations: 215.9 kB / 0.8008 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002559/0.01806, allocations: 192.1 kB / 0.801 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.01809, allocations: 8 kB / 0.801 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.01812, allocations: 45.17 kB / 0.801 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=42): time 2.785e-06/0.01812, allocations: 1.031 kB / 0.801 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42): time 0.0005012/0.01862, allocations: 332.8 kB / 0.8013 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.01867, allocations: 59.34 kB / 0.8014 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003736/0.01904, allocations: 479.8 kB / 0.8019 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.01906, allocations: 29.7 kB / 0.8019 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001763/0.01924, allocations: 356 kB / 0.8022 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.269e-05/0.01933, allocations: 147.8 kB / 0.8024 GB, free: 13 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.619e-05/0.01941, allocations: 67.73 kB / 0.8024 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.01957, allocations: 0.5442 MB / 0.803 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.772e-05/0.01967, allocations: 60.7 kB / 0.803 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.152e-05/0.01976, allocations: 61.22 kB / 0.8031 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/0.01998, allocations: 163 kB / 0.8032 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.01998, allocations: 3.938 kB / 0.8032 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003262/0.02031, allocations: 288.5 kB / 0.8035 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.02032, allocations: 4 kB / 0.8035 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.02033, allocations: 4 kB / 0.8035 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.02035, allocations: 4 kB / 0.8035 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.02067, allocations: 127.8 kB / 0.8036 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.02068, allocations: 0 / 0.8036 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.02079, allocations: 27.78 kB / 0.8037 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.0208, allocations: 12 kB / 0.8037 GB, free: 11.62 MB / 0.7605 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 (46): * Single equations (assignments): 46 * 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 0.0001179/0.02092, allocations: 172.5 kB / 0.8038 GB, free: 11.44 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.716e-05/0.02098, allocations: 55.72 kB / 0.8039 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.949e-05/0.02105, allocations: 60.86 kB / 0.804 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.02105, allocations: 8 kB / 0.804 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.02106, allocations: 3.938 kB / 0.804 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.02106, allocations: 0 / 0.804 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003818/0.02144, allocations: 436.2 kB / 0.8044 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.02144, allocations: 0 / 0.8044 GB, free: 10.85 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002898/0.02173, allocations: 123.9 kB / 0.8045 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.02174, allocations: 0 / 0.8045 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001667/0.0219, allocations: 8 kB / 0.8045 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.02191, allocations: 0 / 0.8045 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.02191, allocations: 7.938 kB / 0.8045 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004927/0.0224, allocations: 0.5041 MB / 0.805 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.561e-05/0.02246, allocations: 51.59 kB / 0.8051 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.02249, allocations: 16 kB / 0.8051 GB, free: 10.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.0226, allocations: 11.98 kB / 0.8051 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.541e-05/0.02265, allocations: 31.83 kB / 0.8051 GB, free: 10.08 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.02267, allocations: 8 kB / 0.8051 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002251/0.02289, allocations: 315 kB / 0.8054 GB, free: 9.766 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.02289, allocations: 0 / 0.8054 GB, free: 9.766 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000293/0.02318, allocations: 147.7 kB / 0.8056 GB, free: 9.621 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0001174/0.0233, allocations: 111.2 kB / 0.8057 GB, free: 9.504 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002787/0.02358, allocations: 207.4 kB / 0.8059 GB, free: 9.297 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.02358, allocations: 0 / 0.8059 GB, free: 9.297 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.02371, allocations: 127.3 kB / 0.806 GB, free: 9.168 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.02411, allocations: 104.9 kB / 0.8061 GB, free: 9.07 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.02559, allocations: 1.032 MB / 0.8071 GB, free: 8.004 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.109e-05/0.02567, allocations: 129.8 kB / 0.8072 GB, free: 7.859 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001215/0.02579, allocations: 47.38 kB / 0.8073 GB, free: 7.812 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.343e-05/0.02586, allocations: 36.5 kB / 0.8073 GB, free: 7.777 MB / 0.7605 GB Notification: Performance of SimCode: time 1.142e-06/0.02587, allocations: 0 / 0.8073 GB, free: 7.777 MB / 0.7605 GB Notification: Performance of Templates: time 0.00827/0.03414, allocations: 4.988 MB / 0.8122 GB, free: 2.941 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.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.911227706121281]