Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001982/0.001982, allocations: 79.2 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002404/0.002404, allocations: 165.9 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.521/1.521, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.017/3.017, allocations: 389 MB / 0.633 GB, free: 1.016 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.733e-05/3.956e-05, allocations: 9.797 kB / 1 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.001903/0.001942, allocations: 0.5501 MB / 1.001 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001674/0.003616, allocations: 1.038 MB / 1.002 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.352e-05/0.00364, allocations: 0 / 1.002 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.926e-05/0.003659, allocations: 4 kB / 1.002 GB, free: 5.652 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0009285/0.004587, allocations: 135.6 kB / 1.002 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 4.055e-05/0.004628, allocations: 8 kB / 1.002 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 5.384e-05/0.004682, allocations: 4 kB / 1.002 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.541e-05/0.004727, allocations: 0 / 1.002 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.874e-05/0.004766, allocations: 4 kB / 1.002 GB, free: 5.504 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000255/0.005021, allocations: 50.14 kB / 1.002 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.005037, allocations: 0 / 1.002 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002529/0.00529, allocations: 115.7 kB / 1.002 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.25e-05/0.005302, allocations: 4 kB / 1.002 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.005329, allocations: 0 / 1.002 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.005595, allocations: 119.8 kB / 1.002 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.005597, allocations: 0 / 1.002 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.012e-06/0.005598, allocations: 0 / 1.002 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.005604, allocations: 0 / 1.002 GB, free: 5.223 MB / 0.9512 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.0004209/0.006025, allocations: 258.2 kB / 1.002 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.006067, allocations: 11.97 kB / 1.002 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.006102, allocations: 0.9375 kB / 1.002 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.006226, allocations: 117.7 kB / 1.003 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.00624, allocations: 8.375 kB / 1.003 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.365e-06/0.006248, allocations: 384 / 1.003 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.006349, allocations: 30.27 kB / 1.003 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.00636, allocations: 192 / 1.003 GB, free: 4.746 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.006375, allocations: 8.125 kB / 1.003 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.006379, allocations: 0 / 1.003 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.993e-05/0.006399, allocations: 3.938 kB / 1.003 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004495/0.006849, allocations: 335.2 kB / 1.003 GB, free: 4.375 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.006956, allocations: 169.1 kB / 1.003 GB, free: 4.199 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.614e-05/0.007012, allocations: 84.14 kB / 1.003 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.986e-05/0.007051, allocations: 79.28 kB / 1.003 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.158e-05/0.007133, allocations: 117.7 kB / 1.003 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.007134, allocations: 3.938 kB / 1.003 GB, free: 3.906 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 8.82e-05/0.007223, allocations: 29.69 kB / 1.003 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.986e-05/0.007322, allocations: 126.7 kB / 1.003 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.007455, allocations: 105.8 kB / 1.004 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.603e-05/0.007481, allocations: 25.7 kB / 1.004 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.007538, allocations: 84.12 kB / 1.004 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.587e-06/0.007542, allocations: 0 / 1.004 GB, free: 3.504 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.007574, allocations: 13.72 kB / 1.004 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.007711, allocations: 310.8 kB / 1.004 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.178e-05/0.007723, allocations: 4 kB / 1.004 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.012e-05/0.007733, allocations: 8 kB / 1.004 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.035e-05/0.007763, allocations: 8.797 kB / 1.004 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.007765, allocations: 0 / 1.004 GB, free: 3.148 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001233/0.007888, allocations: 41.62 kB / 1.004 GB, free: 3.102 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.007903, allocations: 4 kB / 1.004 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.007908, allocations: 0 / 1.004 GB, free: 3.098 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.007927, allocations: 4 kB / 1.004 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.949e-05/0.007947, allocations: 0 / 1.004 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.007952, allocations: 8.094 kB / 1.004 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.433e-05/0.007966, allocations: 0 / 1.004 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.007973, allocations: 0 / 1.004 GB, free: 3.086 MB / 0.9512 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.0001312/0.008104, allocations: 185.6 kB / 1.004 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.313e-05/0.008187, allocations: 116.8 kB / 1.004 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.457e-05/0.008261, allocations: 112.1 kB / 1.004 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.736e-05/0.008359, allocations: 184.2 kB / 1.005 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.473e-05/0.008444, allocations: 176.4 kB / 1.005 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.928e-05/0.008533, allocations: 180.3 kB / 1.005 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.008785, allocations: 360.8 kB / 1.005 GB, free: 1.711 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.53e-05/0.00883, allocations: 105 kB / 1.005 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.084e-05/0.008881, allocations: 108.9 kB / 1.006 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-05/0.008954, allocations: 176.3 kB / 1.006 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.254e-05/0.009036, allocations: 180.2 kB / 1.006 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.465e-05/0.009121, allocations: 192.2 kB / 1.006 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.501e-05/0.009196, allocations: 180.3 kB / 1.006 GB, free: 0.7461 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.009348, allocations: 299.8 kB / 1.007 GB, free: 440 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.1e-05/0.009409, allocations: 109 kB / 1.007 GB, free: 324 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.009511, allocations: 188.1 kB / 1.007 GB, free: 128 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.576e-05/0.009597, allocations: 105 kB / 1.007 GB, free: 16 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.009701, allocations: 184.2 kB / 1.007 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.584e-05/0.009747, allocations: 105 kB / 1.007 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.354e-05/0.0098, allocations: 83.27 kB / 1.007 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.0098, allocations: 0 / 1.007 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002788/0.01008, allocations: 31.81 kB / 1.007 GB, free: 15.61 MB / 0.9669 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.0005104/0.01059, allocations: 235.8 kB / 1.007 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.377e-05/0.01068, allocations: 11.94 kB / 1.008 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01069, allocations: 0 / 1.008 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.01069, allocations: 0 / 1.008 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.01113, allocations: 459.7 kB / 1.008 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005338/0.01166, allocations: 212 kB / 1.008 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.59e-05/0.01173, allocations: 63.28 kB / 1.008 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.135e-05/0.01177, allocations: 8.062 kB / 1.008 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/0.01181, allocations: 12.5 kB / 1.008 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of SimCode: time 3.6e-07/0.01181, allocations: 0 / 1.008 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of Templates: time 0.01267/0.02448, allocations: 0.8229 MB / 1.009 GB, free: 13.79 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.413749787956476]