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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|TBouSte.port.T|TBouCon.port.T|TBouPul.port.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 113.1 kB / 16.42 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 189.5 kB / 17.35 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.67/2.67, allocations: 472.7 MB / 0.746 GB, free: 436 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 71.88 kB / 1.07 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7148/0.7162, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.003613/0.7199, allocations: 2.334 MB / 1.229 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.7215, allocations: 1.005 MB / 1.23 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.7217, allocations: 7.938 kB / 1.23 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.722, allocations: 55.62 kB / 1.23 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001953/0.7222, allocations: 79.33 kB / 1.23 GB, free: 10.02 MB / 0.9512 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Fluid/Geothermal/Boreholes/BaseClasses/temperatureDrop.mo:2:1-109:20:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Boreholes.BaseClasses.temperatureDrop' contains a call to impure function 'Buildings.Fluid.Geothermal.Boreholes.BaseClasses.exchangeValues'. Notification: Performance of NFTyping.typeClassSections: time 0.0005176/0.7227, allocations: 163.5 kB / 1.23 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00031/0.723, allocations: 290.8 kB / 1.23 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.7231, allocations: 40.23 kB / 1.23 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.7233, allocations: 123.5 kB / 1.23 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.7235, allocations: 107.5 kB / 1.23 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.593e-05/0.7235, allocations: 16 kB / 1.23 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/0.7238, allocations: 115.8 kB / 1.231 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.279e-05/0.7239, allocations: 51.77 kB / 1.231 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.724, allocations: 119.4 kB / 1.231 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004168/0.7244, allocations: 311.3 kB / 1.231 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.7245, allocations: 4 kB / 1.231 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7245, allocations: 0 / 1.231 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.7245, allocations: 0 / 1.231 GB, free: 8.707 MB / 0.9512 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.001006/0.7255, allocations: 0.6095 MB / 1.232 GB, free: 8.043 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.7255, allocations: 8.031 kB / 1.232 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.086e-05/0.7256, allocations: 36.73 kB / 1.232 GB, free: 8 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004837/0.7261, allocations: 287.2 kB / 1.232 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.7261, allocations: 16.59 kB / 1.232 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.844e-05/0.7262, allocations: 24.38 kB / 1.232 GB, free: 7.637 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004044/0.7266, allocations: 200.6 kB / 1.232 GB, free: 7.418 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.7266, allocations: 4 kB / 1.232 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.7267, allocations: 4 kB / 1.232 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.7267, allocations: 4 kB / 1.232 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003472/0.727, allocations: 119.8 kB / 1.232 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.7281, allocations: 0.8684 MB / 1.233 GB, free: 6.352 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004857/0.7286, allocations: 203.9 kB / 1.233 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.7288, allocations: 86.53 kB / 1.233 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.7288, allocations: 4 kB / 1.233 GB, free: 6.027 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003793/0.7292, allocations: 200 kB / 1.234 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=23): time 2.554e-06/0.7292, allocations: 0 / 1.234 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.0008715/0.7301, allocations: 357.3 kB / 1.234 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.7302, allocations: 118.8 kB / 1.234 GB, free: 5.316 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.7304, allocations: 254.8 kB / 1.234 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.7304, allocations: 37.7 kB / 1.234 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.7305, allocations: 140.7 kB / 1.234 GB, free: 4.879 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/0.7306, allocations: 67.45 kB / 1.235 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.7307, allocations: 77.95 kB / 1.235 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.7309, allocations: 346.8 kB / 1.235 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.7311, allocations: 76.77 kB / 1.235 GB, free: 4.305 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/0.7314, allocations: 255.1 kB / 1.235 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005573/0.732, allocations: 384.5 kB / 1.236 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/0.732, allocations: 4 kB / 1.236 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007393/0.7327, allocations: 394.5 kB / 1.236 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/0.7328, allocations: 38.52 kB / 1.236 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.7328, allocations: 8 kB / 1.236 GB, free: 3.059 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.7328, allocations: 12 kB / 1.236 GB, free: 3.047 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.7331, allocations: 67.83 kB / 1.236 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.7331, allocations: 11.94 kB / 1.236 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.7334, allocations: 43.77 kB / 1.236 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.7334, allocations: 20 kB / 1.236 GB, free: 2.906 MB / 0.9512 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.000155/0.7336, allocations: 164.4 kB / 1.236 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/0.7336, allocations: 27.81 kB / 1.236 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.547e-05/0.7337, allocations: 25.7 kB / 1.236 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.7337, allocations: 0 / 1.236 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.7337, allocations: 4 kB / 1.236 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.274e-05/0.7338, allocations: 108.8 kB / 1.237 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.148e-05/0.7338, allocations: 8 kB / 1.237 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.734, allocations: 15.97 kB / 1.237 GB, free: 2.531 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.182e-05/0.7341, allocations: 19.98 kB / 1.237 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008221/0.7349, allocations: 0.5148 MB / 1.237 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009457/0.7359, allocations: 0.6844 MB / 1.238 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002429/0.7361, allocations: 100.2 kB / 1.238 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001382/0.7363, allocations: 166 kB / 1.238 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of Backend: time 8.82e-07/0.7363, allocations: 0 / 1.238 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001147/0.7374, allocations: 375.6 kB / 1.238 GB, free: 0.6445 MB / 0.9512 GB Notification: Performance of SimCode: time 0.00114/0.7386, allocations: 1.018 MB / 1.239 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of Templates: time 0.008413/0.747, allocations: 3.942 MB / 1.243 GB, free: 11.7 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches