Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.274/2.274, allocations: 390.3 MB / 405.3 MB, free: 13.42 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 184.8 kB / 498.1 MB, free: 5.668 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.712/1.712, allocations: 223.2 MB / 0.7948 GB, free: 17.74 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 96.27 kB / 0.9346 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.000351, allocations: 6.875 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2976, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1984/0.496, allocations: 154.1 MB / 1.373 GB, free: 7.867 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.4963, allocations: 99.88 kB / 1.373 GB, free: 7.77 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01714/0.5134, allocations: 5.455 MB / 1.379 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5135, allocations: 0 / 1.379 GB, free: 2.277 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.5135, allocations: 4 kB / 1.379 GB, free: 2.273 MB / 0.8698 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.001212/0.5147, allocations: 0.5713 MB / 1.379 GB, free: 1.645 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.5148, allocations: 8.031 kB / 1.379 GB, free: 1.637 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.5149, allocations: 39.59 kB / 1.379 GB, free: 1.598 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005449/0.5155, allocations: 294 kB / 1.38 GB, free: 1.27 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.5155, allocations: 16.23 kB / 1.38 GB, free: 1.254 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.883e-05/0.5156, allocations: 27.97 kB / 1.38 GB, free: 1.227 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004888/0.5161, allocations: 216.4 kB / 1.38 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.5161, allocations: 0 / 1.38 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.5162, allocations: 7.984 kB / 1.38 GB, free: 0.9883 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-06/0.5162, allocations: 4 kB / 1.38 GB, free: 0.9844 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003887/0.5166, allocations: 131.8 kB / 1.38 GB, free: 0.8555 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.518, allocations: 0.9152 MB / 1.381 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005238/0.5185, allocations: 231.8 kB / 1.381 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.5186, allocations: 7.953 kB / 1.381 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004779/0.5191, allocations: 205.9 kB / 1.381 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=23): time 2.605e-06/0.5191, allocations: 4 kB / 1.381 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of matching and sorting (n=23): time 0.001007/0.5201, allocations: 389.1 kB / 1.382 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.232e-05/0.5202, allocations: 114.9 kB / 1.382 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.5204, allocations: 221.6 kB / 1.382 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.5205, allocations: 33.7 kB / 1.382 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.5206, allocations: 144.5 kB / 1.382 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.797e-05/0.5207, allocations: 55.27 kB / 1.382 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.605e-05/0.5207, allocations: 12 kB / 1.382 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.5209, allocations: 338.8 kB / 1.383 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.5211, allocations: 88.75 kB / 1.383 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.5214, allocations: 259.1 kB / 1.383 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003075/0.5218, allocations: 153.9 kB / 1.383 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.5218, allocations: 4 kB / 1.383 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007923/0.5226, allocations: 415 kB / 1.383 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.957e-05/0.5226, allocations: 37.66 kB / 1.384 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.5227, allocations: 4 kB / 1.384 GB, free: 12.99 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.416e-05/0.5227, allocations: 12 kB / 1.384 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.5229, allocations: 67.83 kB / 1.384 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/0.523, allocations: 12.47 kB / 1.384 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000273/0.5232, allocations: 51.67 kB / 1.384 GB, free: 12.85 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.5233, allocations: 24 kB / 1.384 GB, free: 12.82 MB / 0.8855 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.0001941/0.5235, allocations: 163.7 kB / 1.384 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.054e-05/0.5235, allocations: 31.56 kB / 1.384 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.928e-05/0.5236, allocations: 33.66 kB / 1.384 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.5236, allocations: 4 kB / 1.384 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.5236, allocations: 0 / 1.384 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.5236, allocations: 4 kB / 1.384 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/0.524, allocations: 265.4 kB / 1.384 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.524, allocations: 3.984 kB / 1.384 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.5241, allocations: 23.98 kB / 1.384 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.5241, allocations: 0 / 1.384 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.5241, allocations: 11.98 kB / 1.384 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.5242, allocations: 7.953 kB / 1.384 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.5242, allocations: 4 kB / 1.384 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009291/0.5251, allocations: 472.4 kB / 1.385 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.304e-05/0.5252, allocations: 104.8 kB / 1.385 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.475e-05/0.5253, allocations: 16 kB / 1.385 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.5255, allocations: 15.98 kB / 1.385 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.099e-05/0.5255, allocations: 23.95 kB / 1.385 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.5256, allocations: 12 kB / 1.385 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001624/0.5257, allocations: 170 kB / 1.385 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.392e-06/0.5257, allocations: 0 / 1.385 GB, free: 11.37 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004809/0.5262, allocations: 91.88 kB / 1.385 GB, free: 11.28 MB / 0.8855 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.0004709/0.5267, allocations: 185.2 kB / 1.385 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006482/0.5274, allocations: 308.3 kB / 1.386 GB, free: 10.79 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5274, allocations: 4.188 kB / 1.386 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002777/0.5277, allocations: 111.9 kB / 1.386 GB, free: 10.67 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.528, allocations: 60.59 kB / 1.386 GB, free: 10.61 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.5298, allocations: 0.8153 MB / 1.387 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.5301, allocations: 0.7446 MB / 1.387 GB, free: 8.996 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001792/0.5303, allocations: 58.81 kB / 1.387 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.749e-05/0.5304, allocations: 27.44 kB / 1.387 GB, free: 8.91 MB / 0.8855 GB Notification: Performance of SimCode: time 4e-07/0.5304, allocations: 0 / 1.387 GB, free: 8.91 MB / 0.8855 GB Notification: Performance of Templates: time 0.00892/0.5393, allocations: 3.629 MB / 1.391 GB, free: 5.352 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches