Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001291/0.001291, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001426/0.001426, allocations: 173 kB / 23.49 MB, free: 1.062 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.8952/0.8952, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.155/2.155, allocations: 429.5 MB / 0.6736 GB, free: 4.016 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 0.8782 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.93e-05/3.139e-05, allocations: 8.969 kB / 0.8783 GB, free: 6.562 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00391/0.003942, allocations: 3.131 MB / 0.8813 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002244/0.006186, allocations: 2.136 MB / 0.8834 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/0.006365, allocations: 7.938 kB / 0.8834 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.007559, allocations: 475.1 kB / 0.8839 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.007732, allocations: 157.3 kB / 0.884 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 9.862e-05/0.007831, allocations: 59.92 kB / 0.8841 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003731/0.008204, allocations: 464.6 kB / 0.8845 GB, free: 172 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.008397, allocations: 99.84 kB / 0.8846 GB, free: 68 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003129/0.00871, allocations: 247.4 kB / 0.8848 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.0089, allocations: 139.6 kB / 0.885 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.983e-05/0.00894, allocations: 36 kB / 0.885 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.162e-05/0.008982, allocations: 36 kB / 0.885 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.009084, allocations: 99.61 kB / 0.8851 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.0092, allocations: 135.7 kB / 0.8853 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.009498, allocations: 290.8 kB / 0.8855 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.009501, allocations: 4 kB / 0.8856 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.173e-06/0.009502, allocations: 0 / 0.8856 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.009509, allocations: 4 kB / 0.8856 GB, free: 15.09 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008043/0.01031, allocations: 0.7368 MB / 0.8863 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.01036, allocations: 16.02 kB / 0.8863 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.664e-05/0.01044, allocations: 72.55 kB / 0.8864 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.01081, allocations: 302.8 kB / 0.8866 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.01083, allocations: 12.88 kB / 0.8867 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.942e-05/0.01087, allocations: 24.38 kB / 0.8867 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.01112, allocations: 161.3 kB / 0.8868 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.01113, allocations: 192 / 0.8868 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.01115, allocations: 8.375 kB / 0.8868 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.285e-05/0.01117, allocations: 7.938 kB / 0.8869 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002573/0.01142, allocations: 82.94 kB / 0.8869 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008085/0.01223, allocations: 0.698 MB / 0.8876 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.0124, allocations: 95.12 kB / 0.8877 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.224e-05/0.01249, allocations: 67.64 kB / 0.8878 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.0125, allocations: 4 kB / 0.8878 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.01253, allocations: 37.33 kB / 0.8878 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.552e-06/0.01253, allocations: 0 / 0.8878 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0003056/0.01284, allocations: 168.1 kB / 0.888 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.01287, allocations: 55.41 kB / 0.888 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003351/0.0132, allocations: 438.8 kB / 0.8884 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.01322, allocations: 37.7 kB / 0.8885 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.01336, allocations: 267.2 kB / 0.8887 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.141e-05/0.01341, allocations: 67.38 kB / 0.8888 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.01346, allocations: 39.38 kB / 0.8888 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.01363, allocations: 0.5352 MB / 0.8894 GB, free: 11 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.719e-05/0.01368, allocations: 23.98 kB / 0.8894 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.602e-05/0.01372, allocations: 32.73 kB / 0.8894 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.01383, allocations: 73.56 kB / 0.8895 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.01383, allocations: 0 / 0.8895 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001711/0.014, allocations: 151.1 kB / 0.8896 GB, free: 10.72 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.01402, allocations: 8 kB / 0.8896 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.01403, allocations: 4 kB / 0.8896 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.01405, allocations: 0 / 0.8896 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.01422, allocations: 51.91 kB / 0.8897 GB, free: 10.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.01423, allocations: 3.938 kB / 0.8897 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.317e-05/0.01429, allocations: 11.94 kB / 0.8897 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.0143, allocations: 4 kB / 0.8897 GB, free: 10.64 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 (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 0.0001023/0.0144, allocations: 160.6 kB / 0.8899 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-05/0.01444, allocations: 43.77 kB / 0.8899 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.328e-05/0.01449, allocations: 43.39 kB / 0.8899 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.0145, allocations: 4 kB / 0.8899 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.0145, allocations: 3.938 kB / 0.8899 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.01451, allocations: 4 kB / 0.89 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.01478, allocations: 304.3 kB / 0.8902 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01478, allocations: 4 kB / 0.8902 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.01491, allocations: 47.97 kB / 0.8903 GB, free: 9.992 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.01492, allocations: 3.984 kB / 0.8903 GB, free: 9.988 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.01493, allocations: 4 kB / 0.8903 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.01494, allocations: 0 / 0.8903 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01494, allocations: 4 kB / 0.8903 GB, free: 9.98 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.01523, allocations: 333.6 kB / 0.8906 GB, free: 9.637 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/0.01527, allocations: 43.69 kB / 0.8907 GB, free: 9.594 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.0153, allocations: 4 kB / 0.8907 GB, free: 9.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.771e-05/0.01536, allocations: 4 kB / 0.8907 GB, free: 9.586 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.01541, allocations: 11.97 kB / 0.8907 GB, free: 9.574 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.01542, allocations: 8 kB / 0.8907 GB, free: 9.566 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001907/0.01561, allocations: 283.1 kB / 0.891 GB, free: 9.289 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01561, allocations: 0 / 0.891 GB, free: 9.289 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000198/0.01581, allocations: 71.89 kB / 0.891 GB, free: 9.219 MB / 0.8542 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 0.0001008/0.01591, allocations: 111.2 kB / 0.8911 GB, free: 9.098 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001718/0.01608, allocations: 97.72 kB / 0.8912 GB, free: 9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.01608, allocations: 0 / 0.8912 GB, free: 9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.276e-05/0.01614, allocations: 55.59 kB / 0.8913 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.01651, allocations: 80.95 kB / 0.8914 GB, free: 8.867 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.01754, allocations: 0.6545 MB / 0.892 GB, free: 8.188 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.252e-05/0.0176, allocations: 96.3 kB / 0.8921 GB, free: 8.074 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.043e-05/0.01767, allocations: 34.91 kB / 0.8921 GB, free: 8.039 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.062e-05/0.01772, allocations: 24.5 kB / 0.8921 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of SimCode: time 8.51e-07/0.01773, allocations: 0 / 0.8921 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of Templates: time 0.006465/0.02419, allocations: 3.659 MB / 0.8957 GB, free: 4.48 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.719336298061535]