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.292/2.292, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001012/0.001012, allocations: 184.6 kB / 487.4 MB, free: 5.039 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: 1.043 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.0008986/0.0008986, allocations: 95.77 kB / 0.9219 GB, free: 2.27 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.795e-05/1.79e-05, allocations: 4 kB / 1.067 GB, free: 185.8 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2799, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9031/1.183, allocations: 151.6 MB / 1.354 GB, free: 18.38 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/1.183, allocations: 89.61 kB / 1.354 GB, free: 18.38 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01303/1.196, allocations: 3.451 MB / 1.357 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.703e-06/1.197, allocations: 0 / 1.357 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.915e-06/1.197, allocations: 0 / 1.357 GB, free: 33.84 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.0003193/1.197, allocations: 365.6 kB / 1.358 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/1.197, allocations: 8.188 kB / 1.358 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.035e-05/1.197, allocations: 79.12 kB / 1.358 GB, free: 33.39 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/1.197, allocations: 267.3 kB / 1.358 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.692e-05/1.197, allocations: 154.4 kB / 1.358 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.961e-05/1.197, allocations: 158.5 kB / 1.358 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.085e-05/1.197, allocations: 156.1 kB / 1.359 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.688e-05/1.197, allocations: 101 kB / 1.359 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/1.197, allocations: 75.28 kB / 1.359 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.231e-05/1.198, allocations: 154.5 kB / 1.359 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.127e-05/1.198, allocations: 150.6 kB / 1.359 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/1.198, allocations: 449.6 kB / 1.359 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.187e-05/1.198, allocations: 165.1 kB / 1.36 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.451e-05/1.198, allocations: 83.45 kB / 1.36 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/1.198, allocations: 75.28 kB / 1.36 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/1.198, allocations: 115.4 kB / 1.36 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/1.198, allocations: 0 / 1.36 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.011e-05/1.198, allocations: 33.55 kB / 1.36 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.176e-05/1.198, allocations: 55.28 kB / 1.36 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/1.198, allocations: 116.8 kB / 1.36 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/1.198, allocations: 25.7 kB / 1.36 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.917e-05/1.198, allocations: 97.66 kB / 1.36 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-06/1.198, allocations: 0 / 1.36 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/1.198, allocations: 4 kB / 1.36 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.199, allocations: 312.3 kB / 1.361 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.312e-05/1.199, allocations: 8.891 kB / 1.361 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.079e-05/1.199, allocations: 3.844 kB / 1.361 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/1.199, allocations: 23.53 kB / 1.361 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.199, allocations: 0 / 1.361 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001764/1.199, allocations: 67.12 kB / 1.361 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/1.199, allocations: 9.719 kB / 1.361 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/1.199, allocations: 0.625 kB / 1.361 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/1.199, allocations: 8 kB / 1.361 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.92e-07/1.199, allocations: 0 / 1.361 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/1.199, allocations: 1.594 kB / 1.361 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.25e-05/1.199, allocations: 7.875 kB / 1.361 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/1.199, allocations: 4 kB / 1.361 GB, free: 30.59 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 9.17e-05/1.199, allocations: 176.3 kB / 1.361 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.065e-05/1.199, allocations: 110.7 kB / 1.361 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.363e-05/1.199, allocations: 113.4 kB / 1.361 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.14e-05/1.199, allocations: 196.7 kB / 1.361 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.336e-05/1.199, allocations: 177.8 kB / 1.361 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.807e-05/1.199, allocations: 176.3 kB / 1.362 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/1.2, allocations: 401.5 kB / 1.362 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.744e-05/1.2, allocations: 102.4 kB / 1.362 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.97e-05/1.2, allocations: 105 kB / 1.362 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.134e-05/1.2, allocations: 185.1 kB / 1.362 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.796e-05/1.2, allocations: 181.6 kB / 1.362 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.027e-05/1.2, allocations: 180.2 kB / 1.363 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.684e-05/1.2, allocations: 181.8 kB / 1.363 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/1.2, allocations: 313 kB / 1.363 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.625e-05/1.2, allocations: 185.9 kB / 1.363 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.874e-05/1.2, allocations: 178 kB / 1.363 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/1.2, allocations: 104.9 kB / 1.364 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.341e-05/1.2, allocations: 189.6 kB / 1.364 GB, free: 27.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.602e-05/1.2, allocations: 105.9 kB / 1.364 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.646e-05/1.201, allocations: 93.47 kB / 1.364 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.201, allocations: 0 / 1.364 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002786/1.201, allocations: 41.16 kB / 1.364 GB, free: 27.08 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.0003092/1.201, allocations: 236.2 kB / 1.364 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.698e-05/1.201, allocations: 37.14 kB / 1.364 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/1.201, allocations: 0 / 1.364 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/1.201, allocations: 3.656 kB / 1.364 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/1.202, allocations: 0.5276 MB / 1.365 GB, free: 26.35 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001927/1.202, allocations: 156.9 kB / 1.365 GB, free: 26.19 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/1.202, allocations: 0.688 MB / 1.366 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.266e-05/1.202, allocations: 3.875 kB / 1.366 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.349e-05/1.202, allocations: 7.438 kB / 1.366 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.202, allocations: 0 / 1.366 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of Templates: time 0.003424/1.206, allocations: 1.19 MB / 1.367 GB, free: 25.37 MB / 0.8386 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