Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001374/0.001374, allocations: 95.92 kB / 19.7 MB, free: 2.129 MB / 14.72 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.001601/0.001601, allocations: 206.6 kB / 23 MB, free: 4.934 MB / 14.72 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 1.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.314/3.314, allocations: 0.49 GB / 0.7959 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 68 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4029/0.405, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.005002/0.41, allocations: 2.261 MB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001946/0.412, allocations: 0.9893 MB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.4121, allocations: 7.938 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002637/0.4124, allocations: 51.62 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.4126, allocations: 87.28 kB / 1.33 GB, free: 13.56 MB / 1.029 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.0005284/0.4131, allocations: 166.8 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003618/0.4135, allocations: 286.8 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.4136, allocations: 28.47 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001876/0.4138, allocations: 119.5 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.414, allocations: 111.5 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.065e-05/0.414, allocations: 27.94 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003405/0.4144, allocations: 123.8 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.219e-05/0.4144, allocations: 47.83 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.4146, allocations: 91.59 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004782/0.415, allocations: 322.6 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.415, allocations: 0 / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/0.415, allocations: 0 / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.415, allocations: 0 / 1.332 GB, free: 12.26 MB / 1.029 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.00111/0.4162, allocations: 0.5381 MB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.4162, allocations: 8.031 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.236e-05/0.4163, allocations: 28.73 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005249/0.4168, allocations: 233.3 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.4168, allocations: 16.61 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.375e-05/0.4169, allocations: 20.36 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004676/0.4174, allocations: 202.3 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.4174, allocations: 7.938 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.4174, allocations: 4 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.4174, allocations: 7.984 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003874/0.4178, allocations: 103.8 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.4189, allocations: 0.7784 MB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005191/0.4194, allocations: 199.9 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.4196, allocations: 74.61 kB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.4196, allocations: 0 / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004559/0.4201, allocations: 207.4 kB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.733e-06/0.4201, allocations: 0 / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0009633/0.421, allocations: 357.2 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.986e-05/0.4211, allocations: 118.8 kB / 1.334 GB, free: 9.164 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.4214, allocations: 241 kB / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.4215, allocations: 37.7 kB / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.4216, allocations: 144.6 kB / 1.335 GB, free: 8.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.296e-05/0.4217, allocations: 67.5 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.4218, allocations: 78.06 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.422, allocations: 342.8 kB / 1.335 GB, free: 8.234 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.4222, allocations: 110.4 kB / 1.335 GB, free: 8.121 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004109/0.4226, allocations: 280.9 kB / 1.336 GB, free: 7.762 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00064/0.4233, allocations: 388.8 kB / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.4233, allocations: 4 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008138/0.4241, allocations: 432.8 kB / 1.337 GB, free: 6.848 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/0.4241, allocations: 33.7 kB / 1.337 GB, free: 6.809 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.4241, allocations: 7.984 kB / 1.337 GB, free: 6.801 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.973e-05/0.4242, allocations: 12 kB / 1.337 GB, free: 6.789 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.4244, allocations: 68.22 kB / 1.337 GB, free: 6.723 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.905e-05/0.4244, allocations: 11.94 kB / 1.337 GB, free: 6.711 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.4247, allocations: 52.12 kB / 1.337 GB, free: 6.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.154e-05/0.4247, allocations: 27.92 kB / 1.337 GB, free: 6.633 MB / 1.029 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.0001898/0.4249, allocations: 160.8 kB / 1.337 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.864e-05/0.425, allocations: 23.86 kB / 1.337 GB, free: 6.441 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.15e-05/0.425, allocations: 25.7 kB / 1.337 GB, free: 6.414 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.425, allocations: 0 / 1.337 GB, free: 6.414 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.425, allocations: 3.984 kB / 1.337 GB, free: 6.41 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-05/0.4251, allocations: 27.8 kB / 1.337 GB, free: 6.383 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.488e-05/0.4251, allocations: 15.88 kB / 1.337 GB, free: 6.367 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.4253, allocations: 19.97 kB / 1.337 GB, free: 6.348 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.04e-05/0.4254, allocations: 19.97 kB / 1.337 GB, free: 6.328 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009348/0.4263, allocations: 0.5071 MB / 1.337 GB, free: 5.812 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001067/0.4274, allocations: 0.6976 MB / 1.338 GB, free: 5.098 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002582/0.4277, allocations: 87.97 kB / 1.338 GB, free: 5.012 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001523/0.4278, allocations: 156.5 kB / 1.338 GB, free: 4.855 MB / 1.029 GB Notification: Performance of Backend: time 5.11e-07/0.4278, allocations: 0 / 1.338 GB, free: 4.855 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001258/0.4291, allocations: 385.9 kB / 1.339 GB, free: 4.457 MB / 1.029 GB Notification: Performance of SimCode: time 0.001318/0.4304, allocations: 1.023 MB / 1.34 GB, free: 3.383 MB / 1.029 GB Notification: Performance of Templates: time 0.01001/0.4404, allocations: 4.591 MB / 1.344 GB, free: 14.91 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.775716213000123]