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.0009841/0.0009841, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.001014/0.001014, allocations: 170 kB / 23.27 MB, free: 1.223 MB / 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.8986/0.8986, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.237/2.237, allocations: 438.1 MB / 0.682 GB, free: 14.15 MB / 0.6511 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.623e-06/1.623e-06, allocations: 0 / 0.8898 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.746e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005291/0.005318, allocations: 4.171 MB / 0.8939 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003666/0.008984, allocations: 2.374 MB / 0.8962 GB, free: 3.113 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003308/0.009315, allocations: 11.94 kB / 0.8962 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.01086, allocations: 0.5284 MB / 0.8967 GB, free: 2.57 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0004698/0.01132, allocations: 253.9 kB / 0.897 GB, free: 2.32 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.01156, allocations: 139.8 kB / 0.8971 GB, free: 2.184 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0007749/0.01233, allocations: 0.8366 MB / 0.8979 GB, free: 1.34 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003854/0.01272, allocations: 223 kB / 0.8981 GB, free: 1.121 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006336/0.01335, allocations: 463 kB / 0.8986 GB, free: 0.668 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003356/0.01369, allocations: 259.2 kB / 0.8988 GB, free: 424 kB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.088e-05/0.01377, allocations: 72 kB / 0.8989 GB, free: 352 kB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.01387, allocations: 76 kB / 0.899 GB, free: 276 kB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.01403, allocations: 175.4 kB / 0.8991 GB, free: 100 kB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000266/0.0143, allocations: 263.5 kB / 0.8994 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005754/0.01487, allocations: 0.5098 MB / 0.8999 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.01488, allocations: 0 / 0.8999 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.162e-06/0.01488, allocations: 0 / 0.8999 GB, free: 15.33 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.01488, allocations: 0 / 0.8999 GB, free: 15.33 MB / 0.8698 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.001186/0.01607, allocations: 1.005 MB / 0.9009 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.01611, allocations: 12.62 kB / 0.9009 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.01625, allocations: 120.5 kB / 0.901 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005656/0.01682, allocations: 370.3 kB / 0.9013 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/0.01685, allocations: 41.38 kB / 0.9014 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-05/0.01691, allocations: 48.38 kB / 0.9014 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004215/0.01733, allocations: 279.7 kB / 0.9017 GB, free: 13.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.01735, allocations: 4.172 kB / 0.9017 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.01738, allocations: 16.38 kB / 0.9017 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.0174, allocations: 15.94 kB / 0.9017 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002657/0.01766, allocations: 158.8 kB / 0.9019 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.01913, allocations: 1.109 MB / 0.903 GB, free: 12.07 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.01939, allocations: 191.9 kB / 0.9032 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.01963, allocations: 172.2 kB / 0.9033 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.01965, allocations: 12 kB / 0.9033 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.01967, allocations: 42.02 kB / 0.9034 GB, free: 11.63 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=42): time 2.174e-06/0.01968, allocations: 0 / 0.9034 GB, free: 11.63 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42): time 0.0004659/0.02014, allocations: 285.9 kB / 0.9036 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/0.02017, allocations: 59.41 kB / 0.9037 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004161/0.02059, allocations: 463.2 kB / 0.9041 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.02061, allocations: 29.7 kB / 0.9042 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.02082, allocations: 363.2 kB / 0.9045 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.02093, allocations: 146.7 kB / 0.9047 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.514e-05/0.02103, allocations: 67.7 kB / 0.9047 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.02122, allocations: 0.5508 MB / 0.9053 GB, free: 9.629 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.176e-05/0.0213, allocations: 48.7 kB / 0.9053 GB, free: 9.582 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.706e-05/0.02137, allocations: 49.34 kB / 0.9053 GB, free: 9.535 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.02158, allocations: 144.8 kB / 0.9055 GB, free: 9.391 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.02158, allocations: 0 / 0.9055 GB, free: 9.391 MB / 0.8698 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003273/0.02191, allocations: 256.6 kB / 0.9057 GB, free: 9.133 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.02192, allocations: 8 kB / 0.9057 GB, free: 9.125 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.02193, allocations: 0 / 0.9057 GB, free: 9.125 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.02194, allocations: 0 / 0.9057 GB, free: 9.125 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/0.02233, allocations: 123.9 kB / 0.9059 GB, free: 9.004 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.02234, allocations: 11.94 kB / 0.9059 GB, free: 8.992 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.02247, allocations: 27.72 kB / 0.9059 GB, free: 8.965 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.02248, allocations: 15.98 kB / 0.9059 GB, free: 8.949 MB / 0.8698 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.0001303/0.02261, allocations: 172.5 kB / 0.9061 GB, free: 8.77 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.519e-05/0.02269, allocations: 59.67 kB / 0.9061 GB, free: 8.711 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.876e-05/0.02277, allocations: 52.81 kB / 0.9062 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.02277, allocations: 7.984 kB / 0.9062 GB, free: 8.648 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.02278, allocations: 0 / 0.9062 GB, free: 8.648 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.02278, allocations: 3.938 kB / 0.9062 GB, free: 8.645 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004304/0.02321, allocations: 340.9 kB / 0.9065 GB, free: 8.285 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.02322, allocations: 4 kB / 0.9065 GB, free: 8.281 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003739/0.02359, allocations: 123.9 kB / 0.9066 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.02359, allocations: 0 / 0.9066 GB, free: 8.16 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.02362, allocations: 8 kB / 0.9066 GB, free: 8.152 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.02362, allocations: 0 / 0.9066 GB, free: 8.152 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.02363, allocations: 4 kB / 0.9067 GB, free: 8.148 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005174/0.02414, allocations: 483 kB / 0.9071 GB, free: 7.656 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.489e-05/0.02422, allocations: 63.56 kB / 0.9072 GB, free: 7.594 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.02426, allocations: 7.938 kB / 0.9072 GB, free: 7.586 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.02441, allocations: 16 kB / 0.9072 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.02446, allocations: 27.95 kB / 0.9072 GB, free: 7.543 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.02448, allocations: 4 kB / 0.9072 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002261/0.0247, allocations: 295 kB / 0.9075 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.0247, allocations: 0 / 0.9075 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003803/0.02508, allocations: 143.7 kB / 0.9076 GB, free: 7.113 MB / 0.8698 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.0001358/0.02522, allocations: 123 kB / 0.9078 GB, free: 6.98 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002691/0.02549, allocations: 167.7 kB / 0.9079 GB, free: 6.812 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.02549, allocations: 8 kB / 0.9079 GB, free: 6.805 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.02563, allocations: 107.6 kB / 0.908 GB, free: 6.695 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.02613, allocations: 89.59 kB / 0.9081 GB, free: 6.602 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.02785, allocations: 1.027 MB / 0.9091 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.02796, allocations: 125.8 kB / 0.9092 GB, free: 5.398 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001512/0.02811, allocations: 47.38 kB / 0.9093 GB, free: 5.352 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/0.02836, allocations: 166.1 kB / 0.9094 GB, free: 5.188 MB / 0.8698 GB Notification: Performance of SimCode: time 6.71e-07/0.02836, allocations: 0 / 0.9094 GB, free: 5.188 MB / 0.8698 GB Notification: Performance of Templates: time 0.01027/0.03862, allocations: 5.414 MB / 0.9147 GB, free: 15.96 MB / 0.8855 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.104440100025386]