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.001087/0.001087, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 173 kB / 16.92 MB, free: 6.652 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.429/1.429, allocations: 223.3 MB / 241 MB, free: 5.336 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.765/2.765, allocations: 437.8 MB / 0.7128 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003638, allocations: 8 kB / 0.8735 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7595/0.7599, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002993/0.763, allocations: 2.041 MB / 1.026 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001794/0.7648, allocations: 0.9943 MB / 1.027 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.765, allocations: 11.94 kB / 1.027 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.7653, allocations: 31.77 kB / 1.027 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002908/0.7656, allocations: 71.41 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005721/0.7662, allocations: 139.7 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003391/0.7665, allocations: 270.8 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.7667, allocations: 38.34 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/0.7669, allocations: 103.5 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001779/0.7671, allocations: 103.5 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.684e-05/0.7671, allocations: 8 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003297/0.7675, allocations: 107.8 kB / 1.028 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.7675, allocations: 43.78 kB / 1.028 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.7677, allocations: 133.2 kB / 1.028 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003224/0.768, allocations: 227.3 kB / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.768, allocations: 0 / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.645e-06/0.7681, allocations: 0 / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.7681, allocations: 0 / 1.028 GB, free: 11.57 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.001093/0.7692, allocations: 0.5477 MB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.7692, allocations: 11.98 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.825e-05/0.7693, allocations: 28.66 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004382/0.7698, allocations: 299 kB / 1.029 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/0.7698, allocations: 12.55 kB / 1.029 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.298e-05/0.7699, allocations: 24.36 kB / 1.029 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004414/0.7703, allocations: 209.8 kB / 1.029 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.7703, allocations: 11.92 kB / 1.029 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.7704, allocations: 4 kB / 1.029 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.7704, allocations: 4 kB / 1.029 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003798/0.7708, allocations: 119.8 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.772, allocations: 0.8799 MB / 1.03 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005028/0.7725, allocations: 212 kB / 1.03 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/0.7727, allocations: 90.59 kB / 1.03 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.7727, allocations: 4 kB / 1.03 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004598/0.7732, allocations: 213.5 kB / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 2.165e-06/0.7732, allocations: 4 kB / 1.03 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0009632/0.7742, allocations: 373.1 kB / 1.031 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.296e-05/0.7743, allocations: 122.8 kB / 1.031 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.7745, allocations: 246.5 kB / 1.031 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/0.7746, allocations: 33.7 kB / 1.031 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.994e-05/0.7747, allocations: 140.5 kB / 1.031 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.385e-05/0.7747, allocations: 59.25 kB / 1.031 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-05/0.7748, allocations: 49.69 kB / 1.031 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.7749, allocations: 338.8 kB / 1.032 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.7752, allocations: 92.69 kB / 1.032 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003611/0.7756, allocations: 263.2 kB / 1.032 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006481/0.7762, allocations: 404.4 kB / 1.033 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.7763, allocations: 0 / 1.033 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008191/0.7771, allocations: 415 kB / 1.033 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.928e-05/0.7771, allocations: 37.69 kB / 1.033 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.7771, allocations: 8 kB / 1.033 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/0.7772, allocations: 8 kB / 1.033 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.7774, allocations: 67.84 kB / 1.033 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.823e-05/0.7774, allocations: 19.86 kB / 1.033 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002871/0.7777, allocations: 55.7 kB / 1.033 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.7778, allocations: 20 kB / 1.033 GB, free: 5.727 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 (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.000174/0.778, allocations: 160.9 kB / 1.033 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.778, allocations: 27.95 kB / 1.033 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.705e-05/0.7781, allocations: 21.72 kB / 1.033 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.7781, allocations: 3.938 kB / 1.033 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.438e-05/0.7781, allocations: 19.88 kB / 1.033 GB, free: 5.496 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.7781, allocations: 3.984 kB / 1.033 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003042/0.7784, allocations: 261.4 kB / 1.034 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.7785, allocations: 0 / 1.034 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.7786, allocations: 23.98 kB / 1.034 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.7786, allocations: 0 / 1.034 GB, free: 5.164 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.7786, allocations: 11.98 kB / 1.034 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.7786, allocations: 0 / 1.034 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.7787, allocations: 7.938 kB / 1.034 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009025/0.7796, allocations: 444.8 kB / 1.034 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.689e-05/0.7797, allocations: 100.8 kB / 1.034 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.961e-05/0.7797, allocations: 12.03 kB / 1.034 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.7799, allocations: 15.98 kB / 1.034 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.962e-05/0.78, allocations: 31.91 kB / 1.034 GB, free: 4.512 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.78, allocations: 15.98 kB / 1.034 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001477/0.7802, allocations: 166 kB / 1.034 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7802, allocations: 0 / 1.034 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004242/0.7806, allocations: 79.98 kB / 1.034 GB, free: 4.254 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 (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.0004011/0.781, allocations: 178.4 kB / 1.035 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006494/0.7817, allocations: 307.3 kB / 1.035 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.7817, allocations: 0 / 1.035 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002751/0.782, allocations: 113.2 kB / 1.035 GB, free: 3.652 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.7824, allocations: 64.58 kB / 1.035 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.7837, allocations: 0.7469 MB / 1.036 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002702/0.784, allocations: 0.7487 MB / 1.037 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.784, allocations: 27.44 kB / 1.037 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of SimCode: time 3.4e-07/0.784, allocations: 0 / 1.037 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of Templates: time 0.007293/0.7913, allocations: 3.791 MB / 1.04 GB, free: 14.24 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/jenkins1/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