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.001423/0.001423, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.00107/0.00107, allocations: 161 kB / 24.16 MB, free: 336 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.9686/0.9686, allocations: 177.1 MB / 204.6 MB, free: 5.234 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.882/1.882, allocations: 377.9 MB / 0.624 GB, free: 8.359 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.683e-06/1.683e-06, allocations: 0 / 0.7601 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.138e-05/3.306e-05, allocations: 3.078 kB / 0.7601 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.002203/0.002236, allocations: 0.626 MB / 0.7607 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.003875, allocations: 1.068 MB / 0.7617 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.603e-05/0.003901, allocations: 0 / 0.7617 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.648e-05/0.003917, allocations: 1.375 kB / 0.7617 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0007266/0.004644, allocations: 108.4 kB / 0.7618 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.763e-05/0.004691, allocations: 11.92 kB / 0.7619 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.521e-05/0.004747, allocations: 4.875 kB / 0.7619 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.819e-05/0.004795, allocations: 4.75 kB / 0.7619 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.841e-05/0.004833, allocations: 4.984 kB / 0.7619 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.005031, allocations: 45.91 kB / 0.7619 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.005051, allocations: 0 / 0.7619 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002711/0.005322, allocations: 117.5 kB / 0.762 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.005338, allocations: 4.656 kB / 0.762 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.898e-05/0.005357, allocations: 0 / 0.762 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.005592, allocations: 122.7 kB / 0.7621 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.005595, allocations: 0 / 0.7621 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.203e-06/0.005596, allocations: 0 / 0.7621 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.005602, allocations: 4 kB / 0.7621 GB, free: 4.465 MB / 0.7136 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.0003248/0.005926, allocations: 234.8 kB / 0.7624 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.005977, allocations: 8.031 kB / 0.7624 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.006008, allocations: 0.9375 kB / 0.7624 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001297/0.006138, allocations: 111 kB / 0.7625 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.006151, allocations: 384 / 0.7625 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-06/0.006158, allocations: 1.688 kB / 0.7625 GB, free: 4.074 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.446e-05/0.006253, allocations: 31.11 kB / 0.7625 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.006266, allocations: 4.125 kB / 0.7625 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.006275, allocations: 4.656 kB / 0.7625 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.006283, allocations: 1.031 kB / 0.7625 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.442e-05/0.006297, allocations: 12 kB / 0.7625 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003542/0.006651, allocations: 290.9 kB / 0.7628 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.308e-05/0.006734, allocations: 170 kB / 0.763 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.577e-05/0.00677, allocations: 80.14 kB / 0.7631 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.006801, allocations: 82.47 kB / 0.7631 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.881e-05/0.00686, allocations: 113.8 kB / 0.7632 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/0.006861, allocations: 0 / 0.7632 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 8.558e-05/0.006947, allocations: 34.83 kB / 0.7633 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/0.007017, allocations: 126.7 kB / 0.7634 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.007133, allocations: 111 kB / 0.7635 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.007145, allocations: 25.7 kB / 0.7635 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.007204, allocations: 84.09 kB / 0.7636 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-06/0.007208, allocations: 0 / 0.7636 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.007244, allocations: 20.73 kB / 0.7636 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.007364, allocations: 314.8 kB / 0.7639 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-06/0.007374, allocations: 0 / 0.7639 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.222e-05/0.007386, allocations: 7.938 kB / 0.7639 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.371e-05/0.00742, allocations: 4.859 kB / 0.7639 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.007423, allocations: 0.875 kB / 0.7639 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001056/0.007529, allocations: 35.19 kB / 0.764 GB, free: 2.453 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.007554, allocations: 9.406 kB / 0.764 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.007563, allocations: 3.938 kB / 0.764 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/0.007585, allocations: 0 / 0.764 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.867e-05/0.007614, allocations: 0.6562 kB / 0.764 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.007618, allocations: 0 / 0.764 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.451e-05/0.007632, allocations: 0.75 kB / 0.764 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.00764, allocations: 0.6562 kB / 0.764 GB, free: 2.441 MB / 0.7136 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 0.0001092/0.007749, allocations: 193.7 kB / 0.7642 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.23e-05/0.007812, allocations: 102.2 kB / 0.7643 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.574e-05/0.007877, allocations: 116.1 kB / 0.7644 GB, free: 2.016 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.399e-05/0.007941, allocations: 180.2 kB / 0.7646 GB, free: 1.832 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.19e-05/0.008003, allocations: 178.9 kB / 0.7647 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.01e-05/0.008063, allocations: 185 kB / 0.7649 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.00825, allocations: 317.4 kB / 0.7652 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.645e-05/0.008286, allocations: 105 kB / 0.7653 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.842e-05/0.008325, allocations: 108.9 kB / 0.7654 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.98e-05/0.008384, allocations: 176.3 kB / 0.7656 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.594e-05/0.00845, allocations: 191.3 kB / 0.7658 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-05/0.008508, allocations: 176.3 kB / 0.7659 GB, free: 364 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.219e-05/0.00857, allocations: 185.1 kB / 0.7661 GB, free: 172 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.008743, allocations: 307.8 kB / 0.7664 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.475e-05/0.008787, allocations: 108.9 kB / 0.7665 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.443e-05/0.008862, allocations: 184.5 kB / 0.7667 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-05/0.008934, allocations: 105 kB / 0.7668 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.608e-05/0.009, allocations: 184.1 kB / 0.767 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/0.009043, allocations: 109 kB / 0.7671 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.036e-05/0.009074, allocations: 9.375 kB / 0.7671 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.009074, allocations: 2.094 kB / 0.7671 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002548/0.009328, allocations: 23.94 kB / 0.7671 GB, free: 15.1 MB / 0.7292 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.0005101/0.009838, allocations: 232.1 kB / 0.7673 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.245e-05/0.009921, allocations: 12.78 kB / 0.7673 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/0.009932, allocations: 8 kB / 0.7673 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.452e-06/0.009933, allocations: 0.6562 kB / 0.7673 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.01025, allocations: 456.7 kB / 0.7678 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005228/0.01077, allocations: 229.1 kB / 0.768 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.766e-05/0.01082, allocations: 60.03 kB / 0.768 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.07e-05/0.01086, allocations: 1.031 kB / 0.768 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.475e-05/0.01091, allocations: 52.88 kB / 0.7681 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of SimCode: time 9.42e-07/0.01092, allocations: 2.062 kB / 0.7681 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of Templates: time 0.004285/0.0152, allocations: 0.9886 MB / 0.7691 GB, free: 13.13 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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.124653920996934]