Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001134/0.001134, allocations: 109.5 kB / 16.41 MB, free: 6.441 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.001043/0.001043, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.178/2.178, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 55.91 kB / 0.9516 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6837/0.685, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.003049/0.6881, allocations: 2.345 MB / 1.091 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.6894, allocations: 1.008 MB / 1.092 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.6895, allocations: 8.812 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.6897, allocations: 54.56 kB / 1.092 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001569/0.6899, allocations: 81.55 kB / 1.092 GB, free: 3.094 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.0004341/0.6903, allocations: 161 kB / 1.092 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.6906, allocations: 295.7 kB / 1.092 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.6907, allocations: 35.92 kB / 1.093 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.6909, allocations: 117.9 kB / 1.093 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.691, allocations: 114.1 kB / 1.093 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.6911, allocations: 17.53 kB / 1.093 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002779/0.6914, allocations: 118.7 kB / 1.093 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.357e-05/0.6914, allocations: 45.3 kB / 1.093 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.6915, allocations: 120.8 kB / 1.093 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003885/0.6919, allocations: 317.5 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6919, allocations: 0.6875 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6919, allocations: 4 kB / 1.093 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.6919, allocations: 0.75 kB / 1.093 GB, free: 2.484 MB / 0.8575 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.0008558/0.6928, allocations: 0.5887 MB / 1.094 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.6928, allocations: 9.453 kB / 1.094 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.143e-05/0.6929, allocations: 27.91 kB / 1.094 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004004/0.6933, allocations: 298.9 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.6934, allocations: 13.7 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/0.6934, allocations: 19.72 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003921/0.6938, allocations: 206.5 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.6938, allocations: 0.9375 kB / 1.094 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.6939, allocations: 11.41 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.6939, allocations: 3.625 kB / 1.094 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003563/0.6942, allocations: 106 kB / 1.095 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008174/0.6951, allocations: 0.8694 MB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/0.6955, allocations: 203 kB / 1.096 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.6957, allocations: 86.2 kB / 1.096 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.6957, allocations: 2.297 kB / 1.096 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003841/0.6961, allocations: 200.5 kB / 1.096 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=23): time 1.743e-06/0.6961, allocations: 0 / 1.096 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23): time 0.0008917/0.697, allocations: 358 kB / 1.096 GB, free: 384 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.6971, allocations: 116.2 kB / 1.096 GB, free: 252 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.6973, allocations: 253 kB / 1.097 GB, free: 92 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.6973, allocations: 39.8 kB / 1.097 GB, free: 52 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.6975, allocations: 140.8 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.674e-05/0.6975, allocations: 62.84 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.6976, allocations: 75.03 kB / 1.097 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.6978, allocations: 342.8 kB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.698, allocations: 75.78 kB / 1.097 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/0.6983, allocations: 252.5 kB / 1.098 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005763/0.6989, allocations: 393.5 kB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.6989, allocations: 2.344 kB / 1.098 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007639/0.6997, allocations: 398.9 kB / 1.098 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.6998, allocations: 39.48 kB / 1.098 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.6998, allocations: 6.906 kB / 1.098 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.6998, allocations: 8.844 kB / 1.098 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.7, allocations: 63.03 kB / 1.098 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.119e-05/0.7, allocations: 14.39 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.7003, allocations: 53.41 kB / 1.098 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.7003, allocations: 20.41 kB / 1.098 GB, free: 14.63 MB / 0.8731 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.0001445/0.7005, allocations: 162.3 kB / 1.099 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.684e-05/0.7005, allocations: 25.47 kB / 1.099 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.904e-05/0.7006, allocations: 27.8 kB / 1.099 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.7006, allocations: 1.922 kB / 1.099 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.7006, allocations: 4.797 kB / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.465e-05/0.7007, allocations: 105.2 kB / 1.099 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.184e-05/0.7007, allocations: 9.719 kB / 1.099 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.7009, allocations: 13.14 kB / 1.099 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/0.701, allocations: 25.48 kB / 1.099 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008433/0.7018, allocations: 0.507 MB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009468/0.7028, allocations: 0.6799 MB / 1.1 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002463/0.7031, allocations: 94.86 kB / 1.1 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001524/0.7032, allocations: 176.2 kB / 1.1 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of Backend: time 4.91e-07/0.7032, allocations: 0 / 1.1 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001115/0.7043, allocations: 361 kB / 1.101 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001052/0.7054, allocations: 1.012 MB / 1.102 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of Templates: time 0.008726/0.7141, allocations: 3.936 MB / 1.105 GB, free: 12.08 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches