Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.279/2.279, allocations: 390.5 MB / 398 MB, free: 10.93 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.001335/0.001335, allocations: 188.7 kB / 491.2 MB, free: 1.547 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.662/1.662, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001018/0.001018, allocations: 106.5 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.356e-05/2.346e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2847, allocations: 143 MB / 1.212 GB, free: 39.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.958/1.243, allocations: 152.4 MB / 1.361 GB, free: 17.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/1.243, allocations: 88 kB / 1.361 GB, free: 17.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01306/1.256, allocations: 3.461 MB / 1.365 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.433e-06/1.256, allocations: 0 / 1.365 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.748e-06/1.256, allocations: 0 / 1.365 GB, free: 33.05 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003302/1.257, allocations: 352.2 kB / 1.365 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/1.257, allocations: 11.53 kB / 1.365 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.274e-05/1.257, allocations: 79.19 kB / 1.365 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/1.257, allocations: 282 kB / 1.365 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/1.257, allocations: 150.6 kB / 1.365 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.912e-05/1.257, allocations: 156 kB / 1.366 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.081e-05/1.257, allocations: 151.1 kB / 1.366 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.276e-05/1.257, allocations: 101 kB / 1.366 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/1.257, allocations: 75.28 kB / 1.366 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-05/1.257, allocations: 158.5 kB / 1.366 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.951e-05/1.257, allocations: 153.9 kB / 1.366 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002694/1.258, allocations: 450.7 kB / 1.367 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.148e-05/1.258, allocations: 169 kB / 1.367 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.625e-05/1.258, allocations: 84.14 kB / 1.367 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/1.258, allocations: 75.28 kB / 1.367 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/1.258, allocations: 107.5 kB / 1.367 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/1.258, allocations: 0 / 1.367 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.14e-05/1.258, allocations: 41.08 kB / 1.367 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.931e-05/1.258, allocations: 51.41 kB / 1.367 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/1.258, allocations: 111.6 kB / 1.367 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/1.258, allocations: 29.7 kB / 1.367 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.469e-05/1.258, allocations: 96.7 kB / 1.367 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/1.258, allocations: 0 / 1.367 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/1.258, allocations: 0 / 1.367 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.681e-05/1.258, allocations: 321 kB / 1.368 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.162e-05/1.258, allocations: 0 / 1.368 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.107e-05/1.258, allocations: 3.844 kB / 1.368 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/1.258, allocations: 26.19 kB / 1.368 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.258, allocations: 0 / 1.368 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001895/1.259, allocations: 73.95 kB / 1.368 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/1.259, allocations: 6.688 kB / 1.368 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/1.259, allocations: 3.938 kB / 1.368 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/1.259, allocations: 7.844 kB / 1.368 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/1.259, allocations: 0 / 1.368 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/1.259, allocations: 0 / 1.368 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.255e-05/1.259, allocations: 3.906 kB / 1.368 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/1.259, allocations: 0 / 1.368 GB, free: 29.81 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 8.13e-05/1.259, allocations: 185.5 kB / 1.368 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/1.259, allocations: 109 kB / 1.368 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.331e-05/1.259, allocations: 117.9 kB / 1.368 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-05/1.259, allocations: 182.5 kB / 1.368 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.39e-05/1.259, allocations: 180.2 kB / 1.369 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.24e-05/1.259, allocations: 181.5 kB / 1.369 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/1.259, allocations: 398.1 kB / 1.369 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.623e-05/1.259, allocations: 106.5 kB / 1.369 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.488e-05/1.259, allocations: 101 kB / 1.369 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.882e-05/1.259, allocations: 180.2 kB / 1.369 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.894e-05/1.259, allocations: 181.6 kB / 1.37 GB, free: 27.85 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.021e-05/1.259, allocations: 180 kB / 1.37 GB, free: 27.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.827e-05/1.259, allocations: 189.6 kB / 1.37 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001217/1.26, allocations: 300.9 kB / 1.37 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.895e-05/1.26, allocations: 194.8 kB / 1.37 GB, free: 26.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.334e-05/1.26, allocations: 177.5 kB / 1.371 GB, free: 26.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.534e-05/1.26, allocations: 108.9 kB / 1.371 GB, free: 26.67 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/1.26, allocations: 181.8 kB / 1.371 GB, free: 26.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.27e-05/1.26, allocations: 105.9 kB / 1.371 GB, free: 26.38 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.548e-05/1.26, allocations: 97.62 kB / 1.371 GB, free: 26.31 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.21e-07/1.26, allocations: 0 / 1.371 GB, free: 26.31 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002856/1.26, allocations: 40.77 kB / 1.371 GB, free: 26.3 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003409/1.261, allocations: 230.6 kB / 1.371 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.816e-05/1.261, allocations: 36.52 kB / 1.371 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.261, allocations: 0 / 1.371 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.765e-06/1.261, allocations: 3.938 kB / 1.371 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/1.261, allocations: 0.5321 MB / 1.372 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001976/1.261, allocations: 153.4 kB / 1.372 GB, free: 25.41 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/1.262, allocations: 0.6846 MB / 1.373 GB, free: 24.71 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.742e-05/1.262, allocations: 7.781 kB / 1.373 GB, free: 24.71 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.341e-05/1.262, allocations: 7.438 kB / 1.373 GB, free: 24.71 MB / 0.8386 GB Notification: Performance of SimCode: time 4.51e-07/1.262, allocations: 4 kB / 1.373 GB, free: 24.7 MB / 0.8386 GB Notification: Performance of Templates: time 0.003704/1.265, allocations: 1.192 MB / 1.374 GB, free: 24.61 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches