Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_9_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_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.358/2.358, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001162/0.001162, allocations: 175.3 kB / 498.1 MB, free: 5.762 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.565/1.565, allocations: 223.2 MB / 0.7948 GB, free: 18.93 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.0009745/0.0009743, allocations: 106.4 kB / 0.9346 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003467, allocations: 11.3 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2452, allocations: 142.3 MB / 1.223 GB, free: 89.59 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1779/0.4231, allocations: 152.3 MB / 1.372 GB, free: 1.074 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.4234, allocations: 95.92 kB / 1.372 GB, free: 0.9805 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01347/0.4369, allocations: 3.481 MB / 1.375 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4369, allocations: 0 / 1.375 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.034e-06/0.4369, allocations: 0 / 1.375 GB, free: 13.47 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004202/0.4374, allocations: 383 kB / 1.375 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.4374, allocations: 8.031 kB / 1.375 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.172e-05/0.4375, allocations: 87.12 kB / 1.376 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.4378, allocations: 271.2 kB / 1.376 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.285e-05/0.4378, allocations: 154.6 kB / 1.376 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.086e-05/0.4379, allocations: 154.6 kB / 1.376 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.719e-05/0.438, allocations: 101 kB / 1.376 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/0.438, allocations: 83.2 kB / 1.376 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.674e-05/0.4381, allocations: 154.5 kB / 1.376 GB, free: 12 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.975e-05/0.4381, allocations: 154.6 kB / 1.377 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.284e-05/0.4382, allocations: 154.5 kB / 1.377 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.4386, allocations: 465.9 kB / 1.377 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.395e-05/0.4387, allocations: 173.1 kB / 1.377 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.4387, allocations: 75.28 kB / 1.377 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/0.4388, allocations: 106 kB / 1.378 GB, free: 10.83 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.4388, allocations: 7.938 kB / 1.378 GB, free: 10.82 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 9.013e-05/0.4389, allocations: 41.55 kB / 1.378 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.4389, allocations: 126.7 kB / 1.378 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.4391, allocations: 123 kB / 1.378 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.4391, allocations: 29.7 kB / 1.378 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.4391, allocations: 84.14 kB / 1.378 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-06/0.4391, allocations: 0 / 1.378 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.716e-06/0.4391, allocations: 0 / 1.378 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.4393, allocations: 326.8 kB / 1.378 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.822e-05/0.4393, allocations: 0 / 1.378 GB, free: 10.06 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.507e-05/0.4393, allocations: 8 kB / 1.378 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.501e-05/0.4394, allocations: 7.953 kB / 1.378 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4394, allocations: 0 / 1.378 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001186/0.4395, allocations: 53.53 kB / 1.378 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.4395, allocations: 4 kB / 1.378 GB, free: 9.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.4395, allocations: 4 kB / 1.378 GB, free: 9.977 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.4395, allocations: 0 / 1.378 GB, free: 9.977 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-07/0.4396, allocations: 0 / 1.378 GB, free: 9.977 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.4396, allocations: 4.062 kB / 1.378 GB, free: 9.973 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.11e-05/0.4396, allocations: 4 kB / 1.378 GB, free: 9.969 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.4396, allocations: 4 kB / 1.378 GB, free: 9.965 MB / 0.8855 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 () * Number of clocked 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 0.0001008/0.4397, allocations: 185.8 kB / 1.378 GB, free: 9.773 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.012e-05/0.4398, allocations: 112.9 kB / 1.379 GB, free: 9.656 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.298e-05/0.4398, allocations: 116.6 kB / 1.379 GB, free: 9.535 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.106e-05/0.4399, allocations: 180.3 kB / 1.379 GB, free: 9.352 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.93e-05/0.44, allocations: 184.2 kB / 1.379 GB, free: 9.164 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.618e-05/0.4401, allocations: 176.3 kB / 1.379 GB, free: 8.984 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.4403, allocations: 417.2 kB / 1.38 GB, free: 8.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.602e-05/0.4403, allocations: 108.9 kB / 1.38 GB, free: 8.406 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.197e-05/0.4404, allocations: 101 kB / 1.38 GB, free: 8.301 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.774e-05/0.4405, allocations: 188.2 kB / 1.38 GB, free: 8.109 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.498e-05/0.4405, allocations: 176.3 kB / 1.38 GB, free: 7.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.611e-05/0.4406, allocations: 180.2 kB / 1.38 GB, free: 7.746 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.057e-05/0.4407, allocations: 184.2 kB / 1.381 GB, free: 7.559 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.4408, allocations: 315.6 kB / 1.381 GB, free: 7.227 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.944e-05/0.4409, allocations: 194 kB / 1.381 GB, free: 7.012 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.837e-05/0.441, allocations: 184.2 kB / 1.381 GB, free: 6.824 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.737e-05/0.4411, allocations: 104.9 kB / 1.381 GB, free: 6.715 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.4412, allocations: 176.6 kB / 1.381 GB, free: 6.535 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.2e-05/0.4412, allocations: 104.9 kB / 1.382 GB, free: 6.426 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.161e-05/0.4413, allocations: 108.7 kB / 1.382 GB, free: 6.32 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4413, allocations: 4 kB / 1.382 GB, free: 6.316 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003065/0.4416, allocations: 35.94 kB / 1.382 GB, free: 6.281 MB / 0.8855 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 () * Number of clocked 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.0003227/0.4419, allocations: 234.2 kB / 1.382 GB, free: 6.039 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.963e-05/0.442, allocations: 45.69 kB / 1.382 GB, free: 5.988 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.442, allocations: 0 / 1.382 GB, free: 5.988 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.893e-06/0.442, allocations: 0 / 1.382 GB, free: 5.988 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.4425, allocations: 0.5263 MB / 1.382 GB, free: 5.457 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003156/0.4428, allocations: 247.8 kB / 1.383 GB, free: 5.191 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/0.4431, allocations: 0.6848 MB / 1.383 GB, free: 4.48 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.014e-05/0.4431, allocations: 4.031 kB / 1.383 GB, free: 4.477 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.275e-05/0.4431, allocations: 11.44 kB / 1.383 GB, free: 4.465 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/0.4431, allocations: 4 kB / 1.383 GB, free: 4.461 MB / 0.8855 GB Notification: Performance of Templates: time 0.003571/0.4467, allocations: 1.288 MB / 1.385 GB, free: 3.191 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches