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.00152/0.00152, allocations: 120 kB / 17.17 MB, free: 5.977 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.00156/0.00156, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.417/1.417, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.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 2.831/2.831, allocations: 0.5003 GB / 0.8026 GB, free: 6.738 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 67.89 kB / 1.165 GB, free: 472 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055/1.057, allocations: 178.9 MB / 1.34 GB, free: 16.27 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.001535/1.058, allocations: 0.5518 MB / 1.341 GB, free: 15.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00109/1.059, allocations: 1.05 MB / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.944e-05/1.059, allocations: 0 / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.179e-05/1.059, allocations: 0 / 1.342 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0007205/1.06, allocations: 129.7 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.362e-05/1.06, allocations: 13.84 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.638e-05/1.06, allocations: 3.703 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.905e-05/1.06, allocations: 2.516 kB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.032e-05/1.06, allocations: 6.594 kB / 1.342 GB, free: 15.08 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/1.06, allocations: 41.44 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.686e-06/1.06, allocations: 4 kB / 1.342 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/1.06, allocations: 118.3 kB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.636e-06/1.06, allocations: 1.562 kB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.712e-05/1.06, allocations: 5.469 kB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001916/1.061, allocations: 104.1 kB / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/1.061, allocations: 1.156 kB / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.212e-06/1.061, allocations: 0 / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.6e-06/1.061, allocations: 0 / 1.342 GB, free: 14.99 MB / 1.061 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.0003045/1.061, allocations: 350.5 kB / 1.342 GB, free: 14.62 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/1.061, allocations: 10 kB / 1.342 GB, free: 14.62 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.207e-05/1.061, allocations: 5.438 kB / 1.342 GB, free: 14.61 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.614e-05/1.061, allocations: 31.41 kB / 1.343 GB, free: 14.57 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.29e-05/1.061, allocations: 1.938 kB / 1.343 GB, free: 14.57 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/1.061, allocations: 165.5 kB / 1.343 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-06/1.061, allocations: 384 / 1.343 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/1.061, allocations: 5.375 kB / 1.343 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.247e-05/1.061, allocations: 32.02 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/1.061, allocations: 0.9688 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-06/1.061, allocations: 4 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/1.061, allocations: 0 / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.566e-05/1.061, allocations: 3.016 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000284/1.062, allocations: 468 kB / 1.343 GB, free: 13.82 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.156e-05/1.062, allocations: 175 kB / 1.343 GB, free: 13.64 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.423e-05/1.062, allocations: 84.14 kB / 1.343 GB, free: 13.56 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/1.062, allocations: 76.08 kB / 1.343 GB, free: 13.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/1.062, allocations: 111.8 kB / 1.344 GB, free: 13.37 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/1.062, allocations: 3.938 kB / 1.344 GB, free: 13.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.095e-05/1.062, allocations: 26.88 kB / 1.344 GB, free: 13.33 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/1.062, allocations: 128.5 kB / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.273e-05/1.062, allocations: 102.4 kB / 1.344 GB, free: 13.09 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.558e-06/1.062, allocations: 33.64 kB / 1.344 GB, free: 13.05 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.029e-05/1.062, allocations: 84.75 kB / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-06/1.062, allocations: 5.938 kB / 1.344 GB, free: 12.96 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/1.062, allocations: 16.36 kB / 1.344 GB, free: 12.95 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.127e-05/1.062, allocations: 315.5 kB / 1.344 GB, free: 12.63 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.296e-06/1.062, allocations: 1.906 kB / 1.344 GB, free: 12.63 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.052e-06/1.062, allocations: 0.7969 kB / 1.344 GB, free: 12.63 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.958e-05/1.062, allocations: 10.92 kB / 1.344 GB, free: 12.62 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/1.062, allocations: 1.812 kB / 1.344 GB, free: 12.62 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.301e-05/1.062, allocations: 32.55 kB / 1.344 GB, free: 12.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/1.062, allocations: 4.688 kB / 1.344 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/1.062, allocations: 0.7969 kB / 1.344 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/1.062, allocations: 1.094 kB / 1.344 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.19e-05/1.062, allocations: 0 / 1.344 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/1.062, allocations: 5.641 kB / 1.344 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.262e-05/1.062, allocations: 0 / 1.344 GB, free: 12.58 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-06/1.062, allocations: 1.031 kB / 1.344 GB, free: 12.58 MB / 1.061 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 4.581e-05/1.062, allocations: 195.6 kB / 1.345 GB, free: 12.38 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/1.062, allocations: 103.6 kB / 1.345 GB, free: 12.28 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.14e-05/1.062, allocations: 106.5 kB / 1.345 GB, free: 12.17 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/1.062, allocations: 180.8 kB / 1.345 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-05/1.062, allocations: 179.3 kB / 1.345 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.633e-05/1.062, allocations: 188.9 kB / 1.345 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/1.062, allocations: 402.9 kB / 1.346 GB, free: 11.17 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/1.062, allocations: 101.6 kB / 1.346 GB, free: 11.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.491e-05/1.062, allocations: 107 kB / 1.346 GB, free: 10.95 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.117e-05/1.063, allocations: 178.3 kB / 1.346 GB, free: 10.77 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/1.063, allocations: 189.3 kB / 1.346 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.16e-05/1.063, allocations: 182.3 kB / 1.346 GB, free: 10.4 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.302e-05/1.063, allocations: 182.7 kB / 1.347 GB, free: 10.21 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.2e-05/1.063, allocations: 305.4 kB / 1.347 GB, free: 9.898 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.186e-05/1.063, allocations: 188.5 kB / 1.347 GB, free: 9.691 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/1.063, allocations: 186.4 kB / 1.347 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.621e-05/1.063, allocations: 109.6 kB / 1.347 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/1.063, allocations: 179 kB / 1.347 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/1.063, allocations: 101.6 kB / 1.348 GB, free: 9.105 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.684e-05/1.063, allocations: 85 kB / 1.348 GB, free: 9.027 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/1.063, allocations: 1.375 kB / 1.348 GB, free: 9.027 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002519/1.063, allocations: 32.52 kB / 1.348 GB, free: 9.016 MB / 1.061 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.0004538/1.064, allocations: 0.8718 MB / 1.349 GB, free: 8.176 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.897e-05/1.064, allocations: 2.109 kB / 1.349 GB, free: 8.176 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/1.064, allocations: 0 / 1.349 GB, free: 8.176 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/1.064, allocations: 1.438 kB / 1.349 GB, free: 8.176 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000251/1.064, allocations: 462.6 kB / 1.349 GB, free: 7.723 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/1.064, allocations: 257.1 kB / 1.349 GB, free: 7.48 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.784e-05/1.064, allocations: 0.6757 MB / 1.35 GB, free: 6.781 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.671e-05/1.064, allocations: 2.344 kB / 1.35 GB, free: 6.781 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.129e-05/1.064, allocations: 12.34 kB / 1.35 GB, free: 6.773 MB / 1.061 GB Notification: Performance of SimCode: time 2.71e-07/1.064, allocations: 4 kB / 1.35 GB, free: 6.77 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01754/1.082, allocations: 1.736 MB / 1.352 GB, free: 6.355 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.033/9.115, allocations: 14.97 kB / 1.352 GB, free: 6.344 MB / 1.061 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.fmu > Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe 2>&1) [Timeout 840.0] 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/jenkins1/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: 15.2779007179779]