Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009578/0.0009578, allocations: 81.95 kB / 20.68 MB, free: 3.812 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.001417/0.001417, allocations: 185 kB / 24.09 MB, free: 412 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.9442/0.9442, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.75/1.75, allocations: 377.9 MB / 0.6239 GB, free: 8.398 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.8121 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.397e-05/1.54e-05, allocations: 11.25 kB / 0.8121 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003428/0.003444, allocations: 4.152 MB / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002362/0.005805, allocations: 2.393 MB / 0.8185 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/0.005995, allocations: 8 kB / 0.8185 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.007058, allocations: 0.5149 MB / 0.819 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002807/0.007338, allocations: 256.4 kB / 0.8192 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.00748, allocations: 140.4 kB / 0.8194 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004949/0.007975, allocations: 0.845 MB / 0.8202 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002536/0.008229, allocations: 219 kB / 0.8204 GB, free: 8.836 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003726/0.008601, allocations: 467.6 kB / 0.8208 GB, free: 8.379 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.00882, allocations: 252.3 kB / 0.8211 GB, free: 8.133 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.824e-05/0.008878, allocations: 72 kB / 0.8211 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.257e-05/0.008951, allocations: 76 kB / 0.8212 GB, free: 7.988 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.009063, allocations: 175.9 kB / 0.8214 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.009229, allocations: 267.4 kB / 0.8216 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003722/0.009602, allocations: 0.4996 MB / 0.8221 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.009603, allocations: 0 / 0.8221 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.11e-07/0.009604, allocations: 0 / 0.8221 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.009609, allocations: 0.8125 kB / 0.8221 GB, free: 7.055 MB / 0.7761 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.0008377/0.01045, allocations: 1.01 MB / 0.8231 GB, free: 6.008 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.01048, allocations: 12.03 kB / 0.8231 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.538e-05/0.01057, allocations: 116.5 kB / 0.8232 GB, free: 5.883 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.01089, allocations: 371.2 kB / 0.8236 GB, free: 5.496 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.01091, allocations: 40.81 kB / 0.8236 GB, free: 5.457 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.057e-05/0.01096, allocations: 52.36 kB / 0.8237 GB, free: 5.406 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.01126, allocations: 279.7 kB / 0.824 GB, free: 5.125 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.01127, allocations: 4.141 kB / 0.824 GB, free: 5.121 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.0113, allocations: 20.38 kB / 0.824 GB, free: 5.102 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.01131, allocations: 15.94 kB / 0.824 GB, free: 5.086 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.01148, allocations: 154.8 kB / 0.8241 GB, free: 4.938 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.0125, allocations: 1.116 MB / 0.8252 GB, free: 3.797 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.01268, allocations: 188.7 kB / 0.8254 GB, free: 3.598 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000435/0.01312, allocations: 167.6 kB / 0.8256 GB, free: 3.43 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.01313, allocations: 12.52 kB / 0.8256 GB, free: 3.418 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.01316, allocations: 42.48 kB / 0.8256 GB, free: 3.367 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=42): time 1.503e-06/0.01316, allocations: 0 / 0.8256 GB, free: 3.367 MB / 0.7761 GB Notification: Performance of matching and sorting (n=42): time 0.0003166/0.01348, allocations: 293.3 kB / 0.8259 GB, free: 3.074 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.0135, allocations: 60 kB / 0.826 GB, free: 3.004 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.01378, allocations: 474.5 kB / 0.8264 GB, free: 2.52 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.01379, allocations: 31.55 kB / 0.8264 GB, free: 2.484 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.01393, allocations: 351.2 kB / 0.8268 GB, free: 2.137 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.733e-05/0.01401, allocations: 154.6 kB / 0.8269 GB, free: 1.984 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.887e-05/0.01408, allocations: 71.7 kB / 0.827 GB, free: 1.902 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.01421, allocations: 0.5468 MB / 0.8275 GB, free: 1.344 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.05e-05/0.01426, allocations: 44.12 kB / 0.8276 GB, free: 1.305 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.974e-05/0.01431, allocations: 45.22 kB / 0.8276 GB, free: 1.262 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.01445, allocations: 148.8 kB / 0.8278 GB, free: 1.113 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01445, allocations: 0 / 0.8278 GB, free: 1.113 MB / 0.7761 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002077/0.01466, allocations: 244.9 kB / 0.828 GB, free: 0.8672 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.01467, allocations: 14.28 kB / 0.828 GB, free: 0.8555 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.01467, allocations: 0 / 0.828 GB, free: 0.8555 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.756e-06/0.01468, allocations: 0.7656 kB / 0.828 GB, free: 0.8555 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002496/0.01493, allocations: 124.8 kB / 0.8281 GB, free: 0.7344 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.01494, allocations: 7.938 kB / 0.8281 GB, free: 0.7266 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.982e-05/0.01502, allocations: 28.91 kB / 0.8282 GB, free: 0.6992 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.01503, allocations: 8 kB / 0.8282 GB, free: 0.6914 MB / 0.7761 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 9.955e-05/0.01513, allocations: 173.5 kB / 0.8283 GB, free: 0.5117 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.01517, allocations: 63.67 kB / 0.8284 GB, free: 460 kB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.346e-05/0.01523, allocations: 60.73 kB / 0.8284 GB, free: 400 kB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.01523, allocations: 5.125 kB / 0.8284 GB, free: 396 kB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-06/0.01523, allocations: 0 / 0.8284 GB, free: 396 kB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.01524, allocations: 3.938 kB / 0.8285 GB, free: 392 kB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.01552, allocations: 341.4 kB / 0.8288 GB, free: 24 kB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.01552, allocations: 7.422 kB / 0.8288 GB, free: 20 kB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.01577, allocations: 119.9 kB / 0.8289 GB, free: 15.9 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.01577, allocations: 0 / 0.8289 GB, free: 15.9 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.01579, allocations: 12 kB / 0.8289 GB, free: 15.89 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01579, allocations: 3.984 kB / 0.8289 GB, free: 15.89 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.01579, allocations: 4 kB / 0.8289 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003427/0.01614, allocations: 476.1 kB / 0.8294 GB, free: 15.4 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.01619, allocations: 64.3 kB / 0.8294 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.01621, allocations: 4 kB / 0.8294 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.637e-05/0.0163, allocations: 9.656 kB / 0.8294 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.01634, allocations: 27.95 kB / 0.8295 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.01635, allocations: 11.98 kB / 0.8295 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001438/0.01649, allocations: 291 kB / 0.8298 GB, free: 15 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.01649, allocations: 0 / 0.8298 GB, free: 15 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002314/0.01673, allocations: 152.1 kB / 0.8299 GB, free: 14.86 MB / 0.7917 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 8.87e-05/0.01681, allocations: 115.1 kB / 0.83 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0001799/0.01699, allocations: 179.4 kB / 0.8302 GB, free: 14.55 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.017, allocations: 0 / 0.8302 GB, free: 14.55 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 9.045e-05/0.01709, allocations: 111.5 kB / 0.8303 GB, free: 14.44 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.01742, allocations: 101.5 kB / 0.8304 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.01851, allocations: 1.012 MB / 0.8314 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.907e-05/0.01858, allocations: 129.8 kB / 0.8315 GB, free: 13.14 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 9.379e-05/0.01868, allocations: 43.38 kB / 0.8315 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.01885, allocations: 166.1 kB / 0.8317 GB, free: 12.93 MB / 0.7917 GB Notification: Performance of SimCode: time 7.12e-07/0.01885, allocations: 0 / 0.8317 GB, free: 12.93 MB / 0.7917 GB Notification: Performance of Templates: time 0.007446/0.02629, allocations: 5.418 MB / 0.837 GB, free: 7.715 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.82249506469816]