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.0007612/0.0007612, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009831/0.001744, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001115/0.001115, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001386/0.002501, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9021/0.9021, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09401/0.9961, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.396/2.396, allocations: 446.7 MB / 0.6745 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2502/2.647, allocations: 145.9 MB / 0.817 GB, free: 4.18 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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 1.543e-06/1.543e-06, allocations: 0 / 0.8183 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.265e-05/2.42e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.001639/0.001663, allocations: 0.6258 MB / 0.8189 GB, free: 2.23 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001184/0.002848, allocations: 1.077 MB / 0.82 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.002866, allocations: 0 / 0.82 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.899e-06/0.002871, allocations: 0 / 0.82 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0005927/0.003464, allocations: 111.7 kB / 0.8201 GB, free: 1.027 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 3.809e-05/0.003502, allocations: 8 kB / 0.8201 GB, free: 1.02 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.105e-05/0.003553, allocations: 7.938 kB / 0.8201 GB, free: 1.012 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.003595, allocations: 4 kB / 0.8201 GB, free: 1.008 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.668e-05/0.003641, allocations: 11.98 kB / 0.8201 GB, free: 0.9961 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.003834, allocations: 55.94 kB / 0.8202 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.003845, allocations: 0 / 0.8202 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000222/0.004067, allocations: 119.7 kB / 0.8203 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 8.826e-06/0.004076, allocations: 0 / 0.8203 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.086e-05/0.004087, allocations: 0 / 0.8203 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.004259, allocations: 103.7 kB / 0.8204 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.567e-05/0.004275, allocations: 0 / 0.8204 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.082e-06/0.004276, allocations: 0 / 0.8204 GB, free: 0.7227 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.72e-05/0.004293, allocations: 0 / 0.8204 GB, free: 0.7227 MB / 0.7917 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.0003139/0.004607, allocations: 248.5 kB / 0.8206 GB, free: 468 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 8.027e-05/0.004687, allocations: 12.62 kB / 0.8206 GB, free: 456 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.004713, allocations: 0.9375 kB / 0.8206 GB, free: 456 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.961e-05/0.004803, allocations: 113.7 kB / 0.8207 GB, free: 316 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.004836, allocations: 384 / 0.8207 GB, free: 316 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.612e-06/0.004843, allocations: 384 / 0.8207 GB, free: 316 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.954e-05/0.004912, allocations: 34.27 kB / 0.8208 GB, free: 276 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.303e-06/0.00492, allocations: 192 / 0.8208 GB, free: 276 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.004926, allocations: 4.125 kB / 0.8208 GB, free: 272 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.004931, allocations: 0 / 0.8208 GB, free: 272 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.303e-05/0.004944, allocations: 7.938 kB / 0.8208 GB, free: 264 kB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002867/0.005231, allocations: 294.9 kB / 0.8211 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.364e-05/0.005295, allocations: 169.2 kB / 0.8212 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.19e-05/0.005317, allocations: 80.14 kB / 0.8213 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.005338, allocations: 83.27 kB / 0.8214 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.005376, allocations: 113.8 kB / 0.8215 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.005377, allocations: 0 / 0.8215 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 5.764e-05/0.005435, allocations: 29.64 kB / 0.8215 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.00549, allocations: 126.7 kB / 0.8216 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.007e-05/0.00557, allocations: 106.7 kB / 0.8217 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.00558, allocations: 25.7 kB / 0.8218 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.202e-05/0.005612, allocations: 88.09 kB / 0.8219 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.404e-06/0.005619, allocations: 3.984 kB / 0.8219 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.005649, allocations: 17.75 kB / 0.8219 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.78e-05/0.005726, allocations: 314.8 kB / 0.8222 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-06/0.005736, allocations: 0 / 0.8222 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-06/0.005742, allocations: 0 / 0.8222 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.587e-05/0.005768, allocations: 16.8 kB / 0.8222 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.00577, allocations: 0 / 0.8222 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.86e-05/0.005839, allocations: 29.7 kB / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.005854, allocations: 10.44 kB / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.00586, allocations: 7.938 kB / 0.8222 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.00587, allocations: 0 / 0.8222 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.226e-05/0.005892, allocations: 3.984 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.005895, allocations: 0 / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.538e-05/0.00591, allocations: 3.938 kB / 0.8222 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-06/0.005915, allocations: 0 / 0.8222 GB, free: 14.66 MB / 0.8073 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.0001468/0.006062, allocations: 189.1 kB / 0.8224 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.006105, allocations: 104.9 kB / 0.8225 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.006142, allocations: 108.1 kB / 0.8226 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.132e-05/0.006183, allocations: 192.2 kB / 0.8228 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-05/0.006225, allocations: 176.3 kB / 0.823 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.393e-05/0.006269, allocations: 180.3 kB / 0.8231 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.006421, allocations: 321.4 kB / 0.8235 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.839e-05/0.006449, allocations: 109 kB / 0.8236 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.939e-05/0.006479, allocations: 104.9 kB / 0.8237 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.392e-05/0.006513, allocations: 101 kB / 0.8238 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.624e-05/0.006559, allocations: 180.3 kB / 0.8239 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.57e-05/0.006605, allocations: 180.2 kB / 0.8241 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.046e-05/0.006655, allocations: 184.2 kB / 0.8243 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.645e-05/0.006702, allocations: 184.2 kB / 0.8244 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.006808, allocations: 303.8 kB / 0.8247 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.595e-05/0.006864, allocations: 184.2 kB / 0.8249 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.469e-05/0.006929, allocations: 109 kB / 0.825 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.006981, allocations: 184.5 kB / 0.8252 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.007007, allocations: 101 kB / 0.8253 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.967e-05/0.007026, allocations: 8.859 kB / 0.8253 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.007027, allocations: 0 / 0.8253 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002295/0.007256, allocations: 27.92 kB / 0.8253 GB, free: 11.32 MB / 0.8073 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.0004083/0.007664, allocations: 248 kB / 0.8256 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.995e-05/0.007724, allocations: 8.797 kB / 0.8256 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.007732, allocations: 4 kB / 0.8256 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.92e-07/0.007732, allocations: 0 / 0.8256 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.008127, allocations: 459.7 kB / 0.826 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004872/0.008615, allocations: 232 kB / 0.8262 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.269e-05/0.008647, allocations: 55.3 kB / 0.8263 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.285e-05/0.00868, allocations: 4 kB / 0.8263 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.00872, allocations: 55.31 kB / 0.8263 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of SimCode: time 7.82e-07/0.008721, allocations: 0 / 0.8263 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of Templates: time 0.003046/0.01177, allocations: 0.9942 MB / 0.8273 GB, free: 9.273 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa/Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.ref.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.230375627987087]