Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001037/0.001037, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001341/0.00134, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.3 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.575/2.575, allocations: 437.7 MB / 0.7117 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003162, allocations: 8 kB / 0.8722 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5482/0.5485, allocations: 153.8 MB / 1.022 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002377/0.5509, allocations: 1.972 MB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.5523, allocations: 0.9363 MB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.96e-05/0.5524, allocations: 7.938 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.5525, allocations: 35.77 kB / 1.025 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.5527, allocations: 79.39 kB / 1.025 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.5531, allocations: 123.7 kB / 1.025 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.5533, allocations: 270.7 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.5534, allocations: 32.39 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.5536, allocations: 103.5 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.5537, allocations: 95.55 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.5537, allocations: 12 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.554, allocations: 95.89 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.65e-05/0.554, allocations: 51.7 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.939e-05/0.5541, allocations: 61.64 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.5544, allocations: 221.4 kB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5544, allocations: 4 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5544, allocations: 0 / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.5544, allocations: 0 / 1.026 GB, free: 11.96 MB / 0.7794 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.0008096/0.5552, allocations: 0.5551 MB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.5553, allocations: 12.52 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.518e-05/0.5553, allocations: 35.7 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.5557, allocations: 277.9 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.5557, allocations: 12.23 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.5558, allocations: 27.94 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003793/0.5562, allocations: 209.4 kB / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.5562, allocations: 0 / 1.027 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.153e-05/0.5562, allocations: 8 kB / 1.027 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.5562, allocations: 4 kB / 1.027 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000336/0.5566, allocations: 119.8 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009327/0.5575, allocations: 0.876 MB / 1.028 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000471/0.558, allocations: 215.9 kB / 1.029 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.5582, allocations: 86.61 kB / 1.029 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.5582, allocations: 4 kB / 1.029 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004156/0.5587, allocations: 215.3 kB / 1.029 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 1.543e-06/0.5587, allocations: 0 / 1.029 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0008334/0.5595, allocations: 369.1 kB / 1.029 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.077e-05/0.5596, allocations: 122.8 kB / 1.029 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.5598, allocations: 246.5 kB / 1.03 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.5598, allocations: 37.7 kB / 1.03 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.105e-05/0.5599, allocations: 148.5 kB / 1.03 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.03e-05/0.56, allocations: 55.27 kB / 1.03 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.463e-05/0.56, allocations: 4 kB / 1.03 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.5601, allocations: 342.8 kB / 1.03 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.5604, allocations: 93.12 kB / 1.03 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.5607, allocations: 259.1 kB / 1.031 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.561, allocations: 145.6 kB / 1.031 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.561, allocations: 7.938 kB / 1.031 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000709/0.5617, allocations: 423 kB / 1.031 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.5617, allocations: 33.7 kB / 1.031 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.5617, allocations: 8.391 kB / 1.031 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.5618, allocations: 8 kB / 1.031 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.562, allocations: 67.89 kB / 1.031 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.562, allocations: 12.19 kB / 1.031 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.5622, allocations: 47.67 kB / 1.031 GB, free: 6.547 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.5623, allocations: 32.02 kB / 1.031 GB, free: 6.516 MB / 0.7794 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.5624, allocations: 167.9 kB / 1.031 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.5625, allocations: 27.62 kB / 1.032 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.612e-05/0.5625, allocations: 25.7 kB / 1.032 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.5625, allocations: 0 / 1.032 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5625, allocations: 4 kB / 1.032 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.5626, allocations: 4 kB / 1.032 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002606/0.5628, allocations: 261.5 kB / 1.032 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.5628, allocations: 0 / 1.032 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.563, allocations: 27.97 kB / 1.032 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.563, allocations: 0 / 1.032 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.563, allocations: 8 kB / 1.032 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.563, allocations: 3.984 kB / 1.032 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.563, allocations: 7.938 kB / 1.032 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008182/0.5638, allocations: 440.5 kB / 1.032 GB, free: 5.484 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/0.5639, allocations: 112.7 kB / 1.032 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.119e-05/0.564, allocations: 8 kB / 1.032 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.5641, allocations: 19.97 kB / 1.032 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.411e-05/0.5642, allocations: 19.97 kB / 1.032 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.5642, allocations: 19.98 kB / 1.032 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000132/0.5644, allocations: 162 kB / 1.033 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5644, allocations: 3.938 kB / 1.033 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003951/0.5648, allocations: 87.98 kB / 1.033 GB, free: 5.039 MB / 0.7794 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 (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.0003043/0.5651, allocations: 168.3 kB / 1.033 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005888/0.5657, allocations: 303.7 kB / 1.033 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5657, allocations: 0 / 1.033 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002562/0.566, allocations: 116.8 kB / 1.033 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.5664, allocations: 64.59 kB / 1.033 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.5675, allocations: 0.7021 MB / 1.034 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.5678, allocations: 0.7448 MB / 1.035 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001416/0.5679, allocations: 46.95 kB / 1.035 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/0.568, allocations: 35.38 kB / 1.035 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.568, allocations: 0 / 1.035 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of Templates: time 0.007401/0.5754, allocations: 3.602 MB / 1.038 GB, free: 15.27 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches