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.001729/0.001729, allocations: 108.2 kB / 16.45 MB, free: 6.5 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.002201/0.002201, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.508/1.508, allocations: 230.6 MB / 252.8 MB, free: 8.977 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.28/3.28, allocations: 0.49 GB / 0.7916 GB, free: 33.41 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="me",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="me",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.002719/0.002719, allocations: 68.83 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4048, allocations: 176.1 MB / 1.321 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.001748/0.4065, allocations: 0.548 MB / 1.321 GB, free: 2.805 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.408, allocations: 1.043 MB / 1.322 GB, free: 1.746 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.758e-05/0.408, allocations: 4 kB / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.749e-05/0.408, allocations: 0 / 1.322 GB, free: 1.742 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0008281/0.4088, allocations: 127.7 kB / 1.323 GB, free: 1.617 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.439e-05/0.4089, allocations: 15.97 kB / 1.323 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.445e-05/0.4089, allocations: 4 kB / 1.323 GB, free: 1.598 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.121e-05/0.409, allocations: 4 kB / 1.323 GB, free: 1.594 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.879e-05/0.409, allocations: 3.938 kB / 1.323 GB, free: 1.59 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.4092, allocations: 51.89 kB / 1.323 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.949e-06/0.4092, allocations: 0 / 1.323 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.4095, allocations: 119.9 kB / 1.323 GB, free: 1.422 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.949e-06/0.4095, allocations: 4 kB / 1.323 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.856e-05/0.4095, allocations: 0 / 1.323 GB, free: 1.418 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.4097, allocations: 104 kB / 1.323 GB, free: 1.316 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.4097, allocations: 4 kB / 1.323 GB, free: 1.312 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4097, allocations: 0 / 1.323 GB, free: 1.312 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.4097, allocations: 3.938 kB / 1.323 GB, free: 1.309 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.0004198/0.4101, allocations: 335.4 kB / 1.323 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.4102, allocations: 15.92 kB / 1.323 GB, free: 0.918 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.354e-05/0.4102, allocations: 34.73 kB / 1.323 GB, free: 0.875 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.4103, allocations: 8.891 kB / 1.323 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.4104, allocations: 164.4 kB / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.4104, allocations: 384 / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-06/0.4104, allocations: 384 / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.395e-05/0.4105, allocations: 33.64 kB / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.4105, allocations: 0 / 1.323 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.4106, allocations: 4 kB / 1.323 GB, free: 0.625 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.4106, allocations: 0 / 1.323 GB, free: 0.625 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.321e-05/0.4106, allocations: 7.984 kB / 1.323 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004943/0.4111, allocations: 468.5 kB / 1.324 GB, free: 92 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.4112, allocations: 169.2 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.429e-05/0.4112, allocations: 80.14 kB / 1.324 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.619e-05/0.4113, allocations: 75.28 kB / 1.324 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.549e-05/0.4113, allocations: 109.8 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.4113, allocations: 0 / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.275e-05/0.4114, allocations: 33.64 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.049e-05/0.4115, allocations: 134.7 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.4116, allocations: 101.8 kB / 1.325 GB, free: 15.35 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.4116, allocations: 25.7 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.4117, allocations: 88.08 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.927e-06/0.4117, allocations: 8 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.4117, allocations: 9.719 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4118, allocations: 318.8 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.223e-05/0.4118, allocations: 4 kB / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-06/0.4118, allocations: 0 / 1.325 GB, free: 14.88 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.732e-05/0.4119, allocations: 4.859 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.4119, allocations: 4 kB / 1.325 GB, free: 14.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001086/0.412, allocations: 45.66 kB / 1.325 GB, free: 14.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.412, allocations: 4 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.412, allocations: 0 / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.412, allocations: 4 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.102e-05/0.412, allocations: 3.984 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.412, allocations: 0 / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.423e-05/0.4121, allocations: 0 / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.4121, allocations: 0 / 1.325 GB, free: 14.8 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.0001157/0.4122, allocations: 185.1 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.237e-05/0.4122, allocations: 113 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.216e-05/0.4123, allocations: 104.1 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.537e-05/0.4124, allocations: 180.2 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-05/0.4125, allocations: 188.2 kB / 1.326 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.806e-05/0.4125, allocations: 180.2 kB / 1.326 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002616/0.4128, allocations: 409.1 kB / 1.326 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.356e-05/0.4129, allocations: 105 kB / 1.326 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.154e-05/0.4129, allocations: 105 kB / 1.326 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.305e-05/0.413, allocations: 184.2 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.706e-05/0.4131, allocations: 180.5 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.85e-05/0.4132, allocations: 184.2 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.153e-05/0.4132, allocations: 188.3 kB / 1.327 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.4134, allocations: 307.7 kB / 1.327 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.644e-05/0.4135, allocations: 178.1 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.4136, allocations: 184.2 kB / 1.328 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.76e-05/0.4137, allocations: 105 kB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.006e-05/0.4138, allocations: 184.3 kB / 1.328 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/0.4138, allocations: 108.9 kB / 1.328 GB, free: 11.28 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.897e-05/0.4139, allocations: 83.27 kB / 1.328 GB, free: 11.2 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4139, allocations: 0 / 1.328 GB, free: 11.2 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002808/0.4141, allocations: 23.94 kB / 1.328 GB, free: 11.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.0007314/0.4149, allocations: 0.8646 MB / 1.329 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.682e-05/0.415, allocations: 11.94 kB / 1.329 GB, free: 10.28 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.415, allocations: 0 / 1.329 GB, free: 10.28 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.754e-06/0.415, allocations: 4.062 kB / 1.329 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.4154, allocations: 451.7 kB / 1.33 GB, free: 9.828 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000591/0.4159, allocations: 255.4 kB / 1.33 GB, free: 9.539 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.4162, allocations: 0.6805 MB / 1.331 GB, free: 8.832 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.117e-05/0.4163, allocations: 8 kB / 1.331 GB, free: 8.824 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.4163, allocations: 11.38 kB / 1.331 GB, free: 8.812 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4163, allocations: 0 / 1.331 GB, free: 8.812 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.443, allocations: 1.691 MB / 1.332 GB, free: 7.309 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.263/8.706, allocations: 11.59 kB / 1.332 GB, free: 7.301 MB / 1.029 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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: 15.719111106125638]