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.00101/0.00101, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009375/0.0009375, allocations: 169 kB / 24.28 MB, free: 280 kB / 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.9314/0.9314, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.844/1.844, allocations: 377.8 MB / 0.6239 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 178] 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.493e-06/1.493e-06, allocations: 0 / 0.8116 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.588e-05/1.737e-05, allocations: 2.312 kB / 0.8116 GB, free: 2.004 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.001056/0.001073, allocations: 0.5735 MB / 0.8121 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.002094, allocations: 1.059 MB / 0.8132 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.475e-05/0.002119, allocations: 0 / 0.8132 GB, free: 392 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.792e-05/0.002137, allocations: 3.938 kB / 0.8132 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0005613/0.002698, allocations: 117.2 kB / 0.8133 GB, free: 272 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 2.766e-05/0.002726, allocations: 15.88 kB / 0.8133 GB, free: 256 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.453e-05/0.00277, allocations: 4 kB / 0.8133 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.515e-05/0.002806, allocations: 4.5 kB / 0.8133 GB, free: 248 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.891e-05/0.002835, allocations: 8.828 kB / 0.8133 GB, free: 240 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.003008, allocations: 43.95 kB / 0.8133 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.003018, allocations: 0.625 kB / 0.8133 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.003173, allocations: 103.9 kB / 0.8134 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.065e-05/0.003183, allocations: 9.578 kB / 0.8135 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.77e-05/0.003201, allocations: 0 / 0.8135 GB, free: 84 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.003377, allocations: 119.6 kB / 0.8136 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.00338, allocations: 0 / 0.8136 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.81e-07/0.00338, allocations: 2.562 kB / 0.8136 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.003385, allocations: 0 / 0.8136 GB, free: 15.96 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.0002877/0.003672, allocations: 364.2 kB / 0.8139 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.003707, allocations: 8.031 kB / 0.8139 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.00374, allocations: 0.9375 kB / 0.8139 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.851e-05/0.003819, allocations: 116.9 kB / 0.814 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.003828, allocations: 4.891 kB / 0.814 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-06/0.003837, allocations: 4.375 kB / 0.814 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.47e-05/0.003901, allocations: 26.98 kB / 0.8141 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.003907, allocations: 0.7188 kB / 0.8141 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.003915, allocations: 4.125 kB / 0.8141 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.003922, allocations: 1.625 kB / 0.8141 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.148e-05/0.003934, allocations: 4 kB / 0.8141 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002986/0.004232, allocations: 486.2 kB / 0.8145 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.119e-05/0.004314, allocations: 273.4 kB / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.645e-05/0.00435, allocations: 127.5 kB / 0.8149 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.004374, allocations: 119.9 kB / 0.815 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.004412, allocations: 156.5 kB / 0.8152 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.004413, allocations: 0.6875 kB / 0.8152 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.623e-05/0.004469, allocations: 33.64 kB / 0.8152 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.004518, allocations: 171.6 kB / 0.8154 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.672e-05/0.004605, allocations: 165.9 kB / 0.8155 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.004613, allocations: 27.08 kB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/0.004648, allocations: 130.9 kB / 0.8157 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-06/0.004651, allocations: 3.938 kB / 0.8157 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.189e-05/0.004673, allocations: 15.38 kB / 0.8157 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.314e-05/0.004766, allocations: 0.4901 MB / 0.8162 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.013e-06/0.004773, allocations: 32 / 0.8162 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.919e-06/0.004778, allocations: 0 / 0.8162 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.421e-05/0.004802, allocations: 15.69 kB / 0.8162 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.004803, allocations: 0.8438 kB / 0.8162 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.178e-05/0.004885, allocations: 43.78 kB / 0.8162 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.004896, allocations: 8 kB / 0.8163 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.0049, allocations: 0 / 0.8163 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.004912, allocations: 0 / 0.8163 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.37e-05/0.004926, allocations: 0 / 0.8163 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.004931, allocations: 0 / 0.8163 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.039e-05/0.004941, allocations: 0 / 0.8163 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.706e-06/0.004945, allocations: 2.938 kB / 0.8163 GB, free: 13.01 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 7.179e-05/0.005016, allocations: 279.8 kB / 0.8165 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.081e-05/0.005057, allocations: 152.8 kB / 0.8167 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.159e-05/0.005099, allocations: 156 kB / 0.8168 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.042e-05/0.005149, allocations: 268.1 kB / 0.8171 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.572e-05/0.005205, allocations: 268 kB / 0.8173 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.028e-05/0.005255, allocations: 268.1 kB / 0.8176 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.005399, allocations: 497.3 kB / 0.8181 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.134e-05/0.005431, allocations: 152.8 kB / 0.8182 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.843e-05/0.005459, allocations: 144.9 kB / 0.8183 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.556e-05/0.005515, allocations: 268.6 kB / 0.8186 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.774e-05/0.005572, allocations: 280 kB / 0.8189 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.101e-05/0.005623, allocations: 264.6 kB / 0.8191 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.202e-05/0.005675, allocations: 268 kB / 0.8194 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.005788, allocations: 452.5 kB / 0.8198 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.375e-05/0.005821, allocations: 149.5 kB / 0.82 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.095e-05/0.005882, allocations: 272.2 kB / 0.8202 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.062e-05/0.005933, allocations: 154.2 kB / 0.8204 GB, free: 8.637 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.676e-05/0.00599, allocations: 264.1 kB / 0.8206 GB, free: 8.371 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.006021, allocations: 152.8 kB / 0.8208 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.638e-05/0.006057, allocations: 132.2 kB / 0.8209 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006057, allocations: 0 / 0.8209 GB, free: 8.086 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001911/0.006248, allocations: 23.88 kB / 0.8209 GB, free: 8.062 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.0003432/0.006591, allocations: 297 kB / 0.8212 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.931e-05/0.006651, allocations: 15.56 kB / 0.8212 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.006652, allocations: 0 / 0.8212 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.006653, allocations: 0 / 0.8212 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.006931, allocations: 0.7165 MB / 0.8219 GB, free: 7.043 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003117/0.007243, allocations: 265.6 kB / 0.8222 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.827e-05/0.007271, allocations: 51.36 kB / 0.8222 GB, free: 6.684 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.503e-05/0.007296, allocations: 5.312 kB / 0.8222 GB, free: 6.68 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.00732, allocations: 13.53 kB / 0.8222 GB, free: 6.668 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.00732, allocations: 0 / 0.8222 GB, free: 6.668 MB / 0.7761 GB Notification: Performance of Templates: time 0.002281/0.009601, allocations: 0.8343 MB / 0.823 GB, free: 5.887 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.0288082549814135]