Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009544/0.0009544, allocations: 83.59 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009954/0.0009954, allocations: 165 kB / 23.82 MB, free: 0.7461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.956/0.956, allocations: 177.1 MB / 204.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.869/1.869, allocations: 377.9 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa") translateModel(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.761e-05, allocations: 4.703 kB / 0.8116 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.001038/0.001056, allocations: 0.568 MB / 0.8121 GB, free: 1.125 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.002099, allocations: 1.069 MB / 0.8132 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.027e-05/0.002119, allocations: 1.031 kB / 0.8132 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.002136, allocations: 3.938 kB / 0.8132 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0005433/0.002679, allocations: 116.5 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 2.398e-05/0.002703, allocations: 13.56 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 4.392e-05/0.002747, allocations: 7.938 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.516e-05/0.002782, allocations: 7.984 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 2.561e-05/0.002808, allocations: 4 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001592/0.002967, allocations: 41.48 kB / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.002978, allocations: 0 / 0.8134 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001509/0.003129, allocations: 103.9 kB / 0.8135 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.00314, allocations: 7.969 kB / 0.8135 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.781e-05/0.003158, allocations: 9.125 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.003318, allocations: 115.7 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.00332, allocations: 0 / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.21e-07/0.003321, allocations: 0 / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.003325, allocations: 1.594 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002497/0.003575, allocations: 360.2 kB / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.003608, allocations: 8.031 kB / 0.8139 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.003639, allocations: 4.922 kB / 0.8139 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.697e-05/0.003716, allocations: 113.7 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.867e-06/0.003725, allocations: 0.9062 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.003733, allocations: 384 / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.311e-05/0.003796, allocations: 35.86 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.003803, allocations: 192 / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.003812, allocations: 4.125 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.003817, allocations: 0 / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.026e-05/0.003827, allocations: 4.625 kB / 0.8141 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.004137, allocations: 487.1 kB / 0.8146 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.985e-05/0.004207, allocations: 265.4 kB / 0.8148 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.968e-05/0.004236, allocations: 130.9 kB / 0.8149 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.004264, allocations: 128.3 kB / 0.8151 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.39e-05/0.004308, allocations: 156.5 kB / 0.8152 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 5.82e-07/0.004308, allocations: 0 / 0.8152 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.796e-05/0.004366, allocations: 31.08 kB / 0.8152 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.004418, allocations: 170.6 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.963e-05/0.004507, allocations: 169.8 kB / 0.8156 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.004519, allocations: 27.45 kB / 0.8156 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.004562, allocations: 130.9 kB / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.336e-06/0.004566, allocations: 0 / 0.8157 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.004589, allocations: 15.38 kB / 0.8157 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.004703, allocations: 496.1 kB / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-06/0.004711, allocations: 2.125 kB / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.628e-06/0.004716, allocations: 0 / 0.8162 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.619e-05/0.004742, allocations: 23.67 kB / 0.8162 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.004745, allocations: 0 / 0.8162 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.724e-05/0.004832, allocations: 34.17 kB / 0.8163 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.004844, allocations: 6.562 kB / 0.8163 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.00485, allocations: 4 kB / 0.8163 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.004864, allocations: 3.938 kB / 0.8163 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.661e-05/0.00488, allocations: 0 / 0.8163 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.004885, allocations: 0 / 0.8163 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.358e-06/0.004895, allocations: 0 / 0.8163 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.0049, allocations: 0 / 0.8163 GB, free: 12.67 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.245e-05/0.004982, allocations: 281.5 kB / 0.8165 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.005025, allocations: 148.8 kB / 0.8167 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.447e-05/0.005069, allocations: 156 kB / 0.8168 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001175/0.005187, allocations: 268.1 kB / 0.8171 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.151e-05/0.005238, allocations: 264.6 kB / 0.8173 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.483e-05/0.005293, allocations: 276 kB / 0.8176 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.005443, allocations: 492.5 kB / 0.8181 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.039e-05/0.005473, allocations: 154.5 kB / 0.8182 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.072e-05/0.005504, allocations: 148.9 kB / 0.8184 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.259e-05/0.005556, allocations: 268.1 kB / 0.8186 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.617e-05/0.005613, allocations: 276 kB / 0.8189 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.368e-05/0.005666, allocations: 266.7 kB / 0.8191 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-05/0.005716, allocations: 268 kB / 0.8194 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.005824, allocations: 455.9 kB / 0.8198 GB, free: 8.879 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.205e-05/0.005856, allocations: 148.8 kB / 0.82 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.741e-05/0.005914, allocations: 268.5 kB / 0.8202 GB, free: 8.457 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.106e-05/0.005965, allocations: 156.8 kB / 0.8204 GB, free: 8.297 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.772e-05/0.006022, allocations: 272.1 kB / 0.8206 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-05/0.006051, allocations: 150 kB / 0.8208 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.57e-05/0.006087, allocations: 127.1 kB / 0.8209 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006087, allocations: 0 / 0.8209 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001706/0.006257, allocations: 24.78 kB / 0.8209 GB, free: 7.723 MB / 0.7761 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003178/0.006575, allocations: 295.5 kB / 0.8212 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.169e-05/0.006637, allocations: 15.69 kB / 0.8212 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.006638, allocations: 0 / 0.8212 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.262e-06/0.00664, allocations: 0 / 0.8212 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.006919, allocations: 0.709 MB / 0.8219 GB, free: 6.711 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.007265, allocations: 279.4 kB / 0.8222 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.484e-05/0.0073, allocations: 51.36 kB / 0.8222 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.518e-05/0.007325, allocations: 5.812 kB / 0.8222 GB, free: 6.336 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/0.007349, allocations: 9.531 kB / 0.8222 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of SimCode: time 4.91e-07/0.007349, allocations: 1.125 kB / 0.8222 GB, free: 6.328 MB / 0.7761 GB Notification: Performance of Templates: time 0.002563/0.009912, allocations: 0.8242 MB / 0.823 GB, free: 5.555 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.sim & ./Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.29120972706005]