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.271/2.271, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001077/0.001077, allocations: 192.2 kB / 487.4 MB, free: 5.031 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.445/1.445, allocations: 221.5 MB / 0.7824 GB, free: 0.9023 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009997/0.0009998, allocations: 97.61 kB / 0.9219 GB, free: 2.145 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.944e-05/1.948e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2636, allocations: 142.4 MB / 1.206 GB, free: 43.92 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9328/1.196, allocations: 153.3 MB / 1.356 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/1.197, allocations: 96.67 kB / 1.356 GB, free: 18.41 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01504/1.212, allocations: 5.434 MB / 1.361 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.847e-06/1.212, allocations: 3.844 kB / 1.361 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.029e-05/1.212, allocations: 3.844 kB / 1.361 GB, free: 33.71 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.0007554/1.213, allocations: 0.5253 MB / 1.362 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/1.213, allocations: 7.812 kB / 1.362 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.724e-05/1.213, allocations: 31 kB / 1.362 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004/1.213, allocations: 307 kB / 1.362 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/1.213, allocations: 10.58 kB / 1.362 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.27e-05/1.213, allocations: 11.56 kB / 1.362 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001691/1.213, allocations: 65.31 kB / 1.362 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/1.214, allocations: 168.3 kB / 1.362 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/1.214, allocations: 0 / 1.362 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/1.214, allocations: 11.05 kB / 1.362 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/1.214, allocations: 7.938 kB / 1.362 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/1.215, allocations: 0.8658 MB / 1.363 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/1.215, allocations: 175.4 kB / 1.363 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.739e-05/1.215, allocations: 58.36 kB / 1.363 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/1.215, allocations: 10.72 kB / 1.363 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002572/1.215, allocations: 179.6 kB / 1.363 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=23): time 1.653e-06/1.215, allocations: 0 / 1.363 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23): time 0.0004908/1.216, allocations: 245.7 kB / 1.364 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/1.216, allocations: 117 kB / 1.364 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/1.216, allocations: 195.4 kB / 1.364 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/1.216, allocations: 40.05 kB / 1.364 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.277e-05/1.216, allocations: 139.4 kB / 1.364 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/1.216, allocations: 64.97 kB / 1.364 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/1.216, allocations: 3.938 kB / 1.364 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.217, allocations: 339.5 kB / 1.365 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.716e-05/1.217, allocations: 51.61 kB / 1.365 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/1.217, allocations: 229.4 kB / 1.365 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/1.217, allocations: 83.03 kB / 1.365 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.217, allocations: 3.844 kB / 1.365 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003768/1.217, allocations: 283.8 kB / 1.365 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/1.217, allocations: 39.42 kB / 1.365 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/1.217, allocations: 3.844 kB / 1.365 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/1.217, allocations: 15.48 kB / 1.365 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/1.218, allocations: 72.73 kB / 1.365 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/1.218, allocations: 11.62 kB / 1.365 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/1.218, allocations: 40.59 kB / 1.365 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/1.218, allocations: 18.94 kB / 1.365 GB, free: 30.92 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 0.000117/1.218, allocations: 132.9 kB / 1.366 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/1.218, allocations: 27 kB / 1.366 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/1.218, allocations: 23.39 kB / 1.366 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/1.218, allocations: 7.812 kB / 1.366 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/1.218, allocations: 3.953 kB / 1.366 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/1.218, allocations: 2.719 kB / 1.366 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/1.218, allocations: 235.6 kB / 1.366 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/1.218, allocations: 4 kB / 1.366 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/1.218, allocations: 24.36 kB / 1.366 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/1.218, allocations: 0 / 1.366 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/1.219, allocations: 10.75 kB / 1.366 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/1.219, allocations: 0 / 1.366 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.219, allocations: 3.875 kB / 1.366 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005095/1.219, allocations: 389.1 kB / 1.366 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.186e-05/1.219, allocations: 106.6 kB / 1.366 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/1.219, allocations: 7.938 kB / 1.366 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/1.219, allocations: 24.28 kB / 1.366 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/1.219, allocations: 25.23 kB / 1.366 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/1.219, allocations: 10.83 kB / 1.366 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001049/1.22, allocations: 152.8 kB / 1.367 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.22, allocations: 0 / 1.367 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003692/1.22, allocations: 82.84 kB / 1.367 GB, free: 30.26 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.0003679/1.22, allocations: 181 kB / 1.367 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000287/1.221, allocations: 237.3 kB / 1.367 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.221, allocations: 3.906 kB / 1.367 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/1.221, allocations: 80.73 kB / 1.367 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/1.221, allocations: 47.41 kB / 1.367 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/1.222, allocations: 0.5898 MB / 1.368 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/1.222, allocations: 0.7482 MB / 1.368 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001283/1.223, allocations: 50.02 kB / 1.368 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/1.223, allocations: 25.88 kB / 1.369 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.223, allocations: 0 / 1.369 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of Templates: time 0.006272/1.229, allocations: 3.437 MB / 1.372 GB, free: 28.8 MB / 0.8386 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