Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001059/0.001059, allocations: 90.52 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.005186/0.005186, allocations: 171.1 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.326/1.326, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.652/2.652, allocations: 462.6 MB / 0.7364 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003178/0.0003179, allocations: 11.41 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2617, allocations: 159.6 MB / 1.059 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002734/0.2645, allocations: 2.043 MB / 1.061 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001582/0.2661, allocations: 1.001 MB / 1.062 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.2663, allocations: 7.938 kB / 1.062 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002267/0.2665, allocations: 43.75 kB / 1.062 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002085/0.2667, allocations: 71.41 kB / 1.062 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004561/0.2672, allocations: 143.7 kB / 1.062 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002848/0.2675, allocations: 270.8 kB / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.2676, allocations: 32.61 kB / 1.062 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.2678, allocations: 103.5 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.2679, allocations: 103.5 kB / 1.062 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.349e-05/0.268, allocations: 16 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002611/0.2682, allocations: 95.86 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.675e-05/0.2683, allocations: 39.83 kB / 1.063 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.2684, allocations: 141.1 kB / 1.063 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003616/0.2688, allocations: 295 kB / 1.063 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2688, allocations: 4 kB / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2688, allocations: 0 / 1.063 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.2688, allocations: 0 / 1.063 GB, free: 1.059 MB / 0.8106 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.000958/0.2698, allocations: 0.5515 MB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.2699, allocations: 11.97 kB / 1.064 GB, free: 452 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.87e-05/0.2699, allocations: 28.66 kB / 1.064 GB, free: 424 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004235/0.2704, allocations: 291 kB / 1.064 GB, free: 92 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.2704, allocations: 12.61 kB / 1.064 GB, free: 80 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-05/0.2704, allocations: 28.36 kB / 1.064 GB, free: 52 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004181/0.2709, allocations: 209.4 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.2709, allocations: 7.984 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.2709, allocations: 8 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2709, allocations: 4 kB / 1.064 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003778/0.2713, allocations: 119.8 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000975/0.2723, allocations: 0.8722 MB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005025/0.2728, allocations: 219.8 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.2731, allocations: 90.61 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.2731, allocations: 7.938 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004445/0.2735, allocations: 212.6 kB / 1.066 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 1.613e-06/0.2735, allocations: 0 / 1.066 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.0009174/0.2745, allocations: 377.1 kB / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/0.2745, allocations: 118.7 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.2748, allocations: 250.4 kB / 1.066 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.563e-05/0.2748, allocations: 41.7 kB / 1.066 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.651e-05/0.2749, allocations: 132.6 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.918e-05/0.275, allocations: 71.23 kB / 1.066 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.275, allocations: 41.64 kB / 1.067 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2751, allocations: 342.8 kB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.2754, allocations: 88.75 kB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003263/0.2757, allocations: 263.2 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005914/0.2763, allocations: 396.5 kB / 1.068 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.2763, allocations: 4 kB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007911/0.2771, allocations: 410.9 kB / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.062e-05/0.2772, allocations: 43.56 kB / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.2772, allocations: 4 kB / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.2772, allocations: 12.38 kB / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.2775, allocations: 63.84 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.897e-05/0.2775, allocations: 24.08 kB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.2778, allocations: 47.92 kB / 1.068 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.2778, allocations: 23.94 kB / 1.068 GB, free: 11.23 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.0001559/0.278, allocations: 161.4 kB / 1.068 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.193e-05/0.278, allocations: 27.72 kB / 1.068 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.973e-05/0.2781, allocations: 25.7 kB / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.2781, allocations: 4 kB / 1.068 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.2781, allocations: 3.938 kB / 1.068 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.2781, allocations: 7.984 kB / 1.068 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002908/0.2784, allocations: 273.3 kB / 1.069 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.2785, allocations: 0 / 1.069 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000138/0.2786, allocations: 19.98 kB / 1.069 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.2786, allocations: 4 kB / 1.069 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.2787, allocations: 11.98 kB / 1.069 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2787, allocations: 0 / 1.069 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.2787, allocations: 3.938 kB / 1.069 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009241/0.2796, allocations: 442 kB / 1.069 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.322e-05/0.2797, allocations: 96.83 kB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.853e-05/0.2797, allocations: 12.03 kB / 1.069 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.2799, allocations: 23.98 kB / 1.069 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/0.28, allocations: 31.98 kB / 1.069 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.28, allocations: 11.98 kB / 1.069 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001476/0.2802, allocations: 166 kB / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2802, allocations: 0 / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004107/0.2806, allocations: 83.92 kB / 1.07 GB, free: 9.742 MB / 0.8262 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.0003295/0.2809, allocations: 172.9 kB / 1.07 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006403/0.2816, allocations: 308.5 kB / 1.07 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2816, allocations: 0 / 1.07 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002767/0.2819, allocations: 111.9 kB / 1.07 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004068/0.2823, allocations: 60.64 kB / 1.07 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.2835, allocations: 0.7241 MB / 1.071 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.2838, allocations: 0.741 MB / 1.072 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001578/0.284, allocations: 54.92 kB / 1.072 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.051e-05/0.284, allocations: 27.38 kB / 1.072 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.284, allocations: 3.938 kB / 1.072 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.007793/0.2918, allocations: 3.721 MB / 1.075 GB, free: 3.836 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches