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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.552/2.552, allocations: 436.5 MB / 0.7104 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003198, allocations: 12 kB / 0.8708 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5873/0.5876, allocations: 153.6 MB / 1.021 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001441/0.5891, allocations: 1.156 MB / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.5902, allocations: 0.7992 MB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.478e-05/0.5903, allocations: 3.938 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.5905, allocations: 31.89 kB / 1.023 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.813e-05/0.5905, allocations: 19.95 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004468/0.5909, allocations: 170.5 kB / 1.023 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.276e-05/0.591, allocations: 39.86 kB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.5911, allocations: 7.984 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.33e-05/0.5911, allocations: 23.92 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.885e-05/0.5912, allocations: 11.94 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.836e-06/0.5912, allocations: 3.938 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/0.5914, allocations: 147.8 kB / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.574e-06/0.5915, allocations: 0 / 1.023 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.5915, allocations: 33.7 kB / 1.023 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.5916, allocations: 85.77 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.5917, allocations: 3.938 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.614e-06/0.5917, allocations: 0 / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.5917, allocations: 3.938 kB / 1.023 GB, free: 14.55 MB / 0.7794 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.0002898/0.592, allocations: 363.1 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.592, allocations: 15.97 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.5921, allocations: 83.19 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.5922, allocations: 250.2 kB / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.568e-05/0.5923, allocations: 150.6 kB / 1.024 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.702e-05/0.5923, allocations: 150.6 kB / 1.024 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.487e-05/0.5924, allocations: 112.9 kB / 1.024 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.5924, allocations: 75.28 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.796e-05/0.5925, allocations: 154.6 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.26e-05/0.5925, allocations: 150.6 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.675e-05/0.5926, allocations: 154.5 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002526/0.5928, allocations: 469.9 kB / 1.025 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.548e-05/0.5929, allocations: 165.1 kB / 1.025 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.5929, allocations: 75.28 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.593, allocations: 109.8 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.593, allocations: 3.938 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.526e-05/0.5931, allocations: 41.56 kB / 1.026 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.5931, allocations: 130.7 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.5932, allocations: 131.9 kB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.5932, allocations: 25.7 kB / 1.026 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/0.5933, allocations: 88.14 kB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.5933, allocations: 0 / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-06/0.5933, allocations: 0 / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.354e-05/0.5934, allocations: 322.8 kB / 1.026 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.894e-05/0.5934, allocations: 4 kB / 1.026 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.085e-05/0.5935, allocations: 4 kB / 1.026 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.301e-05/0.5935, allocations: 8 kB / 1.026 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5935, allocations: 0 / 1.026 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001045/0.5936, allocations: 57.56 kB / 1.026 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.5936, allocations: 4 kB / 1.026 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.5936, allocations: 11.98 kB / 1.026 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.5937, allocations: 3.953 kB / 1.026 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.5937, allocations: 0 / 1.026 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.5937, allocations: 0 / 1.026 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.073e-05/0.5937, allocations: 11.94 kB / 1.026 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.5937, allocations: 4 kB / 1.026 GB, free: 11.06 MB / 0.7794 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 9.343e-05/0.5938, allocations: 185.1 kB / 1.027 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.2e-05/0.5939, allocations: 108.9 kB / 1.027 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.352e-05/0.5939, allocations: 116.8 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.238e-05/0.594, allocations: 184.3 kB / 1.027 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-05/0.5941, allocations: 188.2 kB / 1.027 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.755e-05/0.5942, allocations: 176.3 kB / 1.027 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.5944, allocations: 413.2 kB / 1.028 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.926e-05/0.5945, allocations: 104.9 kB / 1.028 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.097e-05/0.5945, allocations: 101 kB / 1.028 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-05/0.5946, allocations: 188.2 kB / 1.028 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.787e-05/0.5947, allocations: 180.3 kB / 1.028 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.736e-05/0.5947, allocations: 180.4 kB / 1.028 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.519e-05/0.5948, allocations: 180.2 kB / 1.029 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.5949, allocations: 319.7 kB / 1.029 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.48e-05/0.595, allocations: 182.1 kB / 1.029 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.236e-05/0.5951, allocations: 184.2 kB / 1.029 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.586e-05/0.5952, allocations: 105 kB / 1.029 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.063e-05/0.5953, allocations: 176.3 kB / 1.03 GB, free: 7.645 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-05/0.5953, allocations: 116.9 kB / 1.03 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.706e-05/0.5954, allocations: 104.6 kB / 1.03 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5954, allocations: 4 kB / 1.03 GB, free: 7.418 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002899/0.5957, allocations: 31.94 kB / 1.03 GB, free: 7.387 MB / 0.7794 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.0003056/0.596, allocations: 222.5 kB / 1.03 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.179e-05/0.5961, allocations: 29.7 kB / 1.03 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5961, allocations: 4 kB / 1.03 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.5961, allocations: 0 / 1.03 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.5965, allocations: 0.5347 MB / 1.031 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003312/0.5969, allocations: 235.8 kB / 1.031 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.5971, allocations: 0.6887 MB / 1.031 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.403e-05/0.5972, allocations: 4.25 kB / 1.032 GB, free: 5.602 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.334e-05/0.5972, allocations: 7.438 kB / 1.032 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.5972, allocations: 0 / 1.032 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of Templates: time 0.003681/0.6009, allocations: 1.461 MB / 1.033 GB, free: 4.172 MB / 0.7794 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