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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001902/0.001902, allocations: 114.3 kB / 16.81 MB, free: 5.766 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.002028/0.002028, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.422/1.422, allocations: 225.6 MB / 244.2 MB, free: 13.88 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.759/2.759, allocations: 476.7 MB / 0.7556 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 63.86 kB / 1.097 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3059, allocations: 168.7 MB / 1.262 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.003894/0.3098, allocations: 2.363 MB / 1.264 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.3114, allocations: 1.009 MB / 1.265 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.3115, allocations: 7.938 kB / 1.265 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002224/0.3118, allocations: 55.56 kB / 1.265 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.312, allocations: 83.34 kB / 1.265 GB, free: 9.395 MB / 0.9825 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.0004858/0.3124, allocations: 155.5 kB / 1.266 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003416/0.3128, allocations: 294.8 kB / 1.266 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.3129, allocations: 28.33 kB / 1.266 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.3131, allocations: 119.5 kB / 1.266 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.3132, allocations: 107.5 kB / 1.266 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.78e-05/0.3133, allocations: 16 kB / 1.266 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002999/0.3136, allocations: 127.8 kB / 1.266 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.323e-05/0.3136, allocations: 39.84 kB / 1.266 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.3138, allocations: 119.4 kB / 1.266 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004319/0.3142, allocations: 314.7 kB / 1.267 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3142, allocations: 4 kB / 1.267 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3142, allocations: 0 / 1.267 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.3142, allocations: 0 / 1.267 GB, free: 8.09 MB / 0.9825 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.001022/0.3152, allocations: 0.594 MB / 1.267 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.3153, allocations: 12.03 kB / 1.267 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.493e-05/0.3153, allocations: 28.75 kB / 1.267 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005181/0.3159, allocations: 299.1 kB / 1.268 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.3159, allocations: 16.55 kB / 1.268 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.954e-05/0.316, allocations: 32.28 kB / 1.268 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004437/0.3164, allocations: 212.6 kB / 1.268 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.3164, allocations: 3.938 kB / 1.268 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.3164, allocations: 0 / 1.268 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3164, allocations: 4 kB / 1.268 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003705/0.3168, allocations: 103.8 kB / 1.268 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.3179, allocations: 0.8762 MB / 1.269 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005031/0.3184, allocations: 195.9 kB / 1.269 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.3186, allocations: 82.61 kB / 1.269 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.3186, allocations: 0 / 1.269 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004161/0.3191, allocations: 208.8 kB / 1.269 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=23): time 1.493e-06/0.3191, allocations: 0 / 1.269 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.0009371/0.32, allocations: 353.2 kB / 1.27 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.636e-05/0.3201, allocations: 114.8 kB / 1.27 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.3203, allocations: 254.5 kB / 1.27 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/0.3204, allocations: 41.7 kB / 1.27 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.3205, allocations: 140.6 kB / 1.27 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.257e-05/0.3205, allocations: 63.58 kB / 1.27 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.3207, allocations: 74.02 kB / 1.27 GB, free: 4.133 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.3208, allocations: 338.8 kB / 1.271 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.321, allocations: 84.69 kB / 1.271 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/0.3214, allocations: 259.2 kB / 1.271 GB, free: 3.375 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006319/0.322, allocations: 380.5 kB / 1.271 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.322, allocations: 7.938 kB / 1.271 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007924/0.3228, allocations: 403.2 kB / 1.272 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.422e-05/0.3229, allocations: 35.27 kB / 1.272 GB, free: 2.461 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.3229, allocations: 8 kB / 1.272 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.877e-05/0.3229, allocations: 8 kB / 1.272 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.3231, allocations: 63.83 kB / 1.272 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.83e-05/0.3232, allocations: 16.47 kB / 1.272 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002512/0.3234, allocations: 55.7 kB / 1.272 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.3234, allocations: 20.38 kB / 1.272 GB, free: 2.293 MB / 0.9825 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.0001624/0.3236, allocations: 156 kB / 1.272 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.875e-05/0.3237, allocations: 27.81 kB / 1.272 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.008e-05/0.3237, allocations: 29.7 kB / 1.272 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3237, allocations: 7.938 kB / 1.272 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3237, allocations: 0 / 1.272 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-05/0.3238, allocations: 108.8 kB / 1.272 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.34e-05/0.3239, allocations: 11.98 kB / 1.272 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.324, allocations: 11.98 kB / 1.272 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.441e-05/0.3241, allocations: 19.97 kB / 1.272 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008692/0.325, allocations: 0.511 MB / 1.273 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001023/0.326, allocations: 0.6885 MB / 1.273 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002583/0.3263, allocations: 83.98 kB / 1.274 GB, free: 0.5898 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001624/0.3264, allocations: 170 kB / 1.274 GB, free: 428 kB / 0.9825 GB Notification: Performance of Backend: time 3.3e-07/0.3264, allocations: 0 / 1.274 GB, free: 428 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001214/0.3276, allocations: 364.8 kB / 1.274 GB, free: 52 kB / 0.9825 GB Notification: Performance of SimCode: time 0.00119/0.3288, allocations: 1.018 MB / 1.275 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of Templates: time 0.008703/0.3375, allocations: 4.027 MB / 1.279 GB, free: 11.03 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches