Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.447/1.447, allocations: 249.3 MB / 261.8 MB, free: 5.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 176.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.2 MB / 0.572 GB, free: 10.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008562/0.0008562, allocations: 94.47 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.563e-05/3.566e-05, allocations: 8 kB / 0.7879 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2251, allocations: 106.3 MB / 0.8918 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7423/0.9674, allocations: 136.5 MB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.9677, allocations: 95.88 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.01598/0.9837, allocations: 5.317 MB / 1.03 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.442e-06/0.9837, allocations: 0 / 1.03 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.9837, allocations: 4 kB / 1.03 GB, free: 9.594 MB / 0.6511 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.0008407/0.9846, allocations: 0.5374 MB / 1.031 GB, free: 9.016 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.9846, allocations: 8.031 kB / 1.031 GB, free: 9.008 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.025e-05/0.9847, allocations: 27.72 kB / 1.031 GB, free: 8.98 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.9851, allocations: 293.5 kB / 1.031 GB, free: 8.684 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.9851, allocations: 12.17 kB / 1.031 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.963e-05/0.9852, allocations: 23.5 kB / 1.031 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.9855, allocations: 186 kB / 1.031 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.9855, allocations: 3.906 kB / 1.031 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.9856, allocations: 15.81 kB / 1.031 GB, free: 8.473 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.9856, allocations: 11.97 kB / 1.031 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001546/0.9858, allocations: 69.86 kB / 1.032 GB, free: 8.41 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.987, allocations: 0.9055 MB / 1.032 GB, free: 7.512 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.9873, allocations: 185.6 kB / 1.033 GB, free: 7.344 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.9874, allocations: 63.64 kB / 1.033 GB, free: 7.289 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.9875, allocations: 0 / 1.033 GB, free: 7.289 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003138/0.9878, allocations: 200.5 kB / 1.033 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=23): time 1.473e-06/0.9878, allocations: 0 / 1.033 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23): time 0.0004917/0.9883, allocations: 251.4 kB / 1.033 GB, free: 6.898 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/0.9884, allocations: 114.4 kB / 1.033 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.9886, allocations: 222.9 kB / 1.033 GB, free: 6.574 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/0.9887, allocations: 39.7 kB / 1.033 GB, free: 6.539 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.9888, allocations: 145.5 kB / 1.034 GB, free: 6.422 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.413e-05/0.9888, allocations: 56.27 kB / 1.034 GB, free: 6.379 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.254e-05/0.9889, allocations: 9.688 kB / 1.034 GB, free: 6.375 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.989, allocations: 339.2 kB / 1.034 GB, free: 6.047 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.9891, allocations: 60.19 kB / 1.034 GB, free: 6.004 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.9894, allocations: 233.4 kB / 1.034 GB, free: 5.723 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.9895, allocations: 119.6 kB / 1.034 GB, free: 5.621 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.9896, allocations: 3.938 kB / 1.034 GB, free: 5.617 MB / 0.6511 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005161/0.9901, allocations: 361 kB / 1.035 GB, free: 5.305 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.971e-05/0.9901, allocations: 37.69 kB / 1.035 GB, free: 5.262 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.9902, allocations: 11.95 kB / 1.035 GB, free: 5.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.9902, allocations: 8 kB / 1.035 GB, free: 5.242 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.9904, allocations: 67.03 kB / 1.035 GB, free: 5.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/0.9904, allocations: 19.92 kB / 1.035 GB, free: 5.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.9907, allocations: 46.67 kB / 1.035 GB, free: 5.121 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.9907, allocations: 19.62 kB / 1.035 GB, free: 5.105 MB / 0.6511 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 ($PRE.TBouSte.QAve_flow,TBouSte.QAve_flow,$PRE.TBouSte.UOld,TBouSte.UOld,$PRE.TBouSte.port.T,TBouSte.port.T,$PRE.TBouSte.iSam,TBouSte.iSam,$whenCondition4,$PRE.TBouCon.QAve_flow,TBouCon.QAve_flow,$PRE.TBouCon.UOld,TBouCon.UOld,$PRE.TBouCon.port.T,TBouCon.port.T,$PRE.TBouCon.iSam,TBouCon.iSam,$whenCondition3,$PRE.TBouPul.QAve_flow,TBouPul.QAve_flow,$PRE.TBouPul.UOld,TBouPul.UOld,$PRE.TBouPul.port.T,TBouPul.port.T,$PRE.TBouPul.iSam,TBouPul.iSam,$whenCondition1,$whenCondition2,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001324/0.9909, allocations: 137.9 kB / 1.035 GB, free: 4.973 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.9909, allocations: 27.62 kB / 1.035 GB, free: 4.945 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.622e-05/0.991, allocations: 31.89 kB / 1.035 GB, free: 4.922 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.991, allocations: 11.95 kB / 1.035 GB, free: 4.91 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.991, allocations: 0 / 1.035 GB, free: 4.91 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.403e-06/0.991, allocations: 3.984 kB / 1.035 GB, free: 4.906 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.9913, allocations: 267.6 kB / 1.035 GB, free: 4.629 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.9913, allocations: 0 / 1.035 GB, free: 4.629 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.9915, allocations: 19.98 kB / 1.035 GB, free: 4.609 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.9915, allocations: 4 kB / 1.035 GB, free: 4.605 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.9915, allocations: 11.8 kB / 1.035 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.9915, allocations: 0 / 1.035 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.9915, allocations: 7.953 kB / 1.035 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005989/0.9921, allocations: 395.7 kB / 1.036 GB, free: 4.25 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.87e-05/0.9923, allocations: 108.7 kB / 1.036 GB, free: 4.129 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.9923, allocations: 8.031 kB / 1.036 GB, free: 4.121 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.9925, allocations: 23.17 kB / 1.036 GB, free: 4.102 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.214e-05/0.9926, allocations: 23.91 kB / 1.036 GB, free: 4.082 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.9926, allocations: 15.67 kB / 1.036 GB, free: 4.07 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001571/0.9928, allocations: 160.5 kB / 1.036 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9928, allocations: 0 / 1.036 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004336/0.9932, allocations: 90.98 kB / 1.036 GB, free: 3.859 MB / 0.6511 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003977/0.9936, allocations: 184.8 kB / 1.036 GB, free: 3.68 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003745/0.994, allocations: 260.2 kB / 1.037 GB, free: 3.461 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.994, allocations: 0 / 1.037 GB, free: 3.461 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.9942, allocations: 92.23 kB / 1.037 GB, free: 3.395 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.9945, allocations: 51.91 kB / 1.037 GB, free: 3.355 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.9958, allocations: 0.6013 MB / 1.037 GB, free: 2.777 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.9961, allocations: 0.7485 MB / 1.038 GB, free: 2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001468/0.9963, allocations: 54.92 kB / 1.038 GB, free: 1.941 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.019e-05/0.9963, allocations: 27.38 kB / 1.038 GB, free: 1.914 MB / 0.6511 GB Notification: Performance of SimCode: time 3.6e-07/0.9963, allocations: 0 / 1.038 GB, free: 1.914 MB / 0.6511 GB Notification: Performance of Templates: time 0.007953/1.004, allocations: 3.67 MB / 1.042 GB, free: 14.31 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches