Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001637/0.001637, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001672/0.001672, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.413/2.413, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 64.11 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6858/0.6872, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.003452/0.6907, allocations: 2.354 MB / 1.17 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001444/0.6921, allocations: 1.002 MB / 1.171 GB, free: 480 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.495e-05/0.6922, allocations: 7.938 kB / 1.171 GB, free: 472 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002071/0.6924, allocations: 55.56 kB / 1.171 GB, free: 416 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.6926, allocations: 83.33 kB / 1.171 GB, free: 332 kB / 0.8887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.0004311/0.6931, allocations: 160.4 kB / 1.171 GB, free: 172 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002777/0.6934, allocations: 290.8 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.6935, allocations: 40.17 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.6937, allocations: 123.5 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.6938, allocations: 111.5 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.697e-05/0.6938, allocations: 24 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002815/0.6941, allocations: 111.8 kB / 1.172 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.903e-05/0.6942, allocations: 47.83 kB / 1.172 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.6943, allocations: 115.4 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003743/0.6947, allocations: 320.8 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6947, allocations: 0 / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6947, allocations: 0 / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.6947, allocations: 0 / 1.172 GB, free: 15.01 MB / 0.9044 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.0009254/0.6956, allocations: 0.5904 MB / 1.173 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.6957, allocations: 12.88 kB / 1.173 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.889e-05/0.6958, allocations: 28.59 kB / 1.173 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004242/0.6962, allocations: 295 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.6962, allocations: 20.53 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.497e-05/0.6963, allocations: 20.38 kB / 1.173 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003903/0.6967, allocations: 200.6 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.6967, allocations: 7.938 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.6967, allocations: 4 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.6967, allocations: 0 / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003718/0.6971, allocations: 115.8 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009303/0.6981, allocations: 0.8683 MB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004697/0.6985, allocations: 203.9 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.6987, allocations: 82.59 kB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.6988, allocations: 0 / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003761/0.6991, allocations: 208.3 kB / 1.175 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=23): time 1.613e-06/0.6992, allocations: 0 / 1.175 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23): time 0.0008411/0.7, allocations: 353.1 kB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.7001, allocations: 118.8 kB / 1.175 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.7003, allocations: 246.5 kB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.7003, allocations: 41.7 kB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.455e-05/0.7004, allocations: 140.5 kB / 1.175 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.98e-05/0.7005, allocations: 63.62 kB / 1.176 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.178e-05/0.7006, allocations: 74.06 kB / 1.176 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.7007, allocations: 334.8 kB / 1.176 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.7009, allocations: 88.69 kB / 1.176 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/0.7012, allocations: 259.1 kB / 1.176 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005314/0.7018, allocations: 388.5 kB / 1.177 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.7018, allocations: 0 / 1.177 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006984/0.7025, allocations: 402.5 kB / 1.177 GB, free: 9.441 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.7025, allocations: 33.7 kB / 1.177 GB, free: 9.402 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.7025, allocations: 8 kB / 1.177 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.7026, allocations: 8 kB / 1.177 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.7028, allocations: 68.42 kB / 1.177 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.7028, allocations: 15.94 kB / 1.177 GB, free: 9.305 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.703, allocations: 47.86 kB / 1.177 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.7031, allocations: 20 kB / 1.177 GB, free: 9.238 MB / 0.9044 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.0001293/0.7032, allocations: 156 kB / 1.177 GB, free: 9.078 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.612e-05/0.7033, allocations: 31.62 kB / 1.177 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.585e-05/0.7033, allocations: 33.7 kB / 1.177 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.7033, allocations: 0 / 1.177 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.7034, allocations: 0 / 1.177 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.7034, allocations: 104.7 kB / 1.177 GB, free: 8.891 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.572e-05/0.7035, allocations: 11.98 kB / 1.177 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.7036, allocations: 11.98 kB / 1.178 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.775e-05/0.7037, allocations: 19.97 kB / 1.178 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000779/0.7045, allocations: 0.5114 MB / 1.178 GB, free: 8.328 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009065/0.7054, allocations: 0.6841 MB / 1.179 GB, free: 7.625 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002385/0.7057, allocations: 96.03 kB / 1.179 GB, free: 7.531 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001309/0.7058, allocations: 170 kB / 1.179 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of Backend: time 1.603e-06/0.7058, allocations: 0 / 1.179 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.7069, allocations: 371.4 kB / 1.179 GB, free: 6.988 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0009766/0.7079, allocations: 1.011 MB / 1.18 GB, free: 5.93 MB / 0.9044 GB Notification: Performance of Templates: time 0.007377/0.7153, allocations: 3.939 MB / 1.184 GB, free: 2.062 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches