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.0009969/0.000997, allocations: 90.28 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.007792/0.007792, allocations: 171.7 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.324/1.324, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.633/2.633, allocations: 462.7 MB / 0.7364 GB, free: 356 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003045/0.0003046, allocations: 8.781 kB / 0.9028 GB, free: 36.72 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2528, allocations: 159.6 MB / 1.059 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002613/0.2555, allocations: 2.035 MB / 1.061 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.2571, allocations: 1.001 MB / 1.062 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.2573, allocations: 11.94 kB / 1.062 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.2575, allocations: 47.75 kB / 1.062 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.2577, allocations: 63.47 kB / 1.062 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.2581, allocations: 135.7 kB / 1.062 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.2584, allocations: 278.8 kB / 1.062 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.2585, allocations: 36.61 kB / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.2587, allocations: 107.5 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.2589, allocations: 103.5 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.2589, allocations: 8 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002678/0.2592, allocations: 99.84 kB / 1.062 GB, free: 1.598 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.91e-05/0.2592, allocations: 47.77 kB / 1.063 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.2594, allocations: 137.1 kB / 1.063 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003631/0.2598, allocations: 303 kB / 1.063 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.2598, allocations: 4 kB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2598, allocations: 0 / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.2598, allocations: 0 / 1.063 GB, free: 1.109 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.0009149/0.2607, allocations: 0.5476 MB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2608, allocations: 12.03 kB / 1.064 GB, free: 0.4961 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.012e-05/0.2608, allocations: 24.66 kB / 1.064 GB, free: 484 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.2613, allocations: 291 kB / 1.064 GB, free: 148 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.2613, allocations: 16.59 kB / 1.064 GB, free: 132 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-05/0.2614, allocations: 20.38 kB / 1.064 GB, free: 112 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004255/0.2618, allocations: 221.3 kB / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.2618, allocations: 0 / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.2618, allocations: 0 / 1.064 GB, free: 15.87 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.2618, allocations: 8 kB / 1.064 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003819/0.2622, allocations: 123.8 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009879/0.2632, allocations: 0.8762 MB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005075/0.2638, allocations: 215.9 kB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.264, allocations: 90.53 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.264, allocations: 7.984 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004405/0.2645, allocations: 213.7 kB / 1.066 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 1.823e-06/0.2645, allocations: 0 / 1.066 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.0009289/0.2654, allocations: 369.2 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/0.2655, allocations: 122.7 kB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.2657, allocations: 250.4 kB / 1.066 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.2658, allocations: 37.7 kB / 1.066 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.769e-05/0.2659, allocations: 140.6 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.102e-05/0.2659, allocations: 59.25 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.543e-05/0.266, allocations: 49.62 kB / 1.067 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.2661, allocations: 342.8 kB / 1.067 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.2664, allocations: 84.75 kB / 1.067 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003351/0.2667, allocations: 267.5 kB / 1.067 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000607/0.2673, allocations: 400.8 kB / 1.068 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.2673, allocations: 0 / 1.068 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007898/0.2681, allocations: 423 kB / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.2682, allocations: 37.64 kB / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.2682, allocations: 8 kB / 1.068 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.2682, allocations: 8 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.2685, allocations: 67.89 kB / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/0.2685, allocations: 15.88 kB / 1.068 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.2687, allocations: 51.77 kB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.2688, allocations: 20 kB / 1.068 GB, free: 11.28 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.0001553/0.2689, allocations: 159.9 kB / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.269, allocations: 23.72 kB / 1.068 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.365e-05/0.269, allocations: 29.7 kB / 1.068 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.269, allocations: 4 kB / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.2691, allocations: 7.938 kB / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2691, allocations: 0 / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002688/0.2693, allocations: 269.3 kB / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.2694, allocations: 4.25 kB / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.2695, allocations: 23.98 kB / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2695, allocations: 0 / 1.069 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.2695, allocations: 7.984 kB / 1.069 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.2695, allocations: 4 kB / 1.069 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.2696, allocations: 7.875 kB / 1.069 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008938/0.2705, allocations: 442.1 kB / 1.069 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.369e-05/0.2705, allocations: 100.9 kB / 1.069 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.488e-05/0.2706, allocations: 8 kB / 1.069 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.2708, allocations: 23.97 kB / 1.069 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.2708, allocations: 27.91 kB / 1.069 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.2709, allocations: 8 kB / 1.069 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001466/0.271, allocations: 166 kB / 1.069 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.503e-06/0.271, allocations: 0 / 1.069 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004065/0.2714, allocations: 91.86 kB / 1.07 GB, free: 9.793 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.0003071/0.2718, allocations: 167.8 kB / 1.07 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0006382/0.2724, allocations: 305.8 kB / 1.07 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.2724, allocations: 3.938 kB / 1.07 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002713/0.2727, allocations: 113.3 kB / 1.07 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.2731, allocations: 60.45 kB / 1.07 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.2743, allocations: 0.7293 MB / 1.071 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.2746, allocations: 0.7371 MB / 1.072 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001498/0.2747, allocations: 66.98 kB / 1.072 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.84e-05/0.2748, allocations: 23.44 kB / 1.072 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2748, allocations: 0 / 1.072 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of Templates: time 0.007822/0.2826, allocations: 3.717 MB / 1.075 GB, free: 3.887 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