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.001096/0.001096, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.008524/0.008524, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.517/1.517, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.956/2.956, allocations: 470.6 MB / 0.7442 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003162/0.0003162, allocations: 12.22 kB / 0.9123 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2852, allocations: 161.4 MB / 1.07 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.00293/0.2882, allocations: 2.041 MB / 1.072 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001642/0.2898, allocations: 1.001 MB / 1.073 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.078e-05/0.2899, allocations: 7.938 kB / 1.073 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002111/0.2902, allocations: 35.75 kB / 1.073 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.2903, allocations: 63.48 kB / 1.073 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.2907, allocations: 148.4 kB / 1.073 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.291, allocations: 266.8 kB / 1.073 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.2912, allocations: 36.61 kB / 1.073 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001633/0.2913, allocations: 107.4 kB / 1.074 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.2915, allocations: 103.5 kB / 1.074 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.2915, allocations: 8 kB / 1.074 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002616/0.2918, allocations: 107.8 kB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.2919, allocations: 39.78 kB / 1.074 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001556/0.292, allocations: 133.2 kB / 1.074 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003912/0.2924, allocations: 299 kB / 1.074 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.2924, allocations: 0 / 1.074 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2925, allocations: 0 / 1.074 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.2925, allocations: 0 / 1.074 GB, free: 7.059 MB / 0.8262 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.001015/0.2935, allocations: 0.5593 MB / 1.075 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.2935, allocations: 8.031 kB / 1.075 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.851e-05/0.2936, allocations: 28.66 kB / 1.075 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004501/0.2941, allocations: 294.9 kB / 1.075 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.2941, allocations: 12.61 kB / 1.075 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/0.2942, allocations: 20.38 kB / 1.075 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004484/0.2946, allocations: 214 kB / 1.075 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.2946, allocations: 0 / 1.075 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.2947, allocations: 11.98 kB / 1.075 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.2947, allocations: 8 kB / 1.075 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/0.2951, allocations: 119.8 kB / 1.075 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.2962, allocations: 0.8721 MB / 1.076 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005305/0.2968, allocations: 219.8 kB / 1.076 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002398/0.297, allocations: 86.61 kB / 1.077 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.297, allocations: 4 kB / 1.077 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004831/0.2975, allocations: 216.4 kB / 1.077 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 1.653e-06/0.2975, allocations: 0 / 1.077 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.0009605/0.2985, allocations: 373.2 kB / 1.077 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.144e-05/0.2986, allocations: 122.7 kB / 1.077 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.2989, allocations: 246.4 kB / 1.077 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.215e-05/0.2989, allocations: 41.69 kB / 1.077 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.299, allocations: 136.6 kB / 1.078 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.784e-05/0.2991, allocations: 63.23 kB / 1.078 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.2992, allocations: 41.64 kB / 1.078 GB, free: 3.117 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.2994, allocations: 346.8 kB / 1.078 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.2996, allocations: 84.77 kB / 1.078 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/0.3001, allocations: 267.1 kB / 1.078 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000678/0.3007, allocations: 396.5 kB / 1.079 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.3008, allocations: 0 / 1.079 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008396/0.3016, allocations: 419 kB / 1.079 GB, free: 1.441 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.99e-05/0.3017, allocations: 33.7 kB / 1.079 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.3017, allocations: 8 kB / 1.079 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.3017, allocations: 8 kB / 1.079 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.3019, allocations: 67.89 kB / 1.079 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.302, allocations: 16.25 kB / 1.079 GB, free: 1.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.3022, allocations: 55.77 kB / 1.079 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.3023, allocations: 16 kB / 1.079 GB, free: 1.234 MB / 0.8262 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.000177/0.3025, allocations: 167.9 kB / 1.08 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.688e-05/0.3025, allocations: 31.56 kB / 1.08 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.374e-05/0.3026, allocations: 21.7 kB / 1.08 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3026, allocations: 4 kB / 1.08 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.3026, allocations: 7.938 kB / 1.08 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.3026, allocations: 4 kB / 1.08 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003182/0.3029, allocations: 265.4 kB / 1.08 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3029, allocations: 0 / 1.08 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.3031, allocations: 27.97 kB / 1.08 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3031, allocations: 4 kB / 1.08 GB, free: 0.6523 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.3031, allocations: 4 kB / 1.08 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.3031, allocations: 3.938 kB / 1.08 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.3031, allocations: 11.94 kB / 1.08 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009484/0.3041, allocations: 438.1 kB / 1.08 GB, free: 184 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.52e-05/0.3042, allocations: 96.86 kB / 1.08 GB, free: 68 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.64e-05/0.3042, allocations: 8 kB / 1.08 GB, free: 60 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.3044, allocations: 23.97 kB / 1.08 GB, free: 36 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.232e-05/0.3045, allocations: 31.91 kB / 1.08 GB, free: 4 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-05/0.3045, allocations: 8.297 kB / 1.08 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001593/0.3047, allocations: 173.8 kB / 1.081 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3047, allocations: 0 / 1.081 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004094/0.3051, allocations: 79.94 kB / 1.081 GB, free: 15.75 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TBouSte.U,TBouCon.U,TBouPul.U) * Number of discrete variables: 18 ($whenCondition4,TBouSte.QAve_flow,TBouSte.port.T,TBouSte.UOld,TBouSte.iSam,$whenCondition3,TBouCon.QAve_flow,TBouCon.port.T,TBouCon.UOld,TBouCon.iSam,$whenCondition2,$whenCondition1,TBouPul.QAve_flow,TBouPul.port.T,TBouPul.UOld,TBouPul.iSam,pulse.T_start,pulse.count) * Number of discrete states: 7 (TBouPul.iSam,TBouPul.UOld,pulse.count,TBouCon.iSam,TBouCon.UOld,TBouSte.iSam,TBouSte.UOld) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003513/0.3055, allocations: 176.5 kB / 1.081 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000673/0.3062, allocations: 309.8 kB / 1.081 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3062, allocations: 0 / 1.081 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002877/0.3065, allocations: 113.9 kB / 1.081 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.3069, allocations: 60.64 kB / 1.081 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.3082, allocations: 0.7334 MB / 1.082 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.3086, allocations: 0.7371 MB / 1.083 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001526/0.3087, allocations: 50.94 kB / 1.083 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.3088, allocations: 27.44 kB / 1.083 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of SimCode: time 4.91e-07/0.3088, allocations: 0 / 1.083 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of Templates: time 0.008806/0.3176, allocations: 3.721 MB / 1.086 GB, free: 9.836 MB / 0.8419 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/jenkins/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