Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001411/0.001411, allocations: 73.88 kB / 20.65 MB, free: 3.844 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.001657/0.001657, allocations: 169 kB / 24.06 MB, free: 452 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.9637/0.9637, allocations: 177.1 MB / 204.5 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.013/2.013, allocations: 429.5 MB / 0.6743 GB, free: 3.922 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 0.8795 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.348e-05, allocations: 4.844 kB / 0.8795 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003779/0.003803, allocations: 4.182 MB / 0.8835 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003089/0.006891, allocations: 2.387 MB / 0.8859 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002535/0.007145, allocations: 11.94 kB / 0.8859 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.008421, allocations: 0.5167 MB / 0.8864 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003823/0.008803, allocations: 257.9 kB / 0.8866 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.008981, allocations: 143.8 kB / 0.8868 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0006208/0.009602, allocations: 0.8361 MB / 0.8876 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000278/0.00988, allocations: 215 kB / 0.8878 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004888/0.01037, allocations: 467 kB / 0.8882 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000283/0.01065, allocations: 255.3 kB / 0.8885 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.186e-05/0.01071, allocations: 72 kB / 0.8886 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 6.84e-05/0.01078, allocations: 76 kB / 0.8886 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.0109, allocations: 175.4 kB / 0.8888 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.01108, allocations: 259.4 kB / 0.889 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004454/0.01152, allocations: 0.5099 MB / 0.8895 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.01153, allocations: 0 / 0.8895 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.11e-07/0.01153, allocations: 0 / 0.8895 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.936e-06/0.01154, allocations: 0 / 0.8895 GB, free: 11.64 MB / 0.8542 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.0009198/0.01246, allocations: 1.017 MB / 0.8905 GB, free: 10.58 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.01249, allocations: 12.03 kB / 0.8905 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.01261, allocations: 112.5 kB / 0.8906 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.01296, allocations: 374.3 kB / 0.891 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.01299, allocations: 37.38 kB / 0.891 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.749e-05/0.01304, allocations: 48.38 kB / 0.8911 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004578/0.01349, allocations: 279.7 kB / 0.8914 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.01351, allocations: 192 / 0.8914 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.901e-05/0.01354, allocations: 24.38 kB / 0.8914 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.01354, allocations: 15.94 kB / 0.8914 GB, free: 9.664 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.01372, allocations: 158.8 kB / 0.8915 GB, free: 9.512 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.01484, allocations: 1.109 MB / 0.8926 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.01503, allocations: 192.4 kB / 0.8928 GB, free: 8.168 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.0152, allocations: 173.1 kB / 0.893 GB, free: 7.996 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.01522, allocations: 8 kB / 0.893 GB, free: 7.988 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.01524, allocations: 42.16 kB / 0.893 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=42): time 2.054e-06/0.01524, allocations: 0 / 0.893 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of matching and sorting (n=42): time 0.0003328/0.01558, allocations: 293.3 kB / 0.8933 GB, free: 7.645 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.01561, allocations: 59.41 kB / 0.8934 GB, free: 7.574 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.01588, allocations: 470.5 kB / 0.8938 GB, free: 7.094 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.01591, allocations: 29.7 kB / 0.8938 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.01606, allocations: 355.2 kB / 0.8942 GB, free: 6.707 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.076e-05/0.01614, allocations: 146.6 kB / 0.8943 GB, free: 6.562 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.594e-05/0.01621, allocations: 71.7 kB / 0.8944 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.01635, allocations: 0.5468 MB / 0.8949 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.518e-05/0.01641, allocations: 44.7 kB / 0.895 GB, free: 5.879 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.604e-05/0.01647, allocations: 45.47 kB / 0.895 GB, free: 5.836 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.01661, allocations: 152.7 kB / 0.8951 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01661, allocations: 0 / 0.8951 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002345/0.01685, allocations: 256.6 kB / 0.8954 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.01686, allocations: 4 kB / 0.8954 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01687, allocations: 4 kB / 0.8954 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.01687, allocations: 0 / 0.8954 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.01715, allocations: 123.9 kB / 0.8955 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.01715, allocations: 3.938 kB / 0.8955 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.01725, allocations: 31.78 kB / 0.8956 GB, free: 5.262 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.01726, allocations: 4 kB / 0.8956 GB, free: 5.258 MB / 0.8542 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.0001094/0.01737, allocations: 180.5 kB / 0.8957 GB, free: 5.07 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-05/0.01744, allocations: 63.72 kB / 0.8958 GB, free: 5.008 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.896e-05/0.0175, allocations: 48.81 kB / 0.8958 GB, free: 4.961 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.0175, allocations: 7.984 kB / 0.8958 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.01751, allocations: 8 kB / 0.8959 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.01751, allocations: 3.938 kB / 0.8959 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003274/0.01784, allocations: 336.8 kB / 0.8962 GB, free: 4.586 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.01784, allocations: 0 / 0.8962 GB, free: 4.586 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002718/0.01811, allocations: 127.8 kB / 0.8963 GB, free: 4.461 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.01812, allocations: 8 kB / 0.8963 GB, free: 4.453 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/0.01813, allocations: 8 kB / 0.8963 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.01813, allocations: 7.938 kB / 0.8963 GB, free: 4.438 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.01814, allocations: 0 / 0.8963 GB, free: 4.438 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003792/0.01851, allocations: 468.4 kB / 0.8968 GB, free: 3.961 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.01857, allocations: 63.53 kB / 0.8968 GB, free: 3.898 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.0186, allocations: 4 kB / 0.8968 GB, free: 3.895 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.0187, allocations: 8 kB / 0.8968 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.01874, allocations: 27.89 kB / 0.8969 GB, free: 3.859 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.01875, allocations: 8 kB / 0.8969 GB, free: 3.852 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001634/0.01892, allocations: 299 kB / 0.8972 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01892, allocations: 0 / 0.8972 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002835/0.0192, allocations: 151.7 kB / 0.8973 GB, free: 3.414 MB / 0.8542 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.0001182/0.01932, allocations: 119.1 kB / 0.8974 GB, free: 3.289 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.01953, allocations: 171.8 kB / 0.8976 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01953, allocations: 0 / 0.8976 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.497e-05/0.01962, allocations: 107.5 kB / 0.8977 GB, free: 3.008 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003766/0.02, allocations: 94.7 kB / 0.8978 GB, free: 2.914 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.02142, allocations: 1.025 MB / 0.8988 GB, free: 1.852 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.697e-05/0.02151, allocations: 129.8 kB / 0.8989 GB, free: 1.703 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001277/0.02164, allocations: 39.38 kB / 0.8989 GB, free: 1.66 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.02182, allocations: 166.1 kB / 0.8991 GB, free: 1.496 MB / 0.8542 GB Notification: Performance of SimCode: time 1.173e-06/0.02182, allocations: 0 / 0.8991 GB, free: 1.496 MB / 0.8542 GB Notification: Performance of Templates: time 0.008325/0.03015, allocations: 5.56 MB / 0.9045 GB, free: 12.08 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.126703337300569]