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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.213/2.213, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001387/0.001387, allocations: 183.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.0009528/0.0009529, allocations: 95.89 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.131e-05/3.132e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.2997, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8941/1.194, allocations: 154.8 MB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/1.194, allocations: 97.94 kB / 1.37 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.01591/1.21, allocations: 5.434 MB / 1.375 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.283e-06/1.21, allocations: 0 / 1.375 GB, free: 10.47 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.677e-06/1.21, allocations: 4 kB / 1.375 GB, free: 10.47 MB / 0.8386 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.0007453/1.211, allocations: 0.5289 MB / 1.376 GB, free: 9.898 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/1.211, allocations: 8.031 kB / 1.376 GB, free: 9.891 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.438e-05/1.211, allocations: 35.84 kB / 1.376 GB, free: 9.855 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/1.211, allocations: 291.5 kB / 1.376 GB, free: 9.555 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/1.211, allocations: 14.98 kB / 1.376 GB, free: 9.547 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-05/1.211, allocations: 30.14 kB / 1.376 GB, free: 9.523 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002834/1.212, allocations: 186.3 kB / 1.376 GB, free: 9.352 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/1.212, allocations: 3.984 kB / 1.376 GB, free: 9.348 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/1.212, allocations: 4 kB / 1.376 GB, free: 9.344 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/1.212, allocations: 4 kB / 1.376 GB, free: 9.34 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/1.212, allocations: 75.33 kB / 1.376 GB, free: 9.289 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/1.213, allocations: 0.9145 MB / 1.377 GB, free: 8.379 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002894/1.213, allocations: 184.7 kB / 1.378 GB, free: 8.215 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/1.213, allocations: 75.09 kB / 1.378 GB, free: 8.148 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/1.213, allocations: 0 / 1.378 GB, free: 8.148 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000291/1.214, allocations: 189.2 kB / 1.378 GB, free: 7.973 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=23): time 1.443e-06/1.214, allocations: 0 / 1.378 GB, free: 7.973 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23): time 0.0004576/1.214, allocations: 254.6 kB / 1.378 GB, free: 7.762 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.666e-05/1.214, allocations: 122.3 kB / 1.378 GB, free: 7.621 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/1.214, allocations: 212.1 kB / 1.378 GB, free: 7.438 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/1.215, allocations: 36.89 kB / 1.378 GB, free: 7.402 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.598e-05/1.215, allocations: 143.8 kB / 1.379 GB, free: 7.289 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.742e-05/1.215, allocations: 61.27 kB / 1.379 GB, free: 7.242 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/1.215, allocations: 3.188 kB / 1.379 GB, free: 7.242 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001283/1.215, allocations: 344.9 kB / 1.379 GB, free: 6.91 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/1.215, allocations: 63.62 kB / 1.379 GB, free: 6.863 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/1.215, allocations: 230.1 kB / 1.379 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/1.215, allocations: 119.6 kB / 1.379 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/1.215, allocations: 0 / 1.379 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004785/1.216, allocations: 363 kB / 1.38 GB, free: 6.176 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/1.216, allocations: 37.73 kB / 1.38 GB, free: 6.133 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/1.216, allocations: 8 kB / 1.38 GB, free: 6.125 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/1.216, allocations: 8 kB / 1.38 GB, free: 6.117 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/1.216, allocations: 71.7 kB / 1.38 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/1.216, allocations: 15.94 kB / 1.38 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/1.216, allocations: 42.98 kB / 1.38 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/1.216, allocations: 23.38 kB / 1.38 GB, free: 5.977 MB / 0.8386 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 () * 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 9.842e-05/1.217, allocations: 144.7 kB / 1.38 GB, free: 5.844 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/1.217, allocations: 31.58 kB / 1.38 GB, free: 5.812 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.996e-05/1.217, allocations: 29.02 kB / 1.38 GB, free: 5.789 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/1.217, allocations: 4 kB / 1.38 GB, free: 5.785 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/1.217, allocations: 0 / 1.38 GB, free: 5.785 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/1.217, allocations: 3.938 kB / 1.38 GB, free: 5.781 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/1.217, allocations: 275.6 kB / 1.38 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.217, allocations: 0 / 1.38 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/1.217, allocations: 19.98 kB / 1.38 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/1.217, allocations: 4 kB / 1.38 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/1.217, allocations: 14.5 kB / 1.38 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/1.217, allocations: 0 / 1.38 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.217, allocations: 0 / 1.38 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005445/1.218, allocations: 405 kB / 1.381 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.167e-05/1.218, allocations: 107.8 kB / 1.381 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/1.218, allocations: 7.438 kB / 1.381 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/1.218, allocations: 23.47 kB / 1.381 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.858e-05/1.218, allocations: 27.47 kB / 1.381 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/1.218, allocations: 11.98 kB / 1.381 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001378/1.218, allocations: 164.2 kB / 1.381 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.218, allocations: 0 / 1.381 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004027/1.219, allocations: 89.75 kB / 1.381 GB, free: 4.719 MB / 0.8386 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) * 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.0003587/1.219, allocations: 192.2 kB / 1.381 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003478/1.219, allocations: 255.1 kB / 1.382 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.219, allocations: 64 / 1.382 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/1.22, allocations: 84.75 kB / 1.382 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/1.22, allocations: 61.92 kB / 1.382 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/1.221, allocations: 0.597 MB / 1.382 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/1.221, allocations: 0.7407 MB / 1.383 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001437/1.222, allocations: 58.86 kB / 1.383 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.796e-05/1.222, allocations: 27.44 kB / 1.383 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.222, allocations: 0 / 1.383 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of Templates: time 0.007251/1.229, allocations: 3.664 MB / 1.387 GB, free: 15.2 MB / 0.8542 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","../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches