Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.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.001093/0.001093, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001069/0.001069, allocations: 169 kB / 23.02 MB, free: 1.551 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.9426/0.9426, allocations: 177.1 MB / 203.4 MB, free: 5.637 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 1.988/1.988, allocations: 429.5 MB / 0.6732 GB, free: 4.082 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.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=88001,variableFilter="time|TBouSte.port.T|TBouCon.port.T|TBouPul.port.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=88001,variableFilter="time|TBouSte.port.T|TBouCon.port.T|TBouPul.port.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.8782 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.093e-05/3.29e-05, allocations: 3.344 kB / 0.8782 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.003686/0.003719, allocations: 2.426 MB / 0.8806 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.005044, allocations: 1.045 MB / 0.8816 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.005153, allocations: 7.938 kB / 0.8816 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.005388, allocations: 48.36 kB / 0.8816 GB, free: 2.809 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.005549, allocations: 92.86 kB / 0.8817 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.006022, allocations: 173 kB / 0.8819 GB, free: 2.551 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.006271, allocations: 298.6 kB / 0.8822 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.006381, allocations: 20.58 kB / 0.8822 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.006567, allocations: 177.1 kB / 0.8824 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.059e-05/0.006657, allocations: 83.7 kB / 0.8824 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.006685, allocations: 16 kB / 0.8825 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003067/0.006992, allocations: 111.8 kB / 0.8826 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.927e-05/0.007041, allocations: 51.81 kB / 0.8826 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.414e-05/0.007115, allocations: 67.84 kB / 0.8827 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002942/0.00741, allocations: 255.1 kB / 0.8829 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.007413, allocations: 0 / 0.8829 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.412e-06/0.007414, allocations: 4 kB / 0.8829 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.00742, allocations: 0 / 0.8829 GB, free: 1.484 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0008912/0.008311, allocations: 0.6225 MB / 0.8835 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.008347, allocations: 8.031 kB / 0.8835 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.77e-05/0.008425, allocations: 44.78 kB / 0.8836 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.008682, allocations: 231.6 kB / 0.8838 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.008698, allocations: 12.61 kB / 0.8838 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.008732, allocations: 20.33 kB / 0.8838 GB, free: 492 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.008997, allocations: 203.7 kB / 0.884 GB, free: 256 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.00901, allocations: 4.188 kB / 0.884 GB, free: 252 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.009026, allocations: 4.375 kB / 0.884 GB, free: 248 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.009034, allocations: 7.938 kB / 0.884 GB, free: 240 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.339e-05/0.009128, allocations: 51.83 kB / 0.8841 GB, free: 188 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008698/0.009998, allocations: 1.061 MB / 0.8851 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.01021, allocations: 149.3 kB / 0.8853 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.27e-05/0.01028, allocations: 51.11 kB / 0.8853 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.01029, allocations: 4 kB / 0.8853 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002129/0.0105, allocations: 191 kB / 0.8855 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=23): time 1.483e-06/0.0105, allocations: 0 / 0.8855 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.0003872/0.01089, allocations: 269.3 kB / 0.8858 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.01095, allocations: 118.8 kB / 0.8859 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.01112, allocations: 292.2 kB / 0.8862 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.01114, allocations: 37.64 kB / 0.8862 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.938e-05/0.01123, allocations: 195.3 kB / 0.8864 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.01127, allocations: 63.53 kB / 0.8864 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.275e-05/0.01134, allocations: 75.72 kB / 0.8865 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.01148, allocations: 0.5157 MB / 0.887 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.151e-05/0.01156, allocations: 66.55 kB / 0.8871 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.01172, allocations: 322.6 kB / 0.8874 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.01199, allocations: 392.9 kB / 0.8878 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.01199, allocations: 0 / 0.8878 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003602/0.01236, allocations: 372.5 kB / 0.8881 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/0.01239, allocations: 37.69 kB / 0.8881 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.0124, allocations: 8 kB / 0.8882 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.01242, allocations: 8 kB / 0.8882 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.01259, allocations: 79.84 kB / 0.8882 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.0126, allocations: 16.55 kB / 0.8883 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.01272, allocations: 43.73 kB / 0.8883 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.01275, allocations: 20.39 kB / 0.8883 GB, free: 11.37 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 32 (TBouSte.QAve_flow,$PRE.TBouSte.QAve_flow,TBouSte.UOld,$PRE.TBouSte.UOld,TBouSte.port.T,$PRE.TBouSte.port.T,TBouSte.iSam,$PRE.TBouSte.iSam,$whenCondition4,TBouCon.QAve_flow,$PRE.TBouCon.QAve_flow,TBouCon.UOld,$PRE.TBouCon.UOld,TBouCon.port.T,$PRE.TBouCon.port.T,TBouCon.iSam,$PRE.TBouCon.iSam,$whenCondition3,TBouPul.QAve_flow,$PRE.TBouPul.QAve_flow,TBouPul.UOld,$PRE.TBouPul.UOld,TBouPul.port.T,$PRE.TBouPul.port.T,TBouPul.iSam,$PRE.TBouPul.iSam,$whenCondition1,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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.0001159/0.01287, allocations: 198.9 kB / 0.8885 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.6e-05/0.0129, allocations: 35.84 kB / 0.8885 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.48e-05/0.01295, allocations: 25.78 kB / 0.8886 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.01295, allocations: 0 / 0.8886 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.01296, allocations: 7.984 kB / 0.8886 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.01296, allocations: 4 kB / 0.8886 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.01313, allocations: 208.3 kB / 0.8888 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01313, allocations: 0 / 0.8888 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.009e-05/0.01319, allocations: 19.92 kB / 0.8888 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01319, allocations: 4 kB / 0.8888 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.885e-05/0.01321, allocations: 11.98 kB / 0.8888 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.01321, allocations: 0 / 0.8888 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.01321, allocations: 4 kB / 0.8888 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.01357, allocations: 323.2 kB / 0.8891 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.424e-05/0.01359, allocations: 19.86 kB / 0.8891 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.01362, allocations: 15.98 kB / 0.8892 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.502e-05/0.0137, allocations: 16.23 kB / 0.8892 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.724e-05/0.01376, allocations: 19.97 kB / 0.8892 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.01377, allocations: 11.98 kB / 0.8892 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.018e-05/0.01386, allocations: 197.1 kB / 0.8894 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01386, allocations: 0 / 0.8894 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002745/0.01414, allocations: 79.88 kB / 0.8895 GB, free: 10.12 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TBouSte.U,TBouCon.U,TBouPul.U) * Number of discrete variables: 18 ($whenCondition4,TBouSte.QAve_flow,TBouSte.port.T,TBouSte.UOld,TBouSte.iSam,$whenCondition3,TBouCon.QAve_flow,TBouCon.port.T,TBouCon.UOld,TBouCon.iSam,$whenCondition2,$whenCondition1,TBouPul.QAve_flow,TBouPul.port.T,TBouPul.UOld,TBouPul.iSam,pulse.T_start,pulse.count) * Number of discrete states: 7 (TBouPul.iSam,TBouPul.UOld,pulse.count,TBouCon.iSam,TBouCon.UOld,TBouSte.iSam,TBouSte.UOld) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0003205/0.01446, allocations: 182.3 kB / 0.8896 GB, free: 9.934 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00043/0.01489, allocations: 254.7 kB / 0.8899 GB, free: 9.664 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01489, allocations: 4.438 kB / 0.8899 GB, free: 9.66 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.784e-05/0.01498, allocations: 79.52 kB / 0.89 GB, free: 9.578 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.01523, allocations: 56.39 kB / 0.89 GB, free: 9.523 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009942/0.01622, allocations: 0.5474 MB / 0.8906 GB, free: 8.938 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.305e-05/0.01627, allocations: 76.64 kB / 0.8906 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.692e-05/0.01636, allocations: 55.06 kB / 0.8907 GB, free: 8.789 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.01641, allocations: 24.5 kB / 0.8907 GB, free: 8.766 MB / 0.8542 GB Notification: Performance of SimCode: time 1.433e-06/0.01641, allocations: 0 / 0.8907 GB, free: 8.766 MB / 0.8542 GB Notification: Performance of Templates: time 0.006729/0.02314, allocations: 4.642 MB / 0.8952 GB, free: 4.262 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.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: 6.417184352874756]