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.001576/0.001576, allocations: 101.8 kB / 19.73 MB, free: 2.23 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.002047/0.002047, allocations: 217 kB / 23.04 MB, free: 5.074 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.164/3.164, allocations: 0.49 GB / 0.7959 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,fileNamePrefix="Buildings_12_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_12_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.00196/0.00196, allocations: 69.86 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.4039, allocations: 176.1 MB / 1.327 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.001745/0.4056, allocations: 0.558 MB / 1.327 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001365/0.407, allocations: 1.058 MB / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.928e-05/0.407, allocations: 0 / 1.328 GB, free: 368 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.109e-05/0.407, allocations: 3.938 kB / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0007783/0.4078, allocations: 139.7 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.334e-05/0.4078, allocations: 7.984 kB / 1.328 GB, free: 216 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.144e-05/0.4079, allocations: 7.938 kB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.4079, allocations: 0 / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.134e-05/0.408, allocations: 7.938 kB / 1.328 GB, free: 200 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.4082, allocations: 43.95 kB / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.4082, allocations: 4 kB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002076/0.4084, allocations: 119.8 kB / 1.329 GB, free: 32 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.346e-06/0.4084, allocations: 0 / 1.329 GB, free: 32 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.914e-05/0.4084, allocations: 11.98 kB / 1.329 GB, free: 20 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.4086, allocations: 111.9 kB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4086, allocations: 0 / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.714e-06/0.4086, allocations: 0 / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.4086, allocations: 0 / 1.329 GB, free: 15.91 MB / 1.029 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.0003285/0.409, allocations: 258.3 kB / 1.329 GB, free: 15.63 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.409, allocations: 12.03 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.257e-05/0.409, allocations: 192 / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.316e-05/0.4091, allocations: 34.73 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.591e-05/0.4091, allocations: 8.891 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.4092, allocations: 106.5 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-06/0.4092, allocations: 384 / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.4092, allocations: 12.11 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.316e-05/0.4093, allocations: 25.7 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.4093, allocations: 0 / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.4093, allocations: 3.938 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.4093, allocations: 0 / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.948e-05/0.4093, allocations: 4 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.4097, allocations: 370.5 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.499e-05/0.4098, allocations: 165.1 kB / 1.33 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.652e-05/0.4098, allocations: 80.14 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.4098, allocations: 79.22 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.343e-05/0.4099, allocations: 117.8 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.4099, allocations: 3.938 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 6.616e-05/0.41, allocations: 25.7 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.41, allocations: 126.7 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.4101, allocations: 105.8 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.4101, allocations: 25.7 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.807e-05/0.4102, allocations: 84.08 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-06/0.4102, allocations: 4 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.4102, allocations: 17.72 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.4104, allocations: 314.8 kB / 1.331 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.246e-05/0.4104, allocations: 3.984 kB / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.014e-06/0.4104, allocations: 3.938 kB / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.286e-05/0.4104, allocations: 8.859 kB / 1.331 GB, free: 13.76 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4104, allocations: 0 / 1.331 GB, free: 13.76 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.133e-05/0.4105, allocations: 29.77 kB / 1.331 GB, free: 13.72 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.4105, allocations: 13.59 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.4105, allocations: 0 / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.4105, allocations: 0 / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.379e-05/0.4105, allocations: 0 / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.4105, allocations: 0 / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.842e-05/0.4106, allocations: 7.953 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.4106, allocations: 4 kB / 1.331 GB, free: 13.7 MB / 1.029 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.0001021/0.4107, allocations: 189.6 kB / 1.331 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.981e-05/0.4107, allocations: 113 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.421e-05/0.4108, allocations: 108.1 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-05/0.4109, allocations: 180.2 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.887e-05/0.4109, allocations: 180.3 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.085e-05/0.411, allocations: 180.2 kB / 1.332 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.4112, allocations: 380.2 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-05/0.4113, allocations: 105 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.651e-05/0.4113, allocations: 108.9 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-05/0.4114, allocations: 184.3 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.782e-05/0.4115, allocations: 176.5 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.946e-05/0.4116, allocations: 180.2 kB / 1.333 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.591e-05/0.4116, allocations: 184.3 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.4118, allocations: 311.7 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.974e-05/0.4118, allocations: 108.9 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.164e-05/0.4119, allocations: 180.2 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.098e-05/0.412, allocations: 109 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.834e-05/0.4121, allocations: 192.2 kB / 1.334 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.824e-05/0.4121, allocations: 101 kB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.672e-05/0.4122, allocations: 79.47 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4122, allocations: 3.938 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000249/0.4124, allocations: 27.92 kB / 1.334 GB, free: 10.18 MB / 1.029 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.0006717/0.4131, allocations: 0.8629 MB / 1.335 GB, free: 9.297 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.972e-05/0.4132, allocations: 11.98 kB / 1.335 GB, free: 9.285 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4132, allocations: 0 / 1.335 GB, free: 9.285 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.4132, allocations: 4.062 kB / 1.335 GB, free: 9.281 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.4135, allocations: 453.2 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005416/0.4141, allocations: 257.7 kB / 1.335 GB, free: 8.543 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.4143, allocations: 0.6766 MB / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.9e-05/0.4144, allocations: 8 kB / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.4144, allocations: 15.42 kB / 1.336 GB, free: 7.816 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4144, allocations: 0 / 1.336 GB, free: 7.816 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02159/0.436, allocations: 1.794 MB / 1.338 GB, free: 6.211 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.07, allocations: 7 kB / 1.338 GB, free: 6.207 MB / 1.029 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.fmu > Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 18.918116168992128]