Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001588/0.001587, allocations: 103.5 kB / 15.98 MB, free: 6.348 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.001526/0.001527, allocations: 196.6 kB / 16.91 MB, free: 6.188 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.394/1.394, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.714/2.714, allocations: 469.8 MB / 0.7427 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 68.14 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3423, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.00402/0.3464, allocations: 2.394 MB / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.348, allocations: 1.001 MB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.3482, allocations: 11.94 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000258/0.3484, allocations: 43.75 kB / 1.068 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.3487, allocations: 63.42 kB / 1.068 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004491/0.3491, allocations: 143.7 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003141/0.3494, allocations: 290.8 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.3496, allocations: 32.61 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.3497, allocations: 119.5 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.3499, allocations: 111.5 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.676e-05/0.3499, allocations: 20 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002574/0.3502, allocations: 115.8 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.524e-05/0.3503, allocations: 43.84 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.3504, allocations: 115.5 kB / 1.069 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000344/0.3508, allocations: 231.4 kB / 1.069 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3508, allocations: 0 / 1.069 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3508, allocations: 0 / 1.069 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.3508, allocations: 0 / 1.069 GB, free: 10.35 MB / 0.8419 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.00116/0.352, allocations: 0.6003 MB / 1.069 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.352, allocations: 8.031 kB / 1.069 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.584e-05/0.3521, allocations: 24.66 kB / 1.069 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004985/0.3526, allocations: 291 kB / 1.07 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.3526, allocations: 12.61 kB / 1.07 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.146e-05/0.3527, allocations: 20.38 kB / 1.07 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004683/0.3532, allocations: 212.6 kB / 1.07 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.3532, allocations: 3.938 kB / 1.07 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.3532, allocations: 7.984 kB / 1.07 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.3533, allocations: 4 kB / 1.07 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003629/0.3536, allocations: 107.8 kB / 1.07 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.3548, allocations: 0.8683 MB / 1.071 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005134/0.3553, allocations: 215.9 kB / 1.071 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.3556, allocations: 74.58 kB / 1.071 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.3556, allocations: 4 kB / 1.071 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000506/0.3561, allocations: 211.8 kB / 1.071 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=23): time 1.623e-06/0.3561, allocations: 0 / 1.071 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23): time 0.0009183/0.357, allocations: 353 kB / 1.072 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.3571, allocations: 118.8 kB / 1.072 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.3574, allocations: 246.4 kB / 1.072 GB, free: 6.73 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/0.3575, allocations: 37.69 kB / 1.072 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.3576, allocations: 140.6 kB / 1.072 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.114e-05/0.3577, allocations: 59.25 kB / 1.072 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.3578, allocations: 78.06 kB / 1.072 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.358, allocations: 334.8 kB / 1.073 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.3582, allocations: 84.75 kB / 1.073 GB, free: 5.984 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000377/0.3586, allocations: 251.1 kB / 1.073 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006099/0.3593, allocations: 388.5 kB / 1.073 GB, free: 5.188 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3593, allocations: 0 / 1.073 GB, free: 5.188 MB / 0.8419 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007469/0.36, allocations: 402.3 kB / 1.074 GB, free: 4.781 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.312e-05/0.3601, allocations: 38.5 kB / 1.074 GB, free: 4.738 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.3601, allocations: 4 kB / 1.074 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.3601, allocations: 12 kB / 1.074 GB, free: 4.723 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.3604, allocations: 67.84 kB / 1.074 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.472e-05/0.3604, allocations: 23.8 kB / 1.074 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000234/0.3606, allocations: 39.67 kB / 1.074 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.3607, allocations: 24 kB / 1.074 GB, free: 4.57 MB / 0.8419 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.0001821/0.3609, allocations: 158.2 kB / 1.074 GB, free: 4.41 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-05/0.3609, allocations: 35.61 kB / 1.074 GB, free: 4.375 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.856e-05/0.361, allocations: 17.72 kB / 1.074 GB, free: 4.355 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.361, allocations: 4 kB / 1.074 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.361, allocations: 3.938 kB / 1.074 GB, free: 4.348 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.361, allocations: 7.984 kB / 1.074 GB, free: 4.34 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/0.3614, allocations: 261.5 kB / 1.074 GB, free: 4.035 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3614, allocations: 3.938 kB / 1.074 GB, free: 4.031 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.3615, allocations: 19.98 kB / 1.074 GB, free: 4.012 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.3615, allocations: 0 / 1.074 GB, free: 4.012 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.3616, allocations: 15.98 kB / 1.074 GB, free: 3.996 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3616, allocations: 256 / 1.074 GB, free: 3.996 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/0.3616, allocations: 7.938 kB / 1.074 GB, free: 3.988 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008774/0.3625, allocations: 418.1 kB / 1.075 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.194e-05/0.3625, allocations: 100.8 kB / 1.075 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.007e-05/0.3626, allocations: 8 kB / 1.075 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001543/0.3628, allocations: 16.39 kB / 1.075 GB, free: 3.414 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.947e-05/0.3629, allocations: 27.91 kB / 1.075 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.3629, allocations: 12 kB / 1.075 GB, free: 3.375 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001617/0.363, allocations: 166 kB / 1.075 GB, free: 3.215 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.793e-06/0.3631, allocations: 3.938 kB / 1.075 GB, free: 3.211 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003931/0.3635, allocations: 87.86 kB / 1.075 GB, free: 3.125 MB / 0.8419 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.0003908/0.3639, allocations: 175.3 kB / 1.075 GB, free: 2.949 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006212/0.3645, allocations: 303.2 kB / 1.076 GB, free: 2.641 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3645, allocations: 0 / 1.076 GB, free: 2.641 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002717/0.3648, allocations: 113.4 kB / 1.076 GB, free: 2.531 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.3652, allocations: 63.69 kB / 1.076 GB, free: 2.473 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.3665, allocations: 0.6889 MB / 1.077 GB, free: 1.738 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.3668, allocations: 0.7446 MB / 1.077 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.859e-05/0.3669, allocations: 31.38 kB / 1.077 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.3669, allocations: 0 / 1.077 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of Templates: time 0.526/0.8929, allocations: 3.823 MB / 1.081 GB, free: 21.36 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches