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.001058/0.001058, 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.001041/0.001041, 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.9286/0.9286, allocations: 177.1 MB / 203.4 MB, free: 5.57 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.063/2.063, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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.383e-06/1.383e-06, allocations: 0 / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.137e-05/2.275e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.003122/0.003144, allocations: 2.427 MB / 0.8806 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.004463, allocations: 1.044 MB / 0.8816 GB, free: 2.816 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.004576, allocations: 12.91 kB / 0.8816 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.004791, allocations: 47.69 kB / 0.8816 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.004937, allocations: 85.62 kB / 0.8817 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.005376, allocations: 168.5 kB / 0.8819 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.005632, allocations: 302.6 kB / 0.8822 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.652e-05/0.005729, allocations: 24.58 kB / 0.8822 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004483/0.006177, allocations: 164.6 kB / 0.8823 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.311e-05/0.00627, allocations: 91.69 kB / 0.8824 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.799e-05/0.006298, allocations: 16 kB / 0.8824 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002937/0.006592, allocations: 124.4 kB / 0.8826 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.9e-05/0.006631, allocations: 48.39 kB / 0.8826 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.377e-05/0.006705, allocations: 75.77 kB / 0.8827 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.006994, allocations: 260.7 kB / 0.8829 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.006998, allocations: 4 kB / 0.8829 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.152e-06/0.006999, allocations: 3.938 kB / 0.8829 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.007004, allocations: 0 / 0.8829 GB, free: 1.418 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.0006741/0.007678, allocations: 0.6217 MB / 0.8835 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.007711, allocations: 8.031 kB / 0.8836 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.876e-05/0.00778, allocations: 40.78 kB / 0.8836 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.008081, allocations: 247.8 kB / 0.8838 GB, free: 448 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.008095, allocations: 12.61 kB / 0.8838 GB, free: 436 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.008133, allocations: 21.77 kB / 0.8839 GB, free: 416 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.00839, allocations: 199.7 kB / 0.884 GB, free: 184 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.008402, allocations: 192 / 0.884 GB, free: 184 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.008418, allocations: 8.906 kB / 0.8841 GB, free: 176 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.679e-06/0.008428, allocations: 7.938 kB / 0.8841 GB, free: 168 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.476e-05/0.008523, allocations: 45.48 kB / 0.8841 GB, free: 124 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007612/0.009284, allocations: 1.058 MB / 0.8851 GB, free: 15 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002137/0.009498, allocations: 161.3 kB / 0.8853 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.432e-05/0.009562, allocations: 51.69 kB / 0.8853 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/0.009573, allocations: 11.94 kB / 0.8854 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002121/0.009785, allocations: 181.6 kB / 0.8855 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=23): time 1.774e-06/0.009786, allocations: 0 / 0.8855 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.0003846/0.01017, allocations: 265.5 kB / 0.8858 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.01022, allocations: 118.7 kB / 0.8859 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.0104, allocations: 284.3 kB / 0.8862 GB, free: 13.83 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.01042, allocations: 41.7 kB / 0.8862 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.517e-05/0.01051, allocations: 199.3 kB / 0.8864 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.01055, allocations: 59.58 kB / 0.8865 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.171e-05/0.01062, allocations: 83.67 kB / 0.8865 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.01074, allocations: 0.5117 MB / 0.887 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.957e-05/0.01082, allocations: 70.55 kB / 0.8871 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.01099, allocations: 322.5 kB / 0.8874 GB, free: 12.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.01125, allocations: 392.9 kB / 0.8878 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.01126, allocations: 0 / 0.8878 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003518/0.01161, allocations: 372.2 kB / 0.8881 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.01164, allocations: 38.5 kB / 0.8882 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.01165, allocations: 4 kB / 0.8882 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.01167, allocations: 16 kB / 0.8882 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.01183, allocations: 79.84 kB / 0.8883 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.01184, allocations: 15.92 kB / 0.8883 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.01196, allocations: 39.72 kB / 0.8883 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.01198, allocations: 24.38 kB / 0.8883 GB, free: 11.3 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.0001111/0.01209, allocations: 199 kB / 0.8885 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/0.01213, allocations: 39.84 kB / 0.8886 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.713e-05/0.01218, allocations: 21.78 kB / 0.8886 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.01218, allocations: 7.984 kB / 0.8886 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.01219, allocations: 0 / 0.8886 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.01219, allocations: 4 kB / 0.8886 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.01237, allocations: 200.4 kB / 0.8888 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01237, allocations: 0 / 0.8888 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.259e-05/0.01242, allocations: 15.98 kB / 0.8888 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01243, allocations: 4 kB / 0.8888 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.01245, allocations: 11.98 kB / 0.8888 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01245, allocations: 0 / 0.8888 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.01245, allocations: 4 kB / 0.8888 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006223/0.01307, allocations: 329.7 kB / 0.8891 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.167e-05/0.01309, allocations: 15.86 kB / 0.8892 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.01312, allocations: 19.98 kB / 0.8892 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.112e-05/0.0132, allocations: 11.98 kB / 0.8892 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.562e-05/0.01325, allocations: 19.97 kB / 0.8892 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.01326, allocations: 11.98 kB / 0.8892 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.568e-05/0.01336, allocations: 197.1 kB / 0.8894 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01336, allocations: 0 / 0.8894 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002696/0.01363, allocations: 79.88 kB / 0.8895 GB, free: 10.06 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.0002802/0.01391, allocations: 184.8 kB / 0.8897 GB, free: 9.871 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002723/0.01418, allocations: 262.2 kB / 0.8899 GB, free: 9.594 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01418, allocations: 0 / 0.8899 GB, free: 9.594 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.867e-05/0.01427, allocations: 75.56 kB / 0.89 GB, free: 9.516 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002598/0.01453, allocations: 69.44 kB / 0.8901 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009695/0.0155, allocations: 0.5376 MB / 0.8906 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.66e-05/0.01555, allocations: 80.64 kB / 0.8907 GB, free: 8.773 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.952e-05/0.01564, allocations: 54.94 kB / 0.8907 GB, free: 8.719 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.694e-05/0.01568, allocations: 24.5 kB / 0.8907 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of SimCode: time 6.71e-07/0.01569, allocations: 0 / 0.8907 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of Templates: time 0.006862/0.02255, allocations: 4.309 MB / 0.8949 GB, free: 4.523 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.575787807349116]