Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.326/1.326, allocations: 251.9 MB / 266.9 MB, free: 11.08 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 177.2 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.4 MB / 0.5775 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008008/0.0008008, allocations: 99.45 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003414, allocations: 12.03 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1823, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1546/0.3369, allocations: 136.6 MB / 1.033 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.3371, allocations: 91.94 kB / 1.034 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01635/0.3535, allocations: 5.342 MB / 1.039 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.126e-06/0.3535, allocations: 4 kB / 1.039 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.3536, allocations: 0 / 1.039 GB, free: 1.684 MB / 0.6823 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.0008709/0.3544, allocations: 0.5919 MB / 1.039 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.3545, allocations: 8.031 kB / 1.039 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.787e-05/0.3546, allocations: 23.72 kB / 1.039 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003835/0.3549, allocations: 301.8 kB / 1.04 GB, free: 0.668 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.355, allocations: 12.23 kB / 1.04 GB, free: 0.6562 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.929e-05/0.355, allocations: 28 kB / 1.04 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004035/0.3554, allocations: 204.3 kB / 1.04 GB, free: 416 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.3555, allocations: 8 kB / 1.04 GB, free: 408 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.3555, allocations: 7.984 kB / 1.04 GB, free: 400 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.3555, allocations: 4 kB / 1.04 GB, free: 396 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000366/0.3559, allocations: 119.8 kB / 1.04 GB, free: 276 kB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.357, allocations: 0.9113 MB / 1.041 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004937/0.3575, allocations: 231.8 kB / 1.041 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.3575, allocations: 7.969 kB / 1.041 GB, free: 15.03 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004193/0.3579, allocations: 215.8 kB / 1.041 GB, free: 14.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 1.593e-06/0.358, allocations: 3.938 kB / 1.041 GB, free: 14.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.0008624/0.3588, allocations: 397.2 kB / 1.042 GB, free: 14.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.522e-05/0.3589, allocations: 118.7 kB / 1.042 GB, free: 14.26 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.3591, allocations: 221.6 kB / 1.042 GB, free: 14.03 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.3592, allocations: 37.7 kB / 1.042 GB, free: 13.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.328e-05/0.3593, allocations: 136.6 kB / 1.042 GB, free: 13.85 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.042e-05/0.3593, allocations: 59.23 kB / 1.042 GB, free: 13.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-05/0.3593, allocations: 8 kB / 1.042 GB, free: 13.78 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3595, allocations: 338.8 kB / 1.043 GB, free: 13.44 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002217/0.3597, allocations: 92.75 kB / 1.043 GB, free: 13.35 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003204/0.36, allocations: 259.8 kB / 1.043 GB, free: 13.01 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.3603, allocations: 141.6 kB / 1.043 GB, free: 12.87 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.3603, allocations: 0 / 1.043 GB, free: 12.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007014/0.361, allocations: 419 kB / 1.044 GB, free: 12.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.3611, allocations: 33.7 kB / 1.044 GB, free: 12.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.3611, allocations: 4 kB / 1.044 GB, free: 12.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.3611, allocations: 16.33 kB / 1.044 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.3613, allocations: 71.83 kB / 1.044 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.3614, allocations: 8 kB / 1.044 GB, free: 12.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.3616, allocations: 48.02 kB / 1.044 GB, free: 12.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.3616, allocations: 31.88 kB / 1.044 GB, free: 12.23 MB / 0.698 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.0001364/0.3618, allocations: 159.9 kB / 1.044 GB, free: 12.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.3618, allocations: 31.72 kB / 1.044 GB, free: 12.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.592e-05/0.3619, allocations: 21.7 kB / 1.044 GB, free: 12.01 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.3619, allocations: 11.95 kB / 1.044 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3619, allocations: 0 / 1.044 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3619, allocations: 0 / 1.044 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.3622, allocations: 277.3 kB / 1.044 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3622, allocations: 0 / 1.044 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.3623, allocations: 23.92 kB / 1.044 GB, free: 11.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.3623, allocations: 4 kB / 1.044 GB, free: 11.65 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.3624, allocations: 11.98 kB / 1.044 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.3624, allocations: 0 / 1.044 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.3624, allocations: 11.95 kB / 1.044 GB, free: 11.63 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008534/0.3633, allocations: 469.2 kB / 1.045 GB, free: 11.14 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.307e-05/0.3633, allocations: 100.8 kB / 1.045 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.865e-05/0.3634, allocations: 15.98 kB / 1.045 GB, free: 11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.3636, allocations: 23.98 kB / 1.045 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.3636, allocations: 19.97 kB / 1.045 GB, free: 10.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-05/0.3637, allocations: 11.98 kB / 1.045 GB, free: 10.95 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001299/0.3638, allocations: 166 kB / 1.045 GB, free: 10.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3638, allocations: 0 / 1.045 GB, free: 10.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003961/0.3642, allocations: 99.77 kB / 1.045 GB, free: 10.69 MB / 0.698 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.0003443/0.3646, allocations: 183.3 kB / 1.045 GB, free: 10.51 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005802/0.3652, allocations: 308.2 kB / 1.046 GB, free: 10.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3652, allocations: 448 / 1.046 GB, free: 10.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002518/0.3654, allocations: 115.8 kB / 1.046 GB, free: 10.08 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.3657, allocations: 56.66 kB / 1.046 GB, free: 10.03 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.3672, allocations: 0.8082 MB / 1.047 GB, free: 9.184 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.3675, allocations: 0.7523 MB / 1.047 GB, free: 8.406 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001468/0.3676, allocations: 50.94 kB / 1.047 GB, free: 8.355 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.079e-05/0.3677, allocations: 23.44 kB / 1.047 GB, free: 8.332 MB / 0.698 GB Notification: Performance of SimCode: time 5.01e-07/0.3677, allocations: 0 / 1.047 GB, free: 8.332 MB / 0.698 GB Notification: Performance of Templates: time 0.006968/0.3747, allocations: 3.638 MB / 1.051 GB, free: 4.77 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches