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.001488/0.001488, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001753/0.001753, allocations: 161 kB / 24.16 MB, free: 336 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.931/0.931, allocations: 177.2 MB / 204.6 MB, free: 5.469 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.844/1.844, allocations: 377.9 MB / 0.624 GB, free: 8.375 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.372e-06/1.372e-06, allocations: 0.7656 kB / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.565e-05, allocations: 15.19 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00299/0.003006, allocations: 3.09 MB / 0.7631 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002201/0.005207, allocations: 2.166 MB / 0.7652 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001578/0.005364, allocations: 8 kB / 0.7652 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000993/0.006357, allocations: 488.2 kB / 0.7657 GB, free: 0.8516 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.006556, allocations: 148 kB / 0.7658 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 8.823e-05/0.006644, allocations: 63.92 kB / 0.7659 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003365/0.006981, allocations: 464.8 kB / 0.7663 GB, free: 196 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.007141, allocations: 108.5 kB / 0.7664 GB, free: 80 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003023/0.007444, allocations: 243.4 kB / 0.7667 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.007598, allocations: 139.6 kB / 0.7668 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.287e-05/0.007631, allocations: 36 kB / 0.7668 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 3.5e-05/0.007666, allocations: 35.94 kB / 0.7669 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.207e-05/0.007748, allocations: 99.61 kB / 0.767 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.007849, allocations: 143.7 kB / 0.7671 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.008096, allocations: 285.7 kB / 0.7674 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.008099, allocations: 7.938 kB / 0.7674 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.91e-07/0.008099, allocations: 0 / 0.7674 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.008103, allocations: 0 / 0.7674 GB, free: 15.11 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.0005978/0.008701, allocations: 0.5979 MB / 0.768 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.008729, allocations: 8.031 kB / 0.768 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.453e-05/0.008784, allocations: 45.55 kB / 0.768 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.009027, allocations: 252.6 kB / 0.7683 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.009041, allocations: 19.72 kB / 0.7683 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.009071, allocations: 28.31 kB / 0.7683 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.009235, allocations: 149.3 kB / 0.7685 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.009246, allocations: 4.141 kB / 0.7685 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.009258, allocations: 4.375 kB / 0.7685 GB, free: 13.96 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.009266, allocations: 11.94 kB / 0.7685 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.45e-05/0.00936, allocations: 57.47 kB / 0.7685 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005002/0.009861, allocations: 439.3 kB / 0.7689 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.009964, allocations: 78.53 kB / 0.769 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.116e-05/0.01001, allocations: 54.17 kB / 0.7691 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.01002, allocations: 0 / 0.7691 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.01005, allocations: 38.5 kB / 0.7691 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.173e-06/0.01005, allocations: 1.812 kB / 0.7691 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.000163/0.01021, allocations: 115.7 kB / 0.7692 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.01024, allocations: 59.39 kB / 0.7693 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.01043, allocations: 307.4 kB / 0.7696 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.01044, allocations: 30.73 kB / 0.7696 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/0.0105, allocations: 169.3 kB / 0.7698 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.01054, allocations: 59.42 kB / 0.7698 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.01057, allocations: 36.14 kB / 0.7699 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.831e-05/0.01065, allocations: 350.7 kB / 0.7702 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.263e-05/0.01067, allocations: 15.98 kB / 0.7702 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.121e-05/0.01069, allocations: 19.94 kB / 0.7702 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.016e-05/0.01075, allocations: 63.14 kB / 0.7703 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01075, allocations: 0 / 0.7703 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 9.38e-05/0.01085, allocations: 105.6 kB / 0.7704 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.01086, allocations: 6.562 kB / 0.7704 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.01086, allocations: 0 / 0.7704 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.01087, allocations: 0 / 0.7704 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.011, allocations: 55.91 kB / 0.7704 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.011, allocations: 4 kB / 0.7704 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.485e-05/0.01106, allocations: 11.89 kB / 0.7705 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.01106, allocations: 5.562 kB / 0.7705 GB, free: 11.82 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 7.075e-05/0.01113, allocations: 120.6 kB / 0.7706 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.01116, allocations: 27.95 kB / 0.7706 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.745e-05/0.0112, allocations: 36.69 kB / 0.7706 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.0112, allocations: 4 kB / 0.7706 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.0112, allocations: 0 / 0.7706 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01121, allocations: 0 / 0.7706 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.01138, allocations: 186.2 kB / 0.7708 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.01138, allocations: 0.6875 kB / 0.7708 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.0115, allocations: 59.91 kB / 0.7709 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.0115, allocations: 4.531 kB / 0.7709 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.01151, allocations: 0.7188 kB / 0.7709 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.01151, allocations: 0 / 0.7709 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.01151, allocations: 0.5938 kB / 0.7709 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.01169, allocations: 247.4 kB / 0.7711 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.623e-05/0.01172, allocations: 35.7 kB / 0.7712 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.01174, allocations: 4 kB / 0.7712 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.495e-05/0.01181, allocations: 11.98 kB / 0.7712 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.617e-05/0.01183, allocations: 9.016 kB / 0.7712 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.01184, allocations: 0 / 0.7712 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.046e-05/0.01193, allocations: 136.7 kB / 0.7713 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01193, allocations: 0.7188 kB / 0.7713 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001641/0.01209, allocations: 71.89 kB / 0.7714 GB, free: 10.85 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.281e-05/0.01218, allocations: 89.95 kB / 0.7715 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.463e-05/0.01227, allocations: 66.48 kB / 0.7715 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.01227, allocations: 4.938 kB / 0.7715 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.871e-05/0.01231, allocations: 48.7 kB / 0.7716 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.01257, allocations: 80.42 kB / 0.7717 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008078/0.01337, allocations: 0.6401 MB / 0.7723 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.207e-05/0.01343, allocations: 92.3 kB / 0.7724 GB, free: 9.805 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.187e-05/0.0135, allocations: 28.25 kB / 0.7724 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.01363, allocations: 120.7 kB / 0.7725 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of SimCode: time 6.71e-07/0.01363, allocations: 0 / 0.7725 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of Templates: time 0.005691/0.01932, allocations: 3.92 MB / 0.7763 GB, free: 6.008 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 -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.7112978477962315]