Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009482/0.0009482, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009648/0.0009648, allocations: 161 kB / 23.82 MB, free: 0.75 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.9449/0.9449, allocations: 177.1 MB / 204.2 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.759/1.759, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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=88097,variableFilter="time|TBouSte.port.T|TBouCon.port.T|TBouPul.port.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=88097,variableFilter="time|TBouSte.port.T|TBouCon.port.T|TBouPul.port.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 0.7871 GB, free: 11.36 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.026e-05/2.142e-05, allocations: 3.281 kB / 0.7871 GB, free: 11.36 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.00263/0.002651, allocations: 2.411 MB / 0.7895 GB, free: 8.949 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.003805, allocations: 1.038 MB / 0.7905 GB, free: 7.91 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.878e-05/0.003893, allocations: 11.88 kB / 0.7905 GB, free: 7.898 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002002/0.004094, allocations: 39.64 kB / 0.7905 GB, free: 7.859 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001367/0.00423, allocations: 98.14 kB / 0.7906 GB, free: 7.766 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004068/0.004637, allocations: 163.4 kB / 0.7908 GB, free: 7.605 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.00487, allocations: 302.1 kB / 0.7911 GB, free: 7.312 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.571e-05/0.004966, allocations: 20.58 kB / 0.7911 GB, free: 7.293 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.005143, allocations: 171.5 kB / 0.7912 GB, free: 7.125 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.175e-05/0.005235, allocations: 91.7 kB / 0.7913 GB, free: 7.035 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.005263, allocations: 16 kB / 0.7914 GB, free: 7.02 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002643/0.005527, allocations: 115.8 kB / 0.7915 GB, free: 6.906 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.38e-05/0.005571, allocations: 47.81 kB / 0.7915 GB, free: 6.859 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.479e-05/0.005646, allocations: 83.77 kB / 0.7916 GB, free: 6.777 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.00593, allocations: 255.2 kB / 0.7918 GB, free: 6.527 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.005933, allocations: 0.5312 kB / 0.7918 GB, free: 6.527 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.91e-07/0.005933, allocations: 0.6875 kB / 0.7918 GB, free: 6.527 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.005937, allocations: 3.938 kB / 0.7918 GB, free: 6.523 MB / 0.698 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.0006443/0.006582, allocations: 0.6234 MB / 0.7924 GB, free: 5.859 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.006615, allocations: 12.03 kB / 0.7925 GB, free: 5.848 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.762e-05/0.006682, allocations: 41.72 kB / 0.7925 GB, free: 5.809 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.006972, allocations: 244.3 kB / 0.7927 GB, free: 5.547 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.00699, allocations: 17.98 kB / 0.7927 GB, free: 5.531 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.759e-05/0.007027, allocations: 28.34 kB / 0.7928 GB, free: 5.504 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.007256, allocations: 199.9 kB / 0.793 GB, free: 5.277 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.007267, allocations: 1.406 kB / 0.793 GB, free: 5.277 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.007282, allocations: 4.375 kB / 0.793 GB, free: 5.273 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.007294, allocations: 11.92 kB / 0.793 GB, free: 5.262 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.891e-05/0.007382, allocations: 52.44 kB / 0.793 GB, free: 5.211 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006887/0.008071, allocations: 1.054 MB / 0.7941 GB, free: 4.098 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.008272, allocations: 153.3 kB / 0.7942 GB, free: 3.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.342e-05/0.008336, allocations: 56.05 kB / 0.7943 GB, free: 3.844 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.008344, allocations: 4 kB / 0.7943 GB, free: 3.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.008549, allocations: 176.4 kB / 0.7944 GB, free: 3.645 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 1.683e-06/0.008551, allocations: 0 / 0.7944 GB, free: 3.645 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.0003674/0.008918, allocations: 269.3 kB / 0.7947 GB, free: 3.375 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.008966, allocations: 125.8 kB / 0.7948 GB, free: 3.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.00913, allocations: 284.3 kB / 0.7951 GB, free: 2.934 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.009152, allocations: 37.7 kB / 0.7951 GB, free: 2.891 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.304e-05/0.009235, allocations: 195.3 kB / 0.7953 GB, free: 2.691 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.009276, allocations: 67.53 kB / 0.7954 GB, free: 2.625 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.525e-05/0.009351, allocations: 79.72 kB / 0.7954 GB, free: 2.535 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.009474, allocations: 0.5156 MB / 0.7959 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.768e-05/0.009552, allocations: 62.55 kB / 0.796 GB, free: 1.941 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.009719, allocations: 322.7 kB / 0.7963 GB, free: 1.512 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.009985, allocations: 392.3 kB / 0.7967 GB, free: 1.016 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.009989, allocations: 5.219 kB / 0.7967 GB, free: 1.012 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000344/0.01033, allocations: 370.2 kB / 0.797 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.01036, allocations: 37.7 kB / 0.7971 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.01037, allocations: 4 kB / 0.7971 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.01038, allocations: 11.94 kB / 0.7971 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.01054, allocations: 79.89 kB / 0.7972 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.01055, allocations: 12.81 kB / 0.7972 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.01067, allocations: 48.83 kB / 0.7972 GB, free: 452 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.01069, allocations: 16 kB / 0.7972 GB, free: 436 kB / 0.698 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 9.861e-05/0.01078, allocations: 204 kB / 0.7974 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.01082, allocations: 36.89 kB / 0.7975 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.01086, allocations: 29.77 kB / 0.7975 GB, free: 160 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.01086, allocations: 4 kB / 0.7975 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.01086, allocations: 1.219 kB / 0.7975 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.01087, allocations: 3.984 kB / 0.7975 GB, free: 152 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.01104, allocations: 208.9 kB / 0.7977 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01104, allocations: 0 / 0.7977 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.894e-05/0.01109, allocations: 16.58 kB / 0.7977 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.01109, allocations: 1.375 kB / 0.7977 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.01111, allocations: 7.984 kB / 0.7977 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.01111, allocations: 4 kB / 0.7977 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.01111, allocations: 3.938 kB / 0.7977 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003536/0.01147, allocations: 320.6 kB / 0.7981 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.355e-05/0.01149, allocations: 31.78 kB / 0.7981 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.01152, allocations: 8 kB / 0.7981 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.527e-05/0.01159, allocations: 13.08 kB / 0.7981 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-05/0.01164, allocations: 19.97 kB / 0.7981 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.01165, allocations: 16.64 kB / 0.7981 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.156e-05/0.01174, allocations: 189.1 kB / 0.7983 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01174, allocations: 4.75 kB / 0.7983 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002599/0.012, allocations: 95.81 kB / 0.7984 GB, free: 15.17 MB / 0.7136 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.0002486/0.01225, allocations: 173.3 kB / 0.7986 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002674/0.01252, allocations: 269.2 kB / 0.7988 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.01252, allocations: 0 / 0.7988 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.567e-05/0.01261, allocations: 67.59 kB / 0.7989 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.01285, allocations: 69.88 kB / 0.799 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008817/0.01373, allocations: 0.5304 MB / 0.7995 GB, free: 14 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.255e-05/0.01378, allocations: 88.48 kB / 0.7996 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.571e-05/0.01386, allocations: 54.89 kB / 0.7996 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.096e-05/0.0139, allocations: 24.5 kB / 0.7996 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of SimCode: time 8.52e-07/0.0139, allocations: 0 / 0.7996 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of Templates: time 0.005993/0.0199, allocations: 4.318 MB / 0.8039 GB, free: 9.637 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.281529888976365]