Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001314/0.001314, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001526/0.001526, allocations: 181 kB / 24.09 MB, free: 416 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.8955/0.8955, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.669/1.669, allocations: 359 MB / 0.6055 GB, free: 10.9 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.7876 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.663e-05/1.807e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003006/0.003024, allocations: 3.076 MB / 0.7906 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001965/0.004989, allocations: 2.116 MB / 0.7927 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.005131, allocations: 11.94 kB / 0.7927 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0008784/0.006009, allocations: 464.4 kB / 0.7931 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.006191, allocations: 164.5 kB / 0.7933 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 8.097e-05/0.006272, allocations: 59.94 kB / 0.7934 GB, free: 6.254 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003167/0.006589, allocations: 473.1 kB / 0.7938 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.006731, allocations: 99.83 kB / 0.7939 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002429/0.006974, allocations: 240 kB / 0.7941 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.007114, allocations: 140.3 kB / 0.7943 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.007145, allocations: 36 kB / 0.7943 GB, free: 5.285 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.764e-05/0.007183, allocations: 32.53 kB / 0.7943 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.706e-05/0.00726, allocations: 103.6 kB / 0.7944 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.172e-05/0.007352, allocations: 148.9 kB / 0.7946 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003629/0.007715, allocations: 286.9 kB / 0.7948 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.007718, allocations: 3.984 kB / 0.7949 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.734e-06/0.00772, allocations: 4.531 kB / 0.7949 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.007724, allocations: 0 / 0.7949 GB, free: 4.719 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006117/0.008336, allocations: 0.7431 MB / 0.7956 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.008367, allocations: 13.22 kB / 0.7956 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.702e-05/0.008424, allocations: 60.66 kB / 0.7957 GB, free: 3.871 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.008663, allocations: 308.4 kB / 0.7959 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.008676, allocations: 16.88 kB / 0.796 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.008701, allocations: 20.38 kB / 0.796 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.008875, allocations: 149.3 kB / 0.7961 GB, free: 3.359 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.008885, allocations: 1.531 kB / 0.7961 GB, free: 3.359 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.008898, allocations: 8.375 kB / 0.7961 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.008904, allocations: 11.94 kB / 0.7961 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.271e-05/0.008987, allocations: 61.44 kB / 0.7962 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005688/0.009555, allocations: 0.6232 MB / 0.7968 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.009664, allocations: 91.09 kB / 0.7969 GB, free: 2.523 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.135e-05/0.009716, allocations: 55.64 kB / 0.797 GB, free: 2.465 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.009725, allocations: 4.688 kB / 0.797 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.009744, allocations: 45.64 kB / 0.797 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.473e-06/0.009746, allocations: 3.438 kB / 0.797 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.000189/0.009935, allocations: 151 kB / 0.7971 GB, free: 2.254 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.009959, allocations: 55.41 kB / 0.7972 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.0102, allocations: 430.6 kB / 0.7976 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.01021, allocations: 29.7 kB / 0.7976 GB, free: 1.715 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.01033, allocations: 275 kB / 0.7979 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.01037, allocations: 71.41 kB / 0.798 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.01041, allocations: 35.38 kB / 0.798 GB, free: 1.328 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.01054, allocations: 0.539 MB / 0.7985 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.536e-05/0.01057, allocations: 16.61 kB / 0.7985 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.53e-05/0.01059, allocations: 27.88 kB / 0.7986 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.704e-05/0.01066, allocations: 66.81 kB / 0.7986 GB, free: 0.668 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.01066, allocations: 1.656 kB / 0.7986 GB, free: 0.668 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001234/0.01078, allocations: 141.4 kB / 0.7988 GB, free: 0.5234 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.01079, allocations: 4 kB / 0.7988 GB, free: 0.5195 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.0108, allocations: 4 kB / 0.7988 GB, free: 0.5156 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/0.01081, allocations: 0.8125 kB / 0.7988 GB, free: 0.5156 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.01093, allocations: 55.91 kB / 0.7988 GB, free: 472 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.01093, allocations: 0.9375 kB / 0.7988 GB, free: 472 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.271e-05/0.01099, allocations: 7.938 kB / 0.7988 GB, free: 464 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.01099, allocations: 10.5 kB / 0.7989 GB, free: 456 kB / 0.7448 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.576e-05/0.01107, allocations: 160.5 kB / 0.799 GB, free: 284 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.0111, allocations: 39.77 kB / 0.799 GB, free: 244 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.529e-05/0.01115, allocations: 47.33 kB / 0.7991 GB, free: 200 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.01115, allocations: 0 / 0.7991 GB, free: 200 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.01115, allocations: 0 / 0.7991 GB, free: 200 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.01116, allocations: 2.844 kB / 0.7991 GB, free: 200 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.01136, allocations: 241 kB / 0.7993 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01136, allocations: 0 / 0.7993 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/0.01148, allocations: 47.97 kB / 0.7994 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.01148, allocations: 4 kB / 0.7994 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.01149, allocations: 4 kB / 0.7994 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.01149, allocations: 0 / 0.7994 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01149, allocations: 0.9375 kB / 0.7994 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.01171, allocations: 313.6 kB / 0.7997 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.01175, allocations: 48.75 kB / 0.7997 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.01177, allocations: 4 kB / 0.7997 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.347e-05/0.01183, allocations: 4 kB / 0.7997 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.01186, allocations: 20.94 kB / 0.7998 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.01187, allocations: 4 kB / 0.7998 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001304/0.012, allocations: 271 kB / 0.8 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.012, allocations: 1.094 kB / 0.8 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0001767/0.01217, allocations: 71.89 kB / 0.8001 GB, free: 15.14 MB / 0.7605 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.946e-05/0.01226, allocations: 107.9 kB / 0.8002 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 9.99e-05/0.01236, allocations: 74.45 kB / 0.8003 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.01236, allocations: 1.281 kB / 0.8003 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 4.525e-05/0.01241, allocations: 51.59 kB / 0.8003 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.01271, allocations: 90.64 kB / 0.8004 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008078/0.01352, allocations: 0.6643 MB / 0.801 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.453e-05/0.01357, allocations: 100.3 kB / 0.8011 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 6.686e-05/0.01364, allocations: 22.97 kB / 0.8012 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.01377, allocations: 138.1 kB / 0.8013 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of SimCode: time 9.62e-07/0.01377, allocations: 4 kB / 0.8013 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of Templates: time 0.005769/0.01954, allocations: 3.971 MB / 0.8052 GB, free: 10.03 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.494387343991548]