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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 188 kB / 22.22 MB, free: 5.164 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.362/3.362, allocations: 496 MB / 0.7835 GB, free: 33.74 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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.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 0.00215/0.00215, allocations: 71.5 kB / 1.138 GB, free: 33.82 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.5023/0.5044, allocations: 173.6 MB / 1.307 GB, free: 1.812 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.002171/0.5066, allocations: 0.5645 MB / 1.308 GB, free: 1.25 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.00164/0.5082, allocations: 1.042 MB / 1.309 GB, free: 196 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.836e-05/0.5083, allocations: 0 / 1.309 GB, free: 196 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 1.574e-05/0.5083, allocations: 0 / 1.309 GB, free: 196 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 0.0008922/0.5092, allocations: 135.7 kB / 1.309 GB, free: 60 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 3.692e-05/0.5092, allocations: 7.984 kB / 1.309 GB, free: 52 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 5.862e-05/0.5093, allocations: 8 kB / 1.309 GB, free: 44 kB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.723e-05/0.5093, allocations: 0 / 1.309 GB, free: 44 kB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.543e-05/0.5093, allocations: 7.938 kB / 1.309 GB, free: 36 kB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.5096, allocations: 44 kB / 1.309 GB, free: 15.99 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.5096, allocations: 0 / 1.309 GB, free: 15.99 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002352/0.5099, allocations: 123.8 kB / 1.309 GB, free: 15.87 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.5099, allocations: 3.938 kB / 1.309 GB, free: 15.87 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 2.183e-05/0.5099, allocations: 4 kB / 1.309 GB, free: 15.86 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.5101, allocations: 103.7 kB / 1.309 GB, free: 15.76 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5101, allocations: 3.938 kB / 1.309 GB, free: 15.76 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.863e-06/0.5101, allocations: 0 / 1.309 GB, free: 15.76 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.033e-06/0.5101, allocations: 0 / 1.309 GB, free: 15.76 MB / 1.014 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.0004242/0.5105, allocations: 258.3 kB / 1.31 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.5106, allocations: 20.86 kB / 1.31 GB, free: 15.46 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.5106, allocations: 0.9375 kB / 1.31 GB, free: 15.46 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.5108, allocations: 110.5 kB / 1.31 GB, free: 15.32 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.5108, allocations: 384 / 1.31 GB, free: 15.32 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.186e-06/0.5108, allocations: 384 / 1.31 GB, free: 15.32 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.5109, allocations: 33.83 kB / 1.31 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.5109, allocations: 0 / 1.31 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.5109, allocations: 0 / 1.31 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.5109, allocations: 0 / 1.31 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.861e-05/0.5109, allocations: 0 / 1.31 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000497/0.5114, allocations: 370.5 kB / 1.31 GB, free: 14.88 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.5115, allocations: 173.1 kB / 1.31 GB, free: 14.7 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.819e-05/0.5116, allocations: 80.14 kB / 1.31 GB, free: 14.62 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.466e-05/0.5116, allocations: 75.28 kB / 1.31 GB, free: 14.54 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.462e-05/0.5117, allocations: 109.8 kB / 1.31 GB, free: 14.43 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.5117, allocations: 0 / 1.31 GB, free: 14.43 MB / 1.014 GB
Notification: Performance of matching and sorting (n=0): time 8.912e-05/0.5118, allocations: 33.64 kB / 1.311 GB, free: 14.39 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.097e-05/0.5119, allocations: 134.6 kB / 1.311 GB, free: 14.24 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.512, allocations: 101.8 kB / 1.311 GB, free: 14.13 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.512, allocations: 25.7 kB / 1.311 GB, free: 14.1 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.5121, allocations: 84.08 kB / 1.311 GB, free: 14.02 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.577e-06/0.5121, allocations: 8 kB / 1.311 GB, free: 14.01 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.5121, allocations: 13.72 kB / 1.311 GB, free: 13.99 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001403/0.5122, allocations: 314.8 kB / 1.311 GB, free: 13.67 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.353e-05/0.5122, allocations: 4 kB / 1.311 GB, free: 13.67 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.963e-06/0.5122, allocations: 0 / 1.311 GB, free: 13.67 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 2.9e-05/0.5123, allocations: 4.859 kB / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5123, allocations: 4 kB / 1.311 GB, free: 13.66 MB / 1.014 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001228/0.5124, allocations: 45.69 kB / 1.311 GB, free: 13.61 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.5124, allocations: 4 kB / 1.311 GB, free: 13.6 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.5124, allocations: 4 kB / 1.311 GB, free: 13.6 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.5124, allocations: 4 kB / 1.311 GB, free: 13.59 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.105e-05/0.5125, allocations: 0 / 1.311 GB, free: 13.59 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.5125, allocations: 3.984 kB / 1.311 GB, free: 13.59 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.346e-05/0.5125, allocations: 0 / 1.311 GB, free: 13.59 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.5125, allocations: 0 / 1.311 GB, free: 13.59 MB / 1.014 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.0001264/0.5126, allocations: 193 kB / 1.311 GB, free: 13.39 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.514e-05/0.5127, allocations: 112.9 kB / 1.312 GB, free: 13.27 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.838e-05/0.5128, allocations: 108.2 kB / 1.312 GB, free: 13.16 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-05/0.5129, allocations: 176.3 kB / 1.312 GB, free: 12.98 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.575e-05/0.5129, allocations: 188.2 kB / 1.312 GB, free: 12.79 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.734e-05/0.513, allocations: 176.3 kB / 1.312 GB, free: 12.61 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.5133, allocations: 384.2 kB / 1.313 GB, free: 12.18 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.293e-05/0.5134, allocations: 101 kB / 1.313 GB, free: 12.08 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.191e-05/0.5134, allocations: 105 kB / 1.313 GB, free: 11.97 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001094/0.5135, allocations: 184.2 kB / 1.313 GB, free: 11.78 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.5136, allocations: 176.6 kB / 1.313 GB, free: 11.6 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.084e-05/0.5137, allocations: 184.2 kB / 1.313 GB, free: 11.41 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.561e-05/0.5138, allocations: 184.3 kB / 1.313 GB, free: 11.23 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.514, allocations: 315.7 kB / 1.314 GB, free: 10.89 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.5141, allocations: 105 kB / 1.314 GB, free: 10.79 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.5142, allocations: 184.2 kB / 1.314 GB, free: 10.6 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.627e-05/0.5143, allocations: 105 kB / 1.314 GB, free: 10.49 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.5144, allocations: 184.3 kB / 1.314 GB, free: 10.3 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-05/0.5145, allocations: 108.9 kB / 1.314 GB, free: 10.19 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.183e-05/0.5145, allocations: 79.28 kB / 1.314 GB, free: 10.11 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.5145, allocations: 0 / 1.314 GB, free: 10.11 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002877/0.5148, allocations: 23.94 kB / 1.314 GB, free: 10.09 MB / 1.014 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.0004816/0.5153, allocations: 245.1 kB / 1.315 GB, free: 9.84 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 8.265e-05/0.5154, allocations: 4 kB / 1.315 GB, free: 9.836 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5154, allocations: 0 / 1.315 GB, free: 9.836 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.5154, allocations: 0 / 1.315 GB, free: 9.836 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.5158, allocations: 465.7 kB / 1.315 GB, free: 9.379 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.5163, allocations: 212.1 kB / 1.315 GB, free: 9.145 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.5166, allocations: 0.6729 MB / 1.316 GB, free: 8.445 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 3.679e-05/0.5166, allocations: 8 kB / 1.316 GB, free: 8.438 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.5167, allocations: 7.438 kB / 1.316 GB, free: 8.43 MB / 1.014 GB
Notification: Performance of SimCode: time 3.11e-07/0.5167, allocations: 4 kB / 1.316 GB, free: 8.426 MB / 1.014 GB
Notification: Performance of Templates: time 0.003768/0.5204, allocations: 0.7992 MB / 1.317 GB, free: 7.66 MB / 1.014 GB
"
[Timeout remaining time 299]
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=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe 2>&1) [Timeout 400]
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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 10.32651244290173]