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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008285/0.0008288, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0009034/0.0009035, allocations: 168.7 kB / 15.95 MB, free: 204 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.337/1.337, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.703/2.703, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002943/0.0002944, allocations: 12.75 kB / 0.9021 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2484, allocations: 159.6 MB / 1.058 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002862/0.2513, allocations: 1.963 MB / 1.06 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001926/0.2532, allocations: 0.9586 MB / 1.061 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.2534, allocations: 7.938 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.2536, allocations: 47.69 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.2539, allocations: 63.42 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005182/0.2544, allocations: 138.6 kB / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003626/0.2548, allocations: 258.8 kB / 1.061 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.2549, allocations: 36.38 kB / 1.061 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.2551, allocations: 95.58 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.2553, allocations: 99.53 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.08e-05/0.2554, allocations: 12 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003215/0.2557, allocations: 91.91 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.52e-05/0.2558, allocations: 35.84 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.36e-05/0.2559, allocations: 73.58 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003596/0.2562, allocations: 223.7 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2563, allocations: 4 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2563, allocations: 0 / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.2563, allocations: 0 / 1.062 GB, free: 1.258 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.001105/0.2574, allocations: 0.5592 MB / 1.063 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.2574, allocations: 8.031 kB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.753e-05/0.2575, allocations: 27.72 kB / 1.063 GB, free: 0.6094 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005538/0.2581, allocations: 281.8 kB / 1.063 GB, free: 300 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.2581, allocations: 20.17 kB / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.226e-05/0.2582, allocations: 20 kB / 1.063 GB, free: 260 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005957/0.2588, allocations: 213 kB / 1.063 GB, free: 24 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.2589, allocations: 3.906 kB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.163e-05/0.2589, allocations: 8 kB / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.2589, allocations: 0 / 1.063 GB, free: 12 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005973/0.2595, allocations: 127.8 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.261, allocations: 0.8724 MB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007423/0.2617, allocations: 215.8 kB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003308/0.2621, allocations: 86.56 kB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.2621, allocations: 7.984 kB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006205/0.2628, allocations: 203.6 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 3.025e-06/0.2628, allocations: 0 / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.001373/0.2642, allocations: 385 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.665e-05/0.2643, allocations: 118.8 kB / 1.065 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003413/0.2646, allocations: 242.5 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.721e-05/0.2647, allocations: 37.7 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.2648, allocations: 144.5 kB / 1.065 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.104e-05/0.2649, allocations: 59.19 kB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/0.265, allocations: 8 kB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.2651, allocations: 342.8 kB / 1.066 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/0.2655, allocations: 84.77 kB / 1.066 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005403/0.266, allocations: 267.1 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004285/0.2665, allocations: 141.6 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.2665, allocations: 4 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0012/0.2677, allocations: 411 kB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.158e-05/0.2678, allocations: 39.09 kB / 1.067 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/0.2678, allocations: 4.25 kB / 1.067 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.868e-05/0.2679, allocations: 12 kB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/0.2682, allocations: 71.84 kB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.543e-05/0.2683, allocations: 15.92 kB / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004222/0.2687, allocations: 55.72 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.171e-05/0.2688, allocations: 20 kB / 1.067 GB, free: 11.82 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 ($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.0002016/0.269, allocations: 159.9 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.088e-05/0.2691, allocations: 31.61 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.27e-05/0.2691, allocations: 17.72 kB / 1.067 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2692, allocations: 8 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.2692, allocations: 4 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.2692, allocations: 3.984 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000382/0.2696, allocations: 269.4 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.2696, allocations: 0 / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/0.2698, allocations: 19.98 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.2698, allocations: 7.938 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/0.2699, allocations: 11.98 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2699, allocations: 0 / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.2699, allocations: 8 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.2711, allocations: 436.2 kB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.58e-05/0.2712, allocations: 100.8 kB / 1.068 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.757e-05/0.2713, allocations: 12.03 kB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.2716, allocations: 19.98 kB / 1.068 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.917e-05/0.2717, allocations: 23.91 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.2717, allocations: 11.98 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002349/0.272, allocations: 166 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.272, allocations: 0 / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007316/0.2727, allocations: 87.92 kB / 1.068 GB, free: 10.34 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 (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.0004086/0.2731, allocations: 178.2 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000849/0.274, allocations: 303.2 kB / 1.069 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.274, allocations: 0 / 1.069 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002998/0.2743, allocations: 109.3 kB / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005998/0.2749, allocations: 68.56 kB / 1.069 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001781/0.2767, allocations: 0.702 MB / 1.07 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.2771, allocations: 0.7449 MB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001875/0.2773, allocations: 54.86 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.2774, allocations: 27.44 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.2774, allocations: 0 / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of Templates: time 0.011/0.2884, allocations: 3.598 MB / 1.074 GB, free: 4.574 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