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.27/2.27, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001214/0.001214, allocations: 184 kB / 0.4902 GB, free: 2.203 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.52/1.52, allocations: 223.2 MB / 0.7992 GB, free: 15.65 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.0009087/0.0009088, allocations: 88.14 kB / 0.9396 GB, free: 2.812 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003945, allocations: 14.91 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3159, allocations: 143 MB / 1.229 GB, free: 85.45 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2057/0.5216, allocations: 154.9 MB / 1.38 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.522, allocations: 99.94 kB / 1.381 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01678/0.5388, allocations: 5.447 MB / 1.386 GB, free: 4.793 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5388, allocations: 0 / 1.386 GB, free: 4.793 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.349e-05/0.5388, allocations: 4 kB / 1.386 GB, free: 4.789 MB / 0.8855 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.001066/0.5399, allocations: 0.5752 MB / 1.386 GB, free: 4.152 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.5399, allocations: 12.52 kB / 1.386 GB, free: 4.141 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.173e-05/0.54, allocations: 31.67 kB / 1.386 GB, free: 4.109 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004359/0.5405, allocations: 301.9 kB / 1.387 GB, free: 3.777 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.5405, allocations: 16.23 kB / 1.387 GB, free: 3.762 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.36e-05/0.5406, allocations: 19.98 kB / 1.387 GB, free: 3.742 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/0.541, allocations: 220.3 kB / 1.387 GB, free: 3.504 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.541, allocations: 0 / 1.387 GB, free: 3.504 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.5411, allocations: 7.984 kB / 1.387 GB, free: 3.496 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.5411, allocations: 0 / 1.387 GB, free: 3.496 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003775/0.5415, allocations: 135.8 kB / 1.387 GB, free: 3.363 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.5427, allocations: 0.9073 MB / 1.388 GB, free: 2.387 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005094/0.5432, allocations: 235.8 kB / 1.388 GB, free: 2.129 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.5432, allocations: 7.953 kB / 1.388 GB, free: 2.121 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004864/0.5437, allocations: 223.5 kB / 1.388 GB, free: 1.883 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=23): time 1.993e-06/0.5438, allocations: 0 / 1.388 GB, free: 1.883 MB / 0.8855 GB Notification: Performance of matching and sorting (n=23): time 0.000927/0.5447, allocations: 381.1 kB / 1.389 GB, free: 1.504 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/0.5448, allocations: 122.7 kB / 1.389 GB, free: 1.359 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002173/0.545, allocations: 209.7 kB / 1.389 GB, free: 1.145 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.545, allocations: 41.69 kB / 1.389 GB, free: 1.098 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.5452, allocations: 144.5 kB / 1.389 GB, free: 0.9531 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.021e-05/0.5452, allocations: 59.25 kB / 1.389 GB, free: 0.8945 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.414e-05/0.5452, allocations: 8 kB / 1.389 GB, free: 0.8867 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5454, allocations: 338.8 kB / 1.39 GB, free: 0.5469 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.5456, allocations: 88.75 kB / 1.39 GB, free: 468 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/0.5459, allocations: 267.1 kB / 1.39 GB, free: 124 kB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/0.5463, allocations: 137.6 kB / 1.39 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.5463, allocations: 4 kB / 1.39 GB, free: 15.98 MB / 0.9011 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007642/0.5471, allocations: 418.9 kB / 1.391 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.879e-05/0.5471, allocations: 41.59 kB / 1.391 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.5471, allocations: 8 kB / 1.391 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.5472, allocations: 8 kB / 1.391 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.5474, allocations: 71.83 kB / 1.391 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/0.5474, allocations: 16.16 kB / 1.391 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002666/0.5477, allocations: 51.67 kB / 1.391 GB, free: 15.36 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.5477, allocations: 16 kB / 1.391 GB, free: 15.34 MB / 0.9011 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.0001568/0.5479, allocations: 164.9 kB / 1.391 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.548, allocations: 31.56 kB / 1.391 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.345e-05/0.548, allocations: 33.66 kB / 1.391 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.548, allocations: 0 / 1.391 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.548, allocations: 4 kB / 1.391 GB, free: 15.1 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.5481, allocations: 0 / 1.391 GB, free: 15.1 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.5483, allocations: 261.5 kB / 1.391 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.5484, allocations: 3.984 kB / 1.391 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.5485, allocations: 27.98 kB / 1.391 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.5485, allocations: 0 / 1.391 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.5486, allocations: 7.984 kB / 1.391 GB, free: 14.76 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.5486, allocations: 11.95 kB / 1.391 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5486, allocations: 0 / 1.391 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000889/0.5495, allocations: 475.1 kB / 1.392 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 7.9e-05/0.5496, allocations: 108.7 kB / 1.392 GB, free: 14.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.911e-05/0.5496, allocations: 16.28 kB / 1.392 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.5498, allocations: 15.98 kB / 1.392 GB, free: 14.09 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/0.5499, allocations: 23.97 kB / 1.392 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.5499, allocations: 11.98 kB / 1.392 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001401/0.55, allocations: 166 kB / 1.392 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.4e-07/0.55, allocations: 0 / 1.392 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004453/0.5505, allocations: 95.92 kB / 1.392 GB, free: 13.8 MB / 0.9011 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.0004166/0.5509, allocations: 185.5 kB / 1.392 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006175/0.5516, allocations: 308.5 kB / 1.393 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5516, allocations: 8 kB / 1.393 GB, free: 13.29 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002601/0.5518, allocations: 115.9 kB / 1.393 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.5522, allocations: 57.3 kB / 1.393 GB, free: 13.12 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.5537, allocations: 0.8162 MB / 1.394 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.554, allocations: 0.7485 MB / 1.394 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001533/0.5542, allocations: 46.95 kB / 1.394 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.5542, allocations: 27.38 kB / 1.394 GB, free: 11.42 MB / 0.9011 GB Notification: Performance of SimCode: time 2.6e-07/0.5542, allocations: 0 / 1.394 GB, free: 11.42 MB / 0.9011 GB Notification: Performance of Templates: time 0.009621/0.5638, allocations: 3.629 MB / 1.398 GB, free: 7.859 MB / 0.9011 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